Hi there!
I am new to this forum. Also I am relatively new to FHEM. So please execuse me for asking obvious questions.
Some time back, i was looking for a way to control my Eltako dimmers via MQTT.
I ended up implemented FHEM. I have a TCM_ESP3_0 connected to my Raspberry Pi3.
So far, i managed to get it all working, however currently i am totally stuck. No idea how to resolve it, hence asking the community for help!
Help is appreciated in advance! ;)
When looking at the readings of one of my gateways, i see: block, dim, dimValueLast, dimValueStored, ramptime, state.
They all represent the correct live values (see attachment readings.PNG). So far, so good.
At this point, i am only interested in the following two readings: DIM and STATE.
On the bridge, i am perfectly able to publish the DIM value with attribute publishReading_dim to MQTT topic: /service/fhem/gw_keukenkoof/dim. This Works like a charm!
However, somehow the STATE value is not getting published to /service/fhem/gw_keukenkoof/state via the publishReading_state attribute (see attachment bridge_attributes.PNG). I am not sure what I am missing. It seems pretty straight forward.
I hope that someone can give me a push in the right direction.
Thanks.
The MQTT_BRIDGE module is ignoring the state Reading, and as far as I see there is no attribute to enable it.
The MQTT_GENERIC_BRIDGE module is always considering state, and can be used a replacement.
Note: The MQTT, MQTT_DEVICE and MQTT_BRIDGE modules are less supported than their newer counterparts, the MQTT2* and MQTT_GENERIC_BRIDGE modules. Please consider changing your setup to these newer modules.
Thanks Rudolf.
I will consider migrating to MQTT2*.
Meanwhile i found out that there is an publishState attribute that works perfectly fine, so MQTT_BRIDGE is supporting it
Thanks!