zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Unknown zigbee publish cmdType undefined

Open dgreebe opened this issue 7 years ago • 5 comments

Bug Report

What happened

When I have my ikea-bulbs connect with MQTT, I want to send a command by HomeAssistant (has auto discovered enabled) to the lights but nothing is happening and I get errors in my zigbee2mqtt-docker container

What did you expect to happen

Change brightness

How to reproduce it (minimal and precise)

Have ikea-bulbs (those should be supported) Enable MQTT Autodiscover in HomeAssistant Make LIGHT-chard in Lovelace Change brightness

Debug Info

zigbee2mqtt version: 1.2.1 CC253X firmware version: latest! (updated firmware last friday)

Here are my logs: https://pastebin.com/9wVW207d

dgreebe avatar May 09 '19 06:05 dgreebe

Hi, I couldn't load pastebin as it seems down for me so I couldn't check the logs but have you tried restarting Home Assistant? I think that you have the same setup as me: Home Assistant and Zigbee2mqtt in their respective Docker containers. Whenever I have a new device autodiscovered by Home Assistant I need to restart 50% of the time for the new device to work.

way2many avatar May 09 '19 10:05 way2many

Hi, I did restart my HA couple of times, and indeed I have that configuration. All docker;

  • Zigbee2mqtt -> Mosquito -> Homeassistant.

I also have a button in HA to enable / disable permist_join, just to check if my HA is communicating with Mosquitto and with Zigbee2MQTT and that is but that's all. Hope you can check the logs later this day. Otherwise I'm also online on discord (duck304)

dgreebe avatar May 09 '19 11:05 dgreebe

  • Update to the latest zigbee2mqtt version first 1.3.1
  • Make sure you don't have a zigbee-shepherd-converters docker volume mapped.

Koenkk avatar May 10 '19 15:05 Koenkk

Yes, this is working. I did use the lastest-version tag on my container but maybe something went wrong because its working now. 👍 Can I use the zigbee-shepherd-converters or won't I needing them?

dgreebe avatar May 11 '19 04:05 dgreebe

This is only needed when you want to add support for new devices.

Koenkk avatar May 13 '19 09:05 Koenkk