milo526 / homebridge-tuya-web

Hoobs and Homebridge plugin for Tuya devices using Home Assistant Tuya Web Api
MIT License
219 stars 95 forks source link

3 of 9 thermostat is not changed via home.app #340

Closed tombenetin closed 3 years ago

tombenetin commented 3 years ago

I cannot change temperature on 3 of 9 thermostat in my home.app. In TUYA app everything work well. I tried reinstall/install a lot of previous version of plugin, but still same results.

I open home.app, i see right current (true) temperature, but if i try to change it, thermostat (3 of 9) not change temperature. Other 6 thermostat working without any issues.

Plugin Version v1.02

Homebridge Config

{
    "bridge": {
        "name": "Homebridge 311E",
        "username": "0E:73:39:5C:31:2E",
        "port": 51016,
        "pin": "XXX-XX-XXX",
        "bind": [
            "enp1s0"
        ],
        "advertiser": "bonjour-hap"
    },
    "accessories": [
        {
            "accessory": "MiAirPurifierPro",
            "name": "Air purifier",
            "ip": "192.168.31.197",
            "token": "XXX",
            "enableLED": false,
            "enableLEDName": "FanLight",
            "enableBuzzer": false,
            "enableBuzzerName": "Buzzer",
            "showTemperature": true,
            "showTemperatureName": "Teplota",
            "showHumidity": true,
            "showHumidityName": "Vlhkost",
            "showAirQuality": true,
            "showAirQualityName": "Kvalita",
            "pm25_breakpoints": [
                5,
                12,
                35,
                55
            ],
            "polling_interval": 60000
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "none",
            "theme": "blue",
            "tempUnits": "c",
            "lang": "auto",
            "platform": "config"
        },
        {
            "platform": "BroadlinkRM",
            "name": "Broadlink RM",
            "hideWelcomeMessage": true,
            "accessories": [
                {
                    "name": "Volume UP",
                    "type": "switch",
                    "data": "26004800000127951213111412391213121411141114121312391139131313371239123912381239121312381313131212131214111412131239121312391238123911391338123813000d05",
                    "enableAutoOff": true,
                    "onDuration": 0.1
                },
                {
                    "name": "Volume DOWN",
                    "type": "switch",
                    "data": "26004800000129921412131214351511141213121411141114361436151114361436143615361436153614361412141114111411141213121312141114361436153614361436153614000d05",
                    "enableAutoOff": true,
                    "onDuration": 0.1
                }
            ]
        },
        {
            "platform": "broadlinkS1C",
            "name": "S1C",
            "ip": "b4:43:0d:f1:d7:9b",
            "stayMode": "disarm",
            "awayMode": "full_arm",
            "nightMode": "part_arm",
            "alarmSound": true,
            "notificationSound": false,
            "motionTimeout": 15
        },
        {
            "name": "TuyaWebPlatform",
            "options": {
                "username": "XXX",
                "password": "XXX",
                "countryCode": "421",
                "platform": "tuya",
                "pollingInterval": 605
            },
            "defaults": [
                {
                    "id": "044234063c71bf309c6e",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "044234063c71bf309e77",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "044234063c71bf30718a",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "044234063c71bf30996c",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "04423406ecfabc307af6",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "044234063c71bf30654d",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "044234063c71bf309c59",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "044234063c71bf307746",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                },
                {
                    "id": "044234063c71bf309e94",
                    "device_type": "climate",
                    "min_temper": "5",
                    "max_temper": "35",
                    "current_temperature_factor": "0.5",
                    "target_temperature_factor": "0.5"
                }
            ],
            "scenes": true,
            "scenesWhitelist": [
                "One"
            ],
            "platform": "TuyaWebPlatform"
        },
        {
            "name": "eWeLink",
            "username": "XXX",
            "password": "XXX",
            "mode": "auto",
            "countryCode": "+421",
            "platform": "eWeLink"
        },
        {
            "devices": [
                {
                    "name": "My Xiaomi Fan",
                    "ip": "192.168.31.238",
                    "token": "XXX",
                    "deviceId": "XXX",
                    "model": "dmaker.fan.1c",
                    "pollingInterval": 5,
                    "buzzerControl": true,
                    "ledControl": true,
                    "naturalModeControl": true,
                    "sleepModeControl": true,
                    "moveControl": true,
                    "shutdownTimer": true,
                    "angleButtons": [
                        5
                    ],
                    "ioniserControl": false
                }
            ],
            "platform": "xiaomifan"
        },
        {
            "name": "Shelly",
            "username": "XXX",
            "password": "XXX",
            "admin": {
                "enabled": true
            },
            "networkInterface": "192.168.31.46",
            "devices": [
                {
                    "id": "E8db84d39613",
                    "name": "Kupelna",
                    "type": "whiteLightbulb"
                },
                {
                    "id": "84cca8ad6ada",
                    "name": "Obyvacka",
                    "type": "whiteLightbulb"
                },
                {
                    "id": "E09806aa482e",
                    "name": "Technická miestnosť",
                    "type": "whiteLightbulb"
                }
            ],
            "platform": "Shelly"
        },
        {
            "devices": [
                {
                    "name": "Mi Smart Standing Fan",
                    "ip": "192.168.31.238",
                    "token": "XXX",
                    "deviceId": "XXX",
                    "model": "dmaker.fan.1c",
                    "pollingInterval": 7,
                    "deepDebugLog": false,
                    "micloud": {
                        "timeout": 5000
                    },
                    "buzzerControl": true,
                    "ledControl": true,
                    "swingControl": true,
                    "moveControl": false,
                    "fanLevelControl": true,
                    "shutdownTimer": true,
                    "modeControl": true
                }
            ],
            "platform": "miot"
        }
    ],
    "disabledPlugins": [
        "homebridge-xiaomi-fan",
        "homebridge-miot",
        "homebridge-broadlink-s1c"
    ]
}

Device Config

Additional Context i noticed this results from yesterday and issues persist to today. I hope you can help me. I dont see any error, or any unussual in logs. Yesterday Tuya has some all world trouble with connection, but now it should be fine. So i really dont know what happens. I appriciate what you do.

Thanks again.

tombenetin commented 3 years ago

OK, you can close it, i found solution. it needed to delete phisical devices and add to tuya again. Now it's again working great. Thanks.

milo526 commented 3 years ago

Glad you solved it