Send MQTT to different topics?
Posted: 19 Mar 2024, 11:23
I have 2 energy-counters with Modbus (Eastron SDM630 and Eastron SDM120) in my garage and want to connect them together in one bus and to one controller (Lolin NodeMcu).
Is it possible to send data to different topics through MQTT from one NodeMcu to the same broker? One topic (for the SDM603) is domoticz/in and the second meter (SDM120M) should send to topic energy/goodwe.
In the software (Build: ESP_Easy_mega_20231130_energy_ESP8266_4M1M Nov 30 2023) I created a second MQTT controller with different topicname but that seems to be not allowed... Error: One one mqtt controller should be active.
Is there a solution for this problem? In tab Devices I can select a controller...
Or build another NodeMcu with another configuration of the topic: energy/goodwe
Is it possible to send data to different topics through MQTT from one NodeMcu to the same broker? One topic (for the SDM603) is domoticz/in and the second meter (SDM120M) should send to topic energy/goodwe.
In the software (Build: ESP_Easy_mega_20231130_energy_ESP8266_4M1M Nov 30 2023) I created a second MQTT controller with different topicname but that seems to be not allowed... Error: One one mqtt controller should be active.
Is there a solution for this problem? In tab Devices I can select a controller...
Or build another NodeMcu with another configuration of the topic: energy/goodwe