Hi everyone,
I’m currently working on a small setup using the Smart Energy Box (SEB) . The goal is to forward data collected from a Raspberry Pi sensor (temperature and humidity), which is sent via Modbus TCP to the SEB, and then publish it via MQTT so that it can be visualized later in InfluxDB and Grafana.
Here’s my current setup:
- Raspberry Pi with sensor (connected and sending data via Modbus TCP)
- SEB receives data using IP-Symcon (I see values correctly under the Modbus Gateway)
- IP-Symcon is set up as an MQTT Broker
- I can connect successfully with MQTT Explorer to the broker and subscribe to topics (like
seb/temperature
), but nothing is being published - I created a MQTT Server Device and set the topic (e.g.
seb/temperature
) and variable type, but it doesn’t seem to publish anything even when I link or copy variables like Temperature and Humidity to it - I also tried using
RequestAction(ID, value)
with the MQTT Server Device’s variable ID, but it throws an error or doesn’t reflect as published on the subscribed client
My question:
How exactly can I publish the temperature and humidity values coming from Modbus into a topic using the MQTT Server Device?
- Do I need a separate script to push values into the MQTT Server Device manually?
- Is linking or copying variables into the device sufficient (as it doesn’t seem to work)?
- Is there a recommended workflow to forward real-time Modbus values from IP-Symcon to MQTT topics?
Thanks in advance!