the difference between your system and mine is that you have a shunt instead of my BMV712.
anyway, I hope I will solve the issue separing the gnd, using optocoupler based system
And now (as usual) I need help
What do you think about this schematic ?
Moderators: grovkillen, Stuntteam, TD-er
the difference between your system and mine is that you have a shunt instead of my BMV712.
Good luck to Ath...TD-er wrote: ↑05 Dec 2024, 11:02 What you're looking for is not yet implemented in ESPEasy and it's called "MQTT Auto Discovery"
Ton is looking into it as it really makes things a lot easier to add things to HA.
I know there are users who managed to publish the right topics to the MQTT broker to make HA work with ESPEasy, but it is quite a hassle as you may need to send some messages via rules and do have to manually setup quite a lot to get it working.
Code: Select all
mqtt:
sensor:
- name: "Humidity"
unit_of_measurement: '%'
device_class: humidity
state_topic: "home/ESPname/HTU/Humidity"
- name: "Temperature"
unit_of_measurement: '°C'
device_class: temperature
state_topic: "home/ESPname/HTU/Temperature"
senzor failure, temperature measurement is down, humidity works
There are ControllerEnable and ControllerDisable commands, that take a numeric parameter 1..3 for the involved controller.
AFAICS, the MQTT Controllers don't unsubscribe from the "Controller Subscribe" topic the when the controller is disabled (been digging in the MQTT code a lot recently ), so they may still receive and process 'stuff' from the server, that is then handled by the active controller...bonti69 wrote: ↑05 Dec 2024, 18:49 I noticed that, if the device has two mqtt controllers defined, the device connects to both of them, but publish sensor data only to one. Meantime , accept commands from the disabled mqtt. Interesting... maybe some rule to enable /disable mqtt1 and mqtt2 alternatively ,
A better scenario would probably be that when you enable each controller you also TaskRun all the tasks that send data to that controller, and either disable the Interval (if the plugin allows that) or set it to a very high value, so it won't be triggered too often
OTOH, what you seem to ask is how to relay data from one MQTT broker to another.
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests