Replies: 5 comments
-
You can easily do with automations this if your state relays are also in Home Assistant. |
Beta Was this translation helpful? Give feedback.
-
My goal is to make most of the communication directly in hardware without a additional server between the components. It should work even when my server is not working... |
Beta Was this translation helpful? Give feedback.
-
Okay, i tested something... I changed the code and now i'm able to switch 4 relays on and off via mqtt, so the relay board is working. Now i must understand how you query the values, then i need to compare the values and if the value has the required content then a relay should change his state.... This i must place somewhere in the loop. So a litte bit more testing and learning... :-) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Okay i'm finished, i have changed a few things, i used now TinyMQTT to have an internal MQTT broker. I decided to do this, to be independed from other servers or external services. Now only when there is no WLAN the unit will not work. It is bad, when i want to control things and it can't work only because the linux server with the MQTT broker isn't available. I'm very happy with that. :-) |
Beta Was this translation helpful? Give feedback.
-
Hi,
i'm using this solution now for some time and it woks very well.
We have here a different heat control unit and it will be great when i can control that with a relay output of the ESP32.
I need to relay outputs to get this states:
"Defrost Operation" ON/OFF
"Operation Mode" When set to cooling reais output -> ON
"Space heating Operation ON/OFF" ON/OFF
Is this easy to program? Or can someone help me to get the right direction?
The reason is, i have state inputs on the other control unit and it will be perfect when i can control that direct. At the moment i query them and set them via script. Perfect will be without this script...
Kind regards
Stefan
Beta Was this translation helpful? Give feedback.
All reactions