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

Blueprint - Zigbee2MQTT - Xiaomi Cube Controller - errors in log #42

Open
LeeWiu opened this issue Jul 3, 2024 · 1 comment
Open

Blueprint - Zigbee2MQTT - Xiaomi Cube Controller - errors in log #42

LeeWiu opened this issue Jul 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@LeeWiu
Copy link

LeeWiu commented Jul 3, 2024

Hi, I get this error in log, even with v2024-06-02
The device name is Cube and the topic name is zigbee2mqtt/Cube, Z2M is v1.39.0

Logger: homeassistant.helpers.template
Source: helpers/template.py:2629
First occurred: 12:47:44 (1 occurrences)
Last logged: 12:47:44

Template variable warning: list object has no element 1 when rendering '{{ieee_id_long.split('_')[1] }}

And

Logger: homeassistant.components.mqtt.discovery
Source: components/mqtt/discovery.py:228
integration: MQTT ([documentation](https://www.home-assistant.io/integrations/mqtt), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+mqtt%22))
First occurred: 09:38:32 (1 occurrences)
Last logged: 09:38:32

Received message on illegal discovery topic 'homeassistant/number//last_side/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic

In mqtt info

Entities
Cube Battery (sensor.cube_battery)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/battery/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Cube Action angle (sensor.cube_action_angle)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/action_angle/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Cube Temperature (sensor.cube_device_temperature)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/device_temperature/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Cube Action from side (sensor.cube_action_from_side)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/action_from_side/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Cube Action side (sensor.cube_action_side)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/action_side/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Cube Action to side (sensor.cube_action_to_side)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/action_to_side/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Cube Side (sensor.cube_side)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/side/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Cube Action (sensor.cube_action)
MQTT discovery data:
Topic: homeassistant/sensor/0x00158d00042d6c35/action/config
PayloadSubscribed topics:
zigbee2mqtt/bridge/state
3 most recently received message(s)

zigbee2mqtt/Cube/availability
2 most recently received message(s)

zigbee2mqtt/Cube
10 most recently received message(s)Transmitted messages:

Triggers
MQTT discovery data:
Topic: homeassistant/device_automation/0x00158d00042d6c35/action_shake/config
Payload
MQTT discovery data:
Topic: homeassistant/device_automation/0x00158d00042d6c35/action_wakeup/config
Payload
MQTT discovery data:
Topic: homeassistant/device_automation/0x00158d00042d6c35/action_fall/config
Payload
MQTT discovery data:
Topic: homeassistant/device_automation/0x00158d00042d6c35/action_rotate_right/config
Payload
@LeeWiu LeeWiu added the bug Something isn't working label Jul 3, 2024
@LeeWiu
Copy link
Author

LeeWiu commented Jul 4, 2024

Could be this double slash between number and last_side?
Received message on illegal discovery topic 'homeassistant/number//last_side/config'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant