On HomeBridge, they have a web-sprinkler node which reads a /status endpoint, and then expect this api endpoint https://www.npmjs.com/package/homebridg ... nterfacing to send back the following information (from the espeasy endpoint /status - to the requestor) - about the status of the sprinkler valves, which will be gpios:
Code: Select all
[
{
"zone": 1,
"state": 0
},
{
"zone": 2,
"state": 0
},
{
"zone": 3,
"state": 0
},
...
]