Alexwijn / SAT

The Smart Autotune Thermostat (SAT) is a custom component for Home Assistant that works with an OpenTherm Gateway (OTGW).
GNU General Public License v3.0
43 stars 8 forks source link

Unable to setup MQTT #31

Open hhoef opened 5 months ago

hhoef commented 5 months ago

I have OTmonitor publishing to /events/central_heating/otmonitor.

When I try to setup SAT with MQTT gateway and I use otmonitor for the "top topic" I get "No matching devices fount" when selecting "Device".

HA core: 2024.1.2 HA superviser: 2023.12.0 OS: 11.3 Frontend: 20240104.0
SAT version: 3.0.1 installed through: HACS

Alexwijn commented 5 months ago

You have to setup the MQTT integration and it has to find the device, so you can select it.

hhoef commented 5 months ago

I did have MQTT setup in the integration.

Alexwijn commented 5 months ago

Alright, did it detected the OTGW device?

Alexwijn commented 5 months ago

I think I misread the first message. Do you use the Wi-Fi or the Ethernet version of OTGW?

hhoef commented 5 months ago

I use the otgw hardware from https://otgw.tclcode.com/. The gateway is connected via serial to a RPI that runs otmonitor (https://otgw.tclcode.com/otmonitor.html#configuration). Otmonitor is configured to use MQTT for publishing it's data. HA runs on a different computer and I installed mosquitto MQTT integration on it. In configuration.yaml I added: mqtt: sensor:

So I can view Opentherm data on a dashboard.

Hope this will clarify my setup.

Alexwijn commented 5 months ago

Unfortunately that isn't supported. This component is designed to work together with the MQTT variant of: https://github.com/rvdbreemen/OTGW-firmware.

You can try serial connection route though, although not recommended.

hhoef commented 5 months ago

Maybe I can make a mqtt translation? What mqtt structure is SAT expecting?

Groetjes uit Delft

Alexwijn commented 5 months ago

There would be a lot of things you would need to expose, and it also needs the ability to send commands, otherwise it can't change the setpoint for example.

sergeantd83 commented 5 months ago

Or you can create a new connection type that will connect to OTGW through OTMonitor. You can have the mqtt connection as example.