zigbee2mqtt / hassio-zigbee2mqtt

Official Zigbee2MQTT Home Assistant add-on
https://www.zigbee2mqtt.io
Apache License 2.0
1.19k stars 436 forks source link

Moes UFO-R11 - No converter available for 'state' ("ON") #519

Closed DKanarsky closed 1 year ago

DKanarsky commented 1 year ago

Description of the issue

After successful connection UFO-R11 the switch control related to the device is created in Homeassistant . But trying to turn on or turn off the switch results in error message in zigbee2mqtt add-on:

No converter available for 'state' ("ON") or No converter available for 'state' ("OFF")

The switch control activates learning IR codes. Sending messages using MQTT service works as expected

Addon version

1.33.0-1

Platform

Core: core-2023.9.1 Supervisor: supervisor-2023.08.3 Operating System: HassOS 10.5

Logs of the issue (if applicable)

No response

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

marspd commented 1 year ago

Description of the issue

After successful connection UFO-R11 the switch control related to the device is created in Homeassistant . But trying to turn on or turn off the switch results in error message in zigbee2mqtt add-on:

No converter available for 'state' ("ON") or No converter available for 'state' ("OFF")

The switch control activates learning IR codes. Sending messages using MQTT service works as expected

Addon version

1.33.0-1

Platform

Core: core-2023.9.1 Supervisor: supervisor-2023.08.3 Operating System: HassOS 10.5

Logs of the issue (if applicable)

No response

Hi there Did you ever find a fix for this at all? I have the same issue. Regards Paul

DKanarsky commented 1 year ago

No. My workaround is to use Homeassitant mqtt.publish service with payload according to the device documentation there. It worked for me.

marspd commented 1 year ago

Thanks for the reply, that's what I did on the end myself.

alienatedsec commented 7 months ago

Maybe this should be reopened whenever possible as it is still an issue on 1.36.1 @Koenkk

image

dwellexity commented 5 months ago

This is still an issue. UFO-R11 can not learn codes through home assistant interface. Activating the learning mode directly from z2m web interface works without any issues.

Koenkk commented 5 months ago

Could you provide me:

dwellexity commented 5 months ago

I have attached the log here. log.log @Koenkk Thank you for your efforts.

Koenkk commented 5 months ago

Fixed the issue!

Changes will be available in the dev branch in a few hours from now.

dwellexity commented 5 months ago

Thanks @Koenkk. The fix works. However, there is still an issue. If the learned IR code is a bit too long, the HA web interface doesn't show the full code, which makes the learning process useless. If I go into Zigbee2MQTT web interface, the full code is available there without any need to learn it again. Is it something that can be solved?

Koenkk commented 4 months ago

@dwellexity how long is it? The HA limit is 254 chars.

dwellexity commented 4 months ago

@Koenkk I got this for an AC remote - H5YBVQNlAC8MigDgCVUD4AlEBDIIMghEBEQE4AlkFKIGBWQUMghkFOADB0ALwAMTMggvDCEBswUyCCEBPQJEBD0C4AlAGx/gCUQElgGiBkQECAIyCLMFuwKKADIIlgEyCAgCCAI9AgezBZYBVQO7AkA9EaIGPQIIAiEB//81I2QUCAIIAkAPAD1gAQcIArsClgG7AkAJAD2gAQKiBgggA8AHA7sCswVACwO7AqIGQAcJPQIIAj0Coga7AkAHQAMFogY9AggC4AMPgAsBogZAAwIIAj0gAQOiBrsCgEcJCAJGmjUjMgg9Ag== It has 312 characters.

Koenkk commented 4 months ago

So I don't think this can be solved, as the limit for HA is 254 chars.