Skip to content

On/Off button not working #11

@jp-keros

Description

@jp-keros

Hello,

When I try to send an On/off command to my Gree air conditioners, I got those errors :

2022-07-10 23:50:04.628 Error: Clim via MQTT: Call to function 'onCommand' failed, exception details:
2022-07-10 23:50:04.648 Error: Clim via MQTT: Traceback (most recent call last):
2022-07-10 23:50:04.648 Error: Clim via MQTT: File "/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py", line 143, in onCommand
2022-07-10 23:50:04.648 Error: Clim via MQTT: plugin.onCommand(Unit, Command, Level, Color)
2022-07-10 23:50:04.648 Error: Clim via MQTT: File "/home/pi/domoticz/plugins/ewpe-smart-mqtt/plugin.py", line 91, in onCommand
2022-07-10 23:50:04.648 Error: Clim via MQTT: [mac, alias] = Devices[Unit].DeviceID.split('
')
2022-07-10 23:50:04.648 Error: Clim via MQTT: ValueError: not enough values to unpack (expected 2, got 1)

All the other commands are sent normaly : SetPoint, Light, etc ...

DomoticZ 2022.1 beta 14352 and Mosquitto are running on a Pi with Bullseye 32bits.

Is it a configuration problem on my side ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions