500 Internal Error

2/2

[2024-07-26 16:10:57] DEBUG  : Action sur refresh avec options {"user_login":"admin","user_id":"1"}
[2024-07-26 16:10:57] DEBUG  : refresh : début FAN
[2024-07-26 16:10:57] DEBUG  : getBypassV2Method : début
[2024-07-26 16:10:57] DEBUG  : request : début https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2
[2024-07-26 16:10:57] DEBUG  : request : début postfield{"appVersion":"VeSync 4.3.40","phoneBrand":"Jeedom-VeSync","phoneOS":"Jeedom-VeSync","traceId":"1722003057895","acceptLanguage":"fr","timeZone":"Europe\/Brussels","accountID":"14954214","token":"100100pCZ-7civmQp3IlaGaZmRgdpkZR2TkuMDG9b5W_h7t9K-V1oZdG8LxOrZiVWTRj20YEfWIkm2Yvasw_NIK-VNIN9ZRvPSG9I=","method":"bypassV2","debugMode":true,"deviceRegion":"EU","cid":"vsaqca58b224b32a88207441cf479fdb","configModule":"VS_WFON_STF_LTF-F422S-KEU_EU","payload":{"data":[],"method":"getTowerFanStatus","source":"APP"}}
[2024-07-26 16:10:58] DEBUG  : request :  réponse debug {"traceId":"1722003057895","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722003057895","code":0,"result":{"powerSwitch":0,"workMode":"auto","manualSpeedLevel":12,"fanSpeedLevel":0,"screenState":0,"screenSwitch":1,"oscillationSwitch":1,"oscillationState":1,"muteSwitch":0,"muteState":0,"timerRemain":0,"temperature":851,"errorCode":0,"sleepPreference":{"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0},"scheduleCount":0,"displayingType":0}}}
[2024-07-26 16:10:58] INFO  : request :  réponse {"traceId":"1722003057895","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722003057895","code":0,"result":{"powerSwitch":0,"workMode":"auto","manualSpeedLevel":12,"fanSpeedLevel":0,"screenState":0,"screenSwitch":1,"oscillationSwitch":1,"oscillationState":1,"muteSwitch":0,"muteState":0,"timerRemain":0,"temperature":851,"errorCode":0,"sleepPreference":{"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0},"scheduleCount":0,"displayingType":0}}}
[2024-07-26 16:10:58] DEBUG  : getBypassV2Method : resultat {"traceId":"1722003057895","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722003057895","code":0,"result":{"powerSwitch":0,"workMode":"auto","manualSpeedLevel":12,"fanSpeedLevel":0,"screenState":0,"screenSwitch":1,"oscillationSwitch":1,"oscillationState":1,"muteSwitch":0,"muteState":0,"timerRemain":0,"temperature":851,"errorCode":0,"sleepPreference":{"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0},"scheduleCount":0,"displayingType":0}}}
[2024-07-26 16:10:58] DEBUG  : getCmdProperties : début
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début powerSwitch => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"\u00c9tat d'allumage","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"generic_type":"ENERGY_STATE","logicalId":"powerSwitch"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début powerSwitch
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"\u00c9tat ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::prise","mobile":"core::prise"},"generic_type":"ENERGY_ON","logicalId":"powerSwitch::true"},{"name":"\u00c9tat OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::prise","mobile":"core::prise"},"generic_type":"ENERGY_OFF","logicalId":"powerSwitch::false"}]
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début workMode => "auto"
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Mode d'utilisation","type":"info","subtype":"string","isVisible":1,"isHistorized":0,"logicalId":"workMode"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : auto
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début workMode
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début manualSpeedLevel => 12
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Vitesse de ventilation","type":"info","subtype":"numeric","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1,"minValue":0},"logicalId":"manualSpeedLevel"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 12
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début manualSpeedLevel
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Changer la vitesse de ventilation","type":"action","subtype":"slider","isVisible":1,"configuration":{"minValue":0,"updateCmdToValue":"#slider#"},"template":{"dashboard":"core::button","mobile":"core::button"},"display":{"parameters":{"step":"1"}},"logicalId":"manualSpeedLevel::"}]
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début fanSpeedLevel => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Niveau de vitesse de ventilation","type":"info","subtype":"numeric","isVisible":1,"isHistorized":1,"configuration":{"minValue":0},"logicalId":"fanSpeedLevel"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début fanSpeedLevel
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début screenState => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"\u00c9tat de l'affichage","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"screenState"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début screenState
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Affichage ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"screenState::true"},{"name":"Affichage OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"screenState::false"}]
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début screenSwitch => 1
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début oscillationSwitch => 1
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Oscillation","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"oscillationSwitch"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 1
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début oscillationSwitch
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Oscillation ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::true"},{"name":"Oscillation OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::false"}]
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début oscillationState => 1
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début muteSwitch => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Silence","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"muteSwitch"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début muteSwitch
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Silence ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"muteSwitch::true"},{"name":"Silence OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"muteSwitch::false"}]
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début muteState => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début timerRemain => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Temps restant","type":"info","subtype":"numeric","isVisible":1,"configuration":{"hasAction":1,"parseJson":1,"searchValueKey":"type"},"logicalId":"timerRemain"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début timerRemain
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin null
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début temperature => 851
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Temp\u00e9rature","type":"info","subtype":"numeric","isVisible":1,"isHistorized":1,"logicalId":"temperature"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 851
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début temperature
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début errorCode => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début sleepPreference => {"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0}
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début sleepPreferenceType => "default"
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début oscillationSwitch => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Oscillation","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"oscillationSwitch"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début oscillationSwitch
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Oscillation ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::true"},{"name":"Oscillation OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::false"}]
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début initFanSpeedLevel => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début fallAsleepRemain => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début autoChangeFanLevelSwitch => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début scheduleCount => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : début displayingType => 0
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Type d'affichage","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"displayingType"}
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 16:10:58] DEBUG  : checkAndCreateCommand : début displayingType
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 16:10:58] DEBUG  : loadConfigFile débutFAN
[2024-07-26 16:10:58] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Type d'affichage ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"displayingType::true"},{"name":"Type d'affichage OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"displayingType::false"}]
[2024-07-26 16:10:58] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 16:10:58] DEBUG  : getCmdProperties : fin
[2024-07-26 16:10:58] DEBUG  : refresh : fin
[2024-07-26 16:11:03] DEBUG  : update : début
[2024-07-26 16:11:03] DEBUG  : update : fin

Données envoyées :

Réponse de VeSync :

success, mais je vois code -1, bizarre

la température à 851, ça serait pas des champs qui reçoivent les mauvaises données ?

Je pense sue c’est la valeur à convertir (clé ou bor’e)

Tu as la valeur de température sur l’app ?
Si oui, quelles valeurs tu as ?

là maintenant 30°C et 860 sur Jeedom
c’est bien pour ça que j’ai investi dans un ventilateur :wink:

Ok donc la valeur est en farenheit x10

1 « J'aime »

n’hésite pas si je peux aider pour le ventilateur, je viens de refaire des tests en redémarrant jeedom et le ventilateur, toujours pareil

J’ai poussé une nouvelle màj.
Supprime la commande temperature et lance rafraichir. La conversion est automatique.

J’ai modifié un petit truc pour la commande allumer/eteindre

et là ça fonctionne !
je peux allumer et éteindre de Jeedom

par contre si je manipule depuis l’app, il faut d’abord rafraichir pour que l’état s’affiche

la vitesse est bien updatée aussi (de 1 à 12)

[2024-07-26 19:29:03] DEBUG  : update : début
[2024-07-26 19:29:03] DEBUG  : update : fin
[2024-07-26 19:29:17] DEBUG  : Action sur powerSwitch::true avec options {"user_login":"admin","user_id":"1"}
[2024-07-26 19:29:17] DEBUG  : Données à envoyer : powerSwitch=true=>1
[2024-07-26 19:29:17] DEBUG  : request : début https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2
[2024-07-26 19:29:17] DEBUG  : request : début postfield{"appVersion":"VeSync 4.3.40","phoneBrand":"Jeedom-VeSync","phoneOS":"Jeedom-VeSync","traceId":"1722014957519","acceptLanguage":"fr","timeZone":"Europe\/Brussels","accountID":"14954214","token":"100100qyJ378aplA9wKFiHbZ-VgWxktG9L1CxLSzO9lT3ceMWiNfCVPhvLnzQREI1uDWu3RuVZAxxGI5aeDJQvZqvoEd0Qe6bMVyI=","method":"bypassV2","debugMode":true,"deviceRegion":"EU","cid":"vsaqca58b224b32a88207441cf479fdb","configModule":"VS_WFON_STF_LTF-F422S-KEU_EU","payload":{"data":{"switchIdx":0,"powerSwitch":1},"method":"setSwitch","source":"APP"}}
[2024-07-26 19:29:18] DEBUG  : request :  réponse debug {"traceId":"1722014957519","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722014957519","code":0}}
[2024-07-26 19:29:18] INFO  : request :  réponse {"traceId":"1722014957519","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722014957519","code":0}}
[2024-07-26 19:29:18] DEBUG  : Commande transmise avec succès : {"traceId":"1722014957519","code":0}
[2024-07-26 19:29:18] DEBUG  : refresh : début FAN
[2024-07-26 19:29:18] DEBUG  : getBypassV2Method : début
[2024-07-26 19:29:18] DEBUG  : request : début https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2
[2024-07-26 19:29:18] DEBUG  : request : début postfield{"appVersion":"VeSync 4.3.40","phoneBrand":"Jeedom-VeSync","phoneOS":"Jeedom-VeSync","traceId":"1722014958210","acceptLanguage":"fr","timeZone":"Europe\/Brussels","accountID":"14954214","token":"100100qyJ378aplA9wKFiHbZ-VgWxktG9L1CxLSzO9lT3ceMWiNfCVPhvLnzQREI1uDWu3RuVZAxxGI5aeDJQvZqvoEd0Qe6bMVyI=","method":"bypassV2","debugMode":true,"deviceRegion":"EU","cid":"vsaqca58b224b32a88207441cf479fdb","configModule":"VS_WFON_STF_LTF-F422S-KEU_EU","payload":{"data":[],"method":"getTowerFanStatus","source":"APP"}}
[2024-07-26 19:29:18] DEBUG  : request :  réponse debug {"traceId":"1722014958210","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722014958210","code":0,"result":{"powerSwitch":1,"workMode":"auto","manualSpeedLevel":6,"fanSpeedLevel":10,"screenState":1,"screenSwitch":1,"oscillationSwitch":1,"oscillationState":1,"muteSwitch":0,"muteState":0,"timerRemain":0,"temperature":861,"errorCode":0,"sleepPreference":{"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0},"scheduleCount":0,"displayingType":0}}}
[2024-07-26 19:29:18] INFO  : request :  réponse {"traceId":"1722014958210","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722014958210","code":0,"result":{"powerSwitch":1,"workMode":"auto","manualSpeedLevel":6,"fanSpeedLevel":10,"screenState":1,"screenSwitch":1,"oscillationSwitch":1,"oscillationState":1,"muteSwitch":0,"muteState":0,"timerRemain":0,"temperature":861,"errorCode":0,"sleepPreference":{"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0},"scheduleCount":0,"displayingType":0}}}
[2024-07-26 19:29:18] DEBUG  : getBypassV2Method : resultat {"traceId":"1722014958210","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1722014958210","code":0,"result":{"powerSwitch":1,"workMode":"auto","manualSpeedLevel":6,"fanSpeedLevel":10,"screenState":1,"screenSwitch":1,"oscillationSwitch":1,"oscillationState":1,"muteSwitch":0,"muteState":0,"timerRemain":0,"temperature":861,"errorCode":0,"sleepPreference":{"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0},"scheduleCount":0,"displayingType":0}}}
[2024-07-26 19:29:18] DEBUG  : getCmdProperties : début
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début powerSwitch => 1
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"\u00c9tat d'allumage","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"generic_type":"ENERGY_STATE","logicalId":"powerSwitch"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 1
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début powerSwitch
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"\u00c9tat ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::prise","mobile":"core::prise"},"generic_type":"ENERGY_ON","logicalId":"powerSwitch::true"},{"name":"\u00c9tat OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::prise","mobile":"core::prise"},"generic_type":"ENERGY_OFF","logicalId":"powerSwitch::false"}]
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début workMode => "auto"
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Mode d'utilisation","type":"info","subtype":"string","isVisible":1,"isHistorized":0,"logicalId":"workMode"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : auto
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début workMode
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début manualSpeedLevel => 6
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Vitesse de ventilation","type":"info","subtype":"numeric","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1,"minValue":0},"logicalId":"manualSpeedLevel"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 6
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début manualSpeedLevel
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Changer la vitesse de ventilation","type":"action","subtype":"slider","isVisible":1,"configuration":{"minValue":0,"updateCmdToValue":"#slider#"},"template":{"dashboard":"core::button","mobile":"core::button"},"display":{"parameters":{"step":"1"}},"logicalId":"manualSpeedLevel::"}]
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début fanSpeedLevel => 10
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Niveau de vitesse de ventilation","type":"info","subtype":"numeric","isVisible":1,"isHistorized":1,"configuration":{"minValue":0},"logicalId":"fanSpeedLevel"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 10
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début fanSpeedLevel
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début screenState => 1
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"\u00c9tat de l'affichage","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"screenState"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 1
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début screenState
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Affichage ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"screenState::true"},{"name":"Affichage OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"screenState::false"}]
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début screenSwitch => 1
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début oscillationSwitch => 1
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Oscillation","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"oscillationSwitch"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 1
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début oscillationSwitch
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Oscillation ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::true"},{"name":"Oscillation OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::false"}]
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début oscillationState => 1
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début muteSwitch => 0
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Silence","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"muteSwitch"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début muteSwitch
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Silence ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"muteSwitch::true"},{"name":"Silence OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"muteSwitch::false"}]
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début muteState => 0
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début timerRemain => 0
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Temps restant","type":"info","subtype":"numeric","isVisible":1,"configuration":{"hasAction":1,"parseJson":1,"searchValueKey":"type"},"logicalId":"timerRemain"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début timerRemain
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : fin null
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début temperature => 861
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Temp\u00e9rature","type":"info","subtype":"numeric","unite":"\u00b0C","isVisible":1,"isHistorized":1,"configuration":{"convertFaren":1},"generic_type":"TEMPERATURE","logicalId":"temperature"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 861
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début temperature
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début errorCode => 0
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début sleepPreference => {"sleepPreferenceType":"default","oscillationSwitch":0,"initFanSpeedLevel":0,"fallAsleepRemain":0,"autoChangeFanLevelSwitch":0}
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début sleepPreferenceType => "default"
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début oscillationSwitch => 0
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Oscillation","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"oscillationSwitch"}
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 19:29:18] DEBUG  : checkAndCreateCommand : début oscillationSwitch
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Oscillation ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::true"},{"name":"Oscillation OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::lock","mobile":"core::lock"},"logicalId":"oscillationSwitch::false"}]
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début initFanSpeedLevel => 0
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:18] DEBUG  : checkPropertyAndCreateCmd : début fallAsleepRemain => 0
[2024-07-26 19:29:18] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : début autoChangeFanLevelSwitch => 0
[2024-07-26 19:29:19] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : début scheduleCount => 0
[2024-07-26 19:29:19] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile false
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : début displayingType => 0
[2024-07-26 19:29:19] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : isCmdInConfigFile {"name":"Type d'affichage","type":"info","subtype":"binary","isVisible":1,"isHistorized":1,"configuration":{"hasAction":1},"logicalId":"displayingType"}
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd String : 0
[2024-07-26 19:29:19] DEBUG  : checkAndCreateCommand : début displayingType
[2024-07-26 19:29:19] DEBUG  : searchCmdActionInConfigFile : début
[2024-07-26 19:29:19] DEBUG  : loadConfigFile débutFAN
[2024-07-26 19:29:19] DEBUG  : searchCmdActionInConfigFile : fin [{"name":"Type d'affichage ON","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":1},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"displayingType::true"},{"name":"Type d'affichage OFF","type":"action","subtype":"other","isVisible":1,"configuration":{"setter":1,"updateCmdToValue":0},"template":{"dashboard":"core::toggle","mobile":"core::toggle"},"logicalId":"displayingType::false"}]
[2024-07-26 19:29:19] DEBUG  : checkPropertyAndCreateCmd : fin
[2024-07-26 19:29:19] DEBUG  : getCmdProperties : fin
[2024-07-26 19:29:19] DEBUG  : refresh : fin

Oui, il n’y a pas de récupération des informations en temps réel.
Rafraichissement minimum : 1 min.
Possible de réduire via un scénario mais attention à ne pas trop réduire au risque de se voir jeter complètement (aucune API officielle, c’est une réplique de l’app)

ça marche, top merci beaucoup @Flobul !!!

j’ai crée un virtuel qui calcule la vitesse de ventilation, de 1à 12 vers 0-100%
la température marche au top

1 « J'aime »

Finalement, pas besoin de virtuel ou de scenario,
sous homebridge:

pour pouvoir allumer/éteindre et faire varier la vitesse du ventilateur en % depuis l’app maison

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.