Zigbee2mqtt: Error reporting in MQTT message

Created on 19 Feb 2019  路  4Comments  路  Source: Koenkk/zigbee2mqtt

Hi,

is it possible to report error from devices within the MQTT message? For example if the server responds with "Mac no ack" while trying to switch a device?

If so, my home automation can trigger on that and report the issue to me or try to switch on/off again.

Most helpful comment

Implemented, example of the message published to MQTT: https://hastebin.com/lakubupume.apache

All 4 comments

Great idea! Would be very helpful. Not sure if it's better to have this on a per-device basis or globally. For my use-case it would be better to have an error message in the log subtree rather than having one additional error attribute for each device (as I would have to configure my home automation system to watch for ALL of them).

Implemented, example of the message published to MQTT: https://hastebin.com/lakubupume.apache

Looks good, will use that in my smart home setup. Thanks for this rapid implementation!

Great! Awesome fast Implementation.

Now I only need to get the dev tree up and running on my environment :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Courty40 picture Courty40  路  4Comments

jeroenterheerdt picture jeroenterheerdt  路  3Comments

Koenkk picture Koenkk  路  3Comments

alwashe picture alwashe  路  4Comments

mpuff picture mpuff  路  4Comments