Drats, just wrote a rather lengthy post, with some pro's and con's --- but since it had a few links too many, I guess the SPT forum software tossed it into the bit bucket...
In short, local API works pretty well. If you're interested to get stuff from it locally, and know your way around Node-Red, here is a flow to get started using the local API:
(substitute the stuff inside <..> )
gist<dot>github<dot>com<slash>HentschelT<slash>36c <no space here>870ffca2649b5ae8f80f94bb5a5a5
Edit: Missed one thing in that flow: The "wifi status" and "device list" triggers will work out of the box. For the rest you'll have to get the "HardwareAdress" for your device by drilling down into the "device list" response to find DeviceList->Device->HardwareAddress. Copy that number that starts with "0x.." (w/o the quotes) and paste that into the "HardwareAdress" tag in the other nodes that are present....
Cheers,
-Th
In short, local API works pretty well. If you're interested to get stuff from it locally, and know your way around Node-Red, here is a flow to get started using the local API:
(substitute the stuff inside <..> )
gist<dot>github<dot>com<slash>HentschelT<slash>36c <no space here>870ffca2649b5ae8f80f94bb5a5a5
Edit: Missed one thing in that flow: The "wifi status" and "device list" triggers will work out of the box. For the rest you'll have to get the "HardwareAdress" for your device by drilling down into the "device list" response to find DeviceList->Device->HardwareAddress. Copy that number that starts with "0x.." (w/o the quotes) and paste that into the "HardwareAdress" tag in the other nodes that are present....
Cheers,
-Th
Comment