grzegorz914 / homebridge-melcloud-control

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

[melcloudcontrol] Name, user, password or language in config missing. #57

Closed jaumebosch closed 1 year ago

jaumebosch commented 1 year ago

Hi, debug is giving this message [melcloudcontrol] Name, user, password or language in config missing. tested user and pass through postman and works perfectly.

any idea?

grzegorz914 commented 1 year ago

This data is mandatory in config, check your config.json please

jaumebosch commented 1 year ago

Already checked user and pass obfuscated for security, also checked and works on melcloud page

{
            "platform": "melcloudcontrol",
            "accounts": [
                {
                    "name": "MelCloud",
                    "user": "xxxx@xxxxxx.com",
                    "passwd": "xxxxxxx",
                    "language": 0,
                    "ataDisplayMode": 0,
                    "ataTemperatureSensor": true,
                    "ataDisableAutoMode": false,
                    "ataDisableHeatMode": false,
                    "ataAutoHeatMode": 0,
                    "ataPresets": false,
                    "ataButtons": [
                        {
                            "name": "ON/OFF",
                            "mode": 0,
                            "displayType": 0
                        }
                    ],
                    "disableLogInfo": false,
                    "disableLogDeviceInfo": false,
                    "enableDebugMode": false,
                    "mqttDebug": false,
                    "enableRestFul": false,
                    "restFulDebug": false,
                    "enableMqtt": false
                }
            ]
        }
grzegorz914 commented 1 year ago

Can you try to change language in plugin settings and let me know

grzegorz914 commented 1 year ago

Please use "language": “0”as a string value not a number, was my fault in sample-config.json