hass-opensprinkler icon indicating copy to clipboard operation
hass-opensprinkler copied to clipboard

MQTT Support

Open ruimarinho opened this issue 4 years ago • 6 comments

Hi,

Ray just released the new firmware version with support for MQTT. This is a game changer.

For now it’s only reporting state changes, but in the future it will support sending commands as well.

Ideally we would listen to these topics for faster and more reliable state updates.

More information at https://openthings.freshdesk.com/support/solutions/articles/5000859089-how-to-use-mqtt

ruimarinho avatar Jun 19 '20 09:06 ruimarinho

A game changer for sure!

If you can't wait and/or only rely on station or sensor running state changes for automation in HA, you can use the MQTT integration available in HA for now:

https://www.home-assistant.io/integrations/mqtt/ https://www.home-assistant.io/integrations/#search/mqtt

vinteo avatar Jun 19 '20 12:06 vinteo

I just read over the doc and unfortunately the implementation doesn’t fit too well with the http api from what I can tell :(

travisghansen avatar Jun 19 '20 14:06 travisghansen

I can't seem to get the MQTT to work with the HA MQTT addon, anyone got it working? Put in the settings in OS but doesn't seem to send any messages to the broker

vinteo avatar Jun 19 '20 20:06 vinteo

I can't seem to get the MQTT to work with the HA MQTT addon, anyone got it working? Put in the settings in OS but doesn't seem to send any messages to the broker

Works for me. Did you get bitten by this https://github.com/OpenSprinkler/OpenSprinkler-Firmware/pull/140 ?

Nick-Adams-AU avatar Jun 20 '20 06:06 Nick-Adams-AU

Hi, I had the same issue. We identified the problem with OpenSprinkler Team. Please ensure that you get the latest version from GitHub to have MQTT work.

antro31 avatar Jun 20 '20 18:06 antro31

Thanks, it just started to work on its own after a while, probably something stupid i did

vinteo avatar Jun 20 '20 22:06 vinteo