Last active
January 29, 2018 15:44
-
-
Save naqi/88477e0b45cda4e8e14afba30265056e to your computer and use it in GitHub Desktop.
Zilker Cloud to bridge proposal
This file contains 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
Charator count: 778 | |
{ | |
"token":"afsadfasf", | |
"bridge": { | |
"id":"10", | |
"pairing":0, | |
"serial":"5551212", | |
"error":0, | |
"fwVer":"100100", | |
"rfConfig":"US/Europe", | |
"bItv":60 | |
}, | |
"valves": [ | |
{"id":"0", "serial":"1112223", "statusCode":200,"temp": 765, "open":0, "flow":0, "bat":67, "fwVer": "100010", "pulses":1001, "rssi":"-63"}, | |
{"id":"1", "serial":"1112224", "statusCode":400,"temp": 765, "open":1, "flow":126, "bat":67, "fwVer": "100010", "pulses":1002, "rssi":"-62"}, | |
{"id":"2", "serial":"1112225", "statusCode":500,"temp": 765, "open":1, "flow":155, "bat":6, "fwVer": "100010", "pulses":1003, "rssi":"-60"}, | |
{"id":"3", "serial":"1112226", "statusCode":408,"temp": 765, "open":0, "flow":0, "bat":67, "fwVer": "100010", "pulses":1004, "rssi":"2"} | |
], | |
"event":{ | |
"current":32453, //only send when current is in progress | |
"next":32455 //only send when current has finished | |
} | |
} |
This file contains 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
{ | |
"token":"afsadfasf", | |
"packet":100, | |
"updtBr":1 | |
} |
This file contains 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
Charator count: 460 | |
{ | |
"bItv":30, | |
"pairing":0, //boolean to turn on/off pairing mode of bridge | |
"updtBr":1, | |
"hexFile":"P1441_20171109.140521_49123D9E.hex", | |
"event":{ //this will be sent when bridge_to_cloud includes event.next | |
"current":{"eventID":32453,"valveID":"1","volume":0, "duration":3600, "c1":123123, "c2":2313123}, | |
"next":32454 | |
}, | |
"valves":[ | |
{"id":"0", "update":0,"vItv":240, "deleted": 0 }, | |
{"id":"1", "update":1,"vItv":60, "deleted": 0}, | |
{"id":"2", "update":0,"vItv":240, "deleted": 1}, | |
{"id":"3", "update":0,"vItv":240, "deleted": 1}, | |
{"id":"4", "update":1,"vItv":60, "deleted": 1}, | |
{"id":"5", "update":0,"vItv":240, "deleted": 0}, | |
{"id":"6", "update":0,"vItv":60, "deleted": 1}, | |
{"id":"7", "update":0,"vItv":240, "deleted": 0} | |
] | |
} |
This file contains 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
{ | |
"data":"", | |
"packet":1 | |
} |
This file contains 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
{ | |
"ssid":"WIFI SSID", | |
"password":"WIFIPASSWD", | |
"bridgeName":"name for bridge", | |
"bridgeID": 1231244, | |
"apiToken":"xxxxxxxxxxxxx" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment