Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT Error at startup of zigbee2mqtt #3451

Closed
SargonofAssyria opened this issue Apr 29, 2020 · 2 comments
Closed

MQTT Error at startup of zigbee2mqtt #3451

SargonofAssyria opened this issue Apr 29, 2020 · 2 comments

Comments

@SargonofAssyria
Copy link

SargonofAssyria commented Apr 29, 2020

The controller is a CC1352P-2, this is the startup info.
info 2020-04-29 19:38:29: Starting zigbee2mqtt version 1.12.2-dev (commit #d8ec59b) info 2020-04-29 19:38:29: Starting zigbee-herdsman... debug 2020-04-29 19:38:29: Using zigbee-herdsman with settings: '{"network":{"panID":xxxx,"extendedPanID":[yyyy],"channelList":[25],"networkKey":"HIDDEN"},"databasePath":"/home/pi/zigbee2mqtt/data/database.db","da tabaseBackupPath":"/home/pi/zigbee2mqtt/data/database.db.backup","backupPath":"/home/pi/zigbee2mqtt/data/coordinator_backup.json","serialPort":{"baudRate":115200,"rtscts":true,"path":"/dev/ttyACM1"},"adapter":{"concurrent":null}}' info 2020-04-29 19:38:31: zigbee-herdsman started

At every startup i get this error.

debug 2020-04-29 19:38:31: Setup reporting for '0x00158d0002b7d689' - 1 - genOnOff
info  2020-04-29 19:38:31: Successfully setup reporting for '0x00158d0002b7d689' - 1 - genOnOff
debug 2020-04-29 19:38:31: Setup reporting for '0x00158d0002b7d689' - 1 - genLevelCtrl
info  2020-04-29 19:38:31: Successfully setup reporting for '0x00158d0002b7d689' - 1 - genLevelCtrl
debug 2020-04-29 19:38:31: Setup reporting for '0x00158d0002b7d689' - 1 - lightingColorCtrl
debug 2020-04-29 19:38:31: Received Zigbee message from 'Overlooplamp', type 'readResponse', cluster 'lightingColorCtrl'
, data '{}' from endpoint 1 with groupID 0
error 2020-04-29 19:38:31: Not connected to MQTT server!
error 2020-04-29 19:38:31: Cannot send message: topic: 'homeassistant/light/0x00158d0002b7d689/light/config', payload: '
{"brightness":true,"color_temp":true,"schema":"json","command_topic":"zigbee2mqtt/Overlooplamp/set","state_topic":"zigbee2mqtt/Overlooplamp","json_attributes_topic":"zigbee2mqtt/Overlooplamp","name":"Overlooplamp_light","unique_id":"0x00158
d0002b7d689_light_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0002b7d689"],"name":"Overlooplamp","sw_vers
ion":"Zigbee2mqtt 1.12.2-dev","model":"Aqara smart LED bulb (ZNLDP12LM)","manufacturer":"Xiaomi"},"availability_topic":"
zigbee2mqtt/bridge/state"}
error 2020-04-29 19:38:31: Not connected to MQTT server!
error 2020-04-29 19:38:31: Cannot send message: topic: 'homeassistant/sensor/0x00158d0002b7d689/linkquality/config', pay
load: '{"icon":"mdi:signal","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}","state_topic":"z
igbee2mqtt/Overlooplamp","json_attributes_topic":"zigbee2mqtt/Overlooplamp","name":"Overlooplamp_linkquality","unique_id
":"0x00158d0002b7d689_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0002b7d689"],"name":"Overlo
oplamp","sw_version":"Zigbee2mqtt 1.12.2-dev","model":"Aqara smart LED bulb (ZNLDP12LM)","manufacturer":"Xiaomi"},"avail
ability_topic":"zigbee2mqtt/bridge/state"}
error 2020-04-29 19:38:31: Failed to setup reporting for '0x00158d0002b7d689' - Error: Read 0x00158d0002b7d689/1 lightin
gColorCtrl(["colorCapabilities"], {"timeout":10000,"manufacturerCode":null,"disableDefaultResponse":true}) failed (Error
: Status 'UNSUPPORTED_ATTRIBUTE')
    at Endpoint.<anonymous> (/home/pi/zigbee2mqtt/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:182:23)
    at Generator.next (<anonymous>)
    at fulfilled (/home/pi/zigbee2mqtt/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:5:58)

It looks like the devices is working properly. Info is send to MQTT before the connection to the local MQTT server was established.
Other same Bulbs do not give this error.

@Koenkk
Copy link
Owner

Koenkk commented Apr 30, 2020

Should be fixed in latest dev branch (for hassio edge wait 4 hours before updating).

@SargonofAssyria
Copy link
Author

SargonofAssyria commented May 1, 2020

Tnx, that's solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants