grzegorz914 / homebridge-melcloud-control

Homebridge plugin for Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation, publish as dynamic external platform accessory.
MIT License
49 stars 2 forks source link

MQTT doesn't work #11

Closed FrodoVDR closed 1 year ago

FrodoVDR commented 1 year ago

If I enable MQTT I see in log output: [homebridge-melcloud-control] MQTT Publish error: TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object

My configuration is:

{
            "accounts": [
                {
                    "name": "Name",
                    "user": "email@domain.info",
                    "passwd": "password",
                    "language": "4",
                    "displayMode": 0,
                    "disableLogInfo": false,
                    "disableLogDeviceInfo": false,
                    "enableDebugMode": false,
                    "enableMqtt": true,
                    "mqttHost": "192.168.6.19",
                    "mqttPort": 1883,
                    "mqttPrefix": "klima/dg",
                    "mqttAuth": false,
                    "mqttDebug": false
                }
            ],
            "_bridge": {
                "username": "0E:37:BC:83:7A:FA",
                "port": 36374
            },
            "platform": "melcloudcontrol"
}
grzegorz914 commented 1 year ago

it’s fixed in 0.2.11 but not published yet, same as here #7