zigbee.mqtt.device_get not working #57

Closed
opened 2022-07-05 01:38:44 +02:00 by blacklight · 0 comments
Owner

Created by: ChrisDodgeRR

When using this action, I always get a timeout error returned from Platypush: 'timeout of 60000ms exceeded'.

Looking at the zigbee.mqtt plugin, I think the issue is that the mqtt publish call sends an empty message (lines 336 & 337):

properties = self.publish(topic=self._topic(device + '/get'),
                                  reply_topic=self._topic(device), msg='', **self._mqtt_args(**kwargs)).output

It works if I change it to:

properties = self.publish(topic=self._topic(device + '/get'),
                                  reply_topic=self._topic(device),
                                  msg={property: ""}, **self._mqtt_args(**kwargs)).output

The comments for this function also say that the property argument default is 'all', however this doesn't seem to work (i.e. timeout), unless that's an issue with zigbee2mqtt and Philips Hue lamps?

Thanks,

Chris

*Created by: ChrisDodgeRR* When using this action, I always get a timeout error returned from Platypush: 'timeout of 60000ms exceeded'. Looking at the zigbee.mqtt plugin, I think the issue is that the mqtt publish call sends an empty message (lines 336 & 337): ``` properties = self.publish(topic=self._topic(device + '/get'), reply_topic=self._topic(device), msg='', **self._mqtt_args(**kwargs)).output ``` It works if I change it to: ``` properties = self.publish(topic=self._topic(device + '/get'), reply_topic=self._topic(device), msg={property: ""}, **self._mqtt_args(**kwargs)).output ``` The comments for this function also say that the property argument default is 'all', however this doesn't seem to work (i.e. timeout), unless that's an issue with zigbee2mqtt and Philips Hue lamps? Thanks, Chris
blacklight added the
bug
in progress
labels 2022-07-05 01:38:44 +02:00
blacklight self-assigned this 2022-07-05 01:38:44 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: platypush/platypush#57
No description provided.