Zwave sensor value to Zabbix via MQTT

Hello,

I have few Zwave sensors reporting temperature in the house. I would like to record these in a Zabbix server. The zabbix server can read data from the mqtt server (mosquitto).

Can a rule be defined that pushes the Zwave sensor value to an mqtt topic?

Thanks

You probably don’t even need a rule. You can configure the mqtt binding so any time the Item changes state it publishes that change to the configured topic. See the following to get started.

How do i link Zwave/Zigbee state to MQTT?

e.g.
My Zigbee sensor is like so,

Number mo_MasterRoom_temperature "Temperature [%.1f]" <temperature> (gMasterRoom) {channel="zigbee:device:blah:sensor_temperature"}

and my MQTT binding is like so,

Number Temp_MasterRoom "Temperature sensor" {mqtt=">[mosquitto:cmnd/mysensor/Temperature:command:*:default]" }

How do i connect the two?

Put the mqtt binding config on the zwave/zigbee linked items too. Then change from command to state.

 Number mo_MasterRoom_temperature "Temperature [%.1f]" <temperature> (gMasterRoom) {channel="zigbee:device:blah:sensor_temperature", mqtt=">[mosquitto:cmnd/mysensor/Temperature:state:*:default]" }