OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Using MQTT to log data Reply To: Using MQTT to log data

#34232

Dan in CA
Participant

Ian,

This is opening up a lot of possibilities. Now that I have looked into Node-red I have a better understanding of what you are doing.

Question: you mention you have been reading “the web api document”. Could you be a bit more specific? I see there is a generic API client node for node-red.

Have you looked at the mobile-app plugin? It has a set of URLs which provide an API for working with the ospi, e.g. [ospi URL]/jn rerutns station information. There is also an API from the built in UI, [ospi URL]/api/status which returns a bunch of status information.

Thanks.

Dan