Created
November 22, 2016 04:26
-
-
Save xtacocorex/f1c64f957a25b62bff181a36caee6289 to your computer and use it in GitHub Desktop.
WebControl config.cfg as JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
“username” : “myuser”, | |
“password” : “pass”, | |
“secretkey" : “keepitsecret”, | |
“devices” : | |
[ | |
{“pin” : “XIO-P0”, “name” : “Light 1”, “state” : true, “time on” : 20, “time off” : 4, “timer” : “on”}, | |
{“pin” : “XIO-P2”, “name” : “Pump 1”, “state” : true, “time on” : 12, “time off” : 12, “timer” : “off”}, | |
{“pin” : “XIO-P4”, “name” : “Fan 1”, “state” : true, “time on” : 12, “time off” : 12, “timer” : “off”}, | |
{“pin” : “XIO-P6”, “name” : “Random 1”, “state” : true, “time on” : 12, “time off” : 12, “timer” : “off”} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment