Exporting Data From Sensor to External Device Using MQTT

HOME ASSISTANT and MQTT

Hello everyone,

I am trying to use Home Assistant to send data via MQTT to another system.

I have a sensor (sensor.envoy_122034008745_current_power_production) and want to publish the value for that sensor.

I have tried publishing it (see attached screenshot) but get the text (“sensor.envoy_122034008745_current_power_production”), not the value (ie, 1734.5).

Any suggestions?

Set ‘Allow template’ to on and publish

{{ states('sensor.envoy_122034008745_current_power_production') }}

And welcome to HA! :slightly_smiling_face:

IT WORKS!!!

Thank you, VDRainer!

@dukbilt

Did you use the MQTT data on a Victron device? I’m trying to get my Enphase system as a pv system and I am curious if you did the same.