[2023-02-25 15:06:00][INFO] : Lancement démon PoeleAgua : /usr/bin/python3 /var/www/html/plugins/PoeleAgua/resources/demond/PoeleAgua.py --loglevel debug --PoeleAgua_SERVICE https://moretti.agua-iot.com --PoeleAgua_LoginURL none --PoeleAgua_CUSTOMER_CODE 624813 --PoeleAgua_LOGIN 'perret.dan@free.fr' --PoeleAgua_UUID 942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529 --PoeleAgua_BRAND_ID 1 --PoeleAgua_PASSWD 'Chrysler300C' --callback http://127.0.0.1:80/plugins/PoeleAgua/core/php/jeePoeleAgua.php --apikey X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV --pid /tmp/jeedom/PoeleAgua/deamon.pid --socketport 3130 --PoeleAgua_BrandName '' --PoeleAgua_Version '1.6.0' [2023-02-25 14:06:00][DEBUG] : [demon]Start demond [2023-02-25 14:06:00][DEBUG] : [demon]Log level : debug [2023-02-25 14:06:00][DEBUG] : [demon]Socket port : 3130 [2023-02-25 14:06:00][DEBUG] : [demon]PoeleAgua service : https://moretti.agua-iot.com [2023-02-25 14:06:00][DEBUG] : [demon]PoeleAgua login url : none [2023-02-25 14:06:00][DEBUG] : [demon]PoeleAgua uuid : 942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529 [2023-02-25 14:06:00][DEBUG] : [demon]PoeleAgua Brand : 1 [2023-02-25 14:06:00][DEBUG] : [demon]PoeleAgua customer code : 624813 [2023-02-25 14:06:00][DEBUG] : [demon]PID file : /tmp/jeedom/PoeleAgua/deamon.pid [2023-02-25 14:06:00][DEBUG] : [demon]PoeleAgua BrandName : [2023-02-25 14:06:00][DEBUG] : [demon]PoeleAgua Version : 1.6.0 [2023-02-25 14:06:00][DEBUG] : [demon]creation pid file [2023-02-25 14:06:00][DEBUG] : Writing PID 11071 to /tmp/jeedom/PoeleAgua/deamon.pid [2023-02-25 14:06:00][DEBUG] : Init request module v2.28.2 [2023-02-25 14:06:00][DEBUG] : [demon]creation pid file done [2023-02-25 14:06:00][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-02-25 15:06:00][DEBUG] : [JEE]reception Message Demon [2023-02-25 14:06:00][DEBUG] : http://127.0.0.1:80 "GET /plugins/PoeleAgua/core/php/jeePoeleAgua.php?apikey=X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV HTTP/1.1" 200 0 [2023-02-25 14:06:00][DEBUG] : [demon]creation socket [2023-02-25 14:06:00][DEBUG] : [demon]appel main [2023-02-25 14:06:00][INFO] : [demon]Start Main... [2023-02-25 14:06:00][DEBUG] : Socket interface started [2023-02-25 14:06:00][DEBUG] : LoopNetServer Thread started [2023-02-25 14:06:00][DEBUG] : Listening on: [127.0.0.1:3130] [2023-02-25 14:06:00][DEBUG] : [demon]|** Read Socket Thread Launched [2023-02-25 14:06:00][DEBUG] : [demon]|** Recupere la loop [2023-02-25 14:06:00][DEBUG] : Using selector: EpollSelector [2023-02-25 14:06:00][DEBUG] : [demon]|** Lance l api [2023-02-25 14:06:00][DEBUG] : [demon]|** lance la boucle [2023-02-25 14:06:00][INFO] : [demon]|** Connection [2023-02-25 14:06:00][DEBUG] : [demon]|** |** connection au PoeleAgua avec url adr:https://moretti.agua-iot.com [2023-02-25 14:06:00][DEBUG] : [AguaIot] Initialisation pyAguaiot [2023-02-25 14:06:00][INFO] : [AguaIot] |-- Lancement pyAguaIOT [2023-02-25 14:06:00][DEBUG] : [AguaIot] |-- |-- Suppression des devices [2023-02-25 14:06:00][DEBUG] : [AguaIot] |-- |-- Register app ID [2023-02-25 14:06:00][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:00][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2023-02-25 14:06:00][DEBUG] : [AguaIot] |-- |-- Register app ID OK [2023-02-25 14:06:00][DEBUG] : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT [2023-02-25 14:06:00][DEBUG] : [AguaIot] |-- |-- |-- login header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'} [2023-02-25 14:06:00][DEBUG] : [AguaIot] |-- |-- |-- login url:https://moretti.agua-iot.com/userLogin [2023-02-25 14:06:00][DEBUG] : [AguaIot] |-- |-- |-- login payload:{"email": "xxxxxxx", "password": "xxxxxxxx"} [2023-02-25 14:06:00][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:01][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiYTJmMmMxOGItOWE4MC00MDY1LTg1ZGItNWMwZDJjOWVkMDBiIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTYxLCJleHAiOjE2Nzc0MjAzNjF9.hZOJ7gxA0igzAX8Y5hYxyZsE0DhISEBWr_95_FR4mUI', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTYxLCJleHAiOjE2OTI4ODU5NjF9.ib_QfmgD3GFVa5TCsNFMqmw_IUkSNBHDB0H1WotHEhc'} [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT OK [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- Fetch heating devices [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiYTJmMmMxOGItOWE4MC00MDY1LTg1ZGItNWMwZDJjOWVkMDBiIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTYxLCJleHAiOjE2Nzc0MjAzNjF9.hZOJ7gxA0igzAX8Y5hYxyZsE0DhISEBWr_95_FR4mUI'} [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceList [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall payload:{} [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall post method [2023-02-25 14:06:01][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:01][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 705 [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall --> OK [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- Fetch heating devices --> res: {'Success': True, 'device': [{'id': 'F5C6885D-8320-475C-AFF2-0965A5054160', 'id_device': 'AE85ACAF-0899-400C-8301-B1D2D44CBC96', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'id_client': 'ED245E1F-91DD-4E41-8D3B-83DB875A31DB', 'id_app': None, 'product_serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'mac': 'EC94CB743E00', 'security_code': '52605255', 'assistance_code': ' ', 'country': '', 'state': 'Savoie', 'city': 'Myans', 'creation_date': '2022-12-30T11:31:28.977Z', 'update_date': '2022-12-30T11:31:28.977Z', 'autorization_it': True, 'is_online': True, 'last_login_date': '2023-02-25T12:16:46.073Z', 'last_logout_date': '2023-02-21T12:13:08.467Z', 'cod_art': 'MORETTI', 'serial': 'MORETTI', 'name_product': 'MORETTI'}]} [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiYTJmMmMxOGItOWE4MC00MDY1LTg1ZGItNWMwZDJjOWVkMDBiIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTYxLCJleHAiOjE2Nzc0MjAzNjF9.hZOJ7gxA0igzAX8Y5hYxyZsE0DhISEBWr_95_FR4mUI'} [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceGetInfo [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall payload:{"id_device": "AE85ACAF-0899-400C-8301-B1D2D44CBC96", "id_product": "D6444D99-237D-4847-AAC1-2CBC9264624C"} [2023-02-25 14:06:01][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall post method [2023-02-25 14:06:01][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:02][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall --> OK [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- |-- |-- Fetch heating devices info --> res: {'Success': True, 'Text': 'DEVICE_INFO_PRESENT', 'Value': True, 'device_info': [{'mac': 'EC94CB743E00', 'assistance_code': ' ', 'security_code': '52605255', 'creation_date_device': '2022-09-13T09:40:03.393Z', 'update_date_device': '2022-09-13T12:17:29.807Z', 'customer_code': '624813', 'cod_art': 'MORETTI', 'serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'enable_chrono_week': True, 'enable_set_chrono_week': True, 'chrono_programs': 4, 'set_power_min': 1, 'set_power_max': 5, 'enable_chrono_set_temperature': False, 'set_temperature_min': 5, 'set_temperature_max': 40, 'set_temperature_water_min': 0, 'set_temperature_water_max': 255, 'enable_chrono_set_power': True, 'enable_main_ventilation': False, 'enable_canalization_1': False, 'enable_canalization_2': False, 'set_canalization_1_min': 0, 'set_canalization_1_max': 255, 'set_canalization_2_min': 0, 'set_canalization_2_max': 255, 'enable_week_days': True, 'enable_water_puffer': False, 'enable_water_boiler': False, 'enable_water': False, 'enable_chrono_set_fan': False, 'set_fan_min': 0, 'set_fan_max': 255, 'id_registers_map': 'AD62C514-3790-4CFC-ADA0-57CC581FA295', 'rowVersion': '92623'}]} [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- |-- |-- [device] Init [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- |-- |-- [device] InitOK [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- |-- |-- *************** Devices Add --> Relax [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- |-- Fetch heating devices OK [2023-02-25 14:06:02][INFO] : [AguaIot] |-- Lancement pyAguaIOT OK [2023-02-25 14:06:02][DEBUG] : [AguaIot] Initialisation pyAguaiot OK [2023-02-25 14:06:02][DEBUG] : [demon]|** Connect OK [2023-02-25 14:06:02][DEBUG] : [demon]|** lance la boucle attente commande [2023-02-25 15:06:02][DEBUG] : Deamon_info:ok [2023-02-25 15:06:02][DEBUG] : [core] recherche cmd spe [2023-02-25 15:06:02][DEBUG] : [core] commandeSpe trouvée :i_vent_main_set [2023-02-25 15:06:02][DEBUG] : [core] commandeSpe trouvée :i_vent_main_set [2023-02-25 15:06:02][DEBUG] : [core] refreshAll [2023-02-25 15:06:02][DEBUG] : [core] socket close [2023-02-25 14:06:02][DEBUG] : Client connected to [127.0.0.1:40390] [2023-02-25 14:06:02][DEBUG] : Message read from socket: b'{"apikey":"X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV","ID":"0","TYPE":"REFRESH_ALL","VALUE":"0","cmdSpe":["i_vent_main_set","i_vent_main_set"]}' [2023-02-25 14:06:02][DEBUG] : Client disconnected from [127.0.0.1:40390] [2023-02-25 14:06:02][DEBUG] : [demon]|** |-- Message 1 received in socket JEEDOM_SOCKET_MESSAGE :b'{"apikey":"X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV","ID":"0","TYPE":"REFRESH_ALL","VALUE":"0","cmdSpe":["i_vent_main_set","i_vent_main_set"]}' [2023-02-25 14:06:02][DEBUG] : [demon]|** |-- COMMANDE_TYPE :REFRESH_ALL ID:0 value:0 cmdSpe:['i_vent_main_set', 'i_vent_main_set'] [2023-02-25 14:06:02][DEBUG] : [demon]|** |-- COMMANDE pending [2023-02-25 14:06:02][DEBUG] : [demon]|** |-- commande pending found type:REFRESH_ALL [2023-02-25 14:06:02][DEBUG] : [demon]|** |-- |-- demande refresh pour chaque poele [2023-02-25 14:06:02][DEBUG] : [demon]|** |-- |-- |-- parcours chaque device found [2023-02-25 14:06:02][DEBUG] : [demon]|** |-- |-- |-- |-- device trouvee demande update [2023-02-25 14:06:02][DEBUG] : [AguaIot][device] Update device information [2023-02-25 14:06:02][DEBUG] : [AguaIot][device] |-- update_device_registers_mapping [2023-02-25 14:06:02][DEBUG] : [AguaIot][device] |-- |-- [device] __update_device_registers_mapping [2023-02-25 14:06:02][ERROR] : [AguaIot][device] |-- Update device information Error [2023-02-25 14:06:02][DEBUG] : [AguaIot][device] |-- Try to complet Reconnect *********************** [2023-02-25 14:06:02][INFO] : [AguaIot] Lancement pyAguaIOT [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- Suppression des devices [2023-02-25 14:06:02][DEBUG] : [AguaIot] |-- Register app ID [2023-02-25 14:06:02][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 15:06:03][INFO] : Démon PoeleAgua lancé [2023-02-25 14:06:03][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2023-02-25 14:06:03][DEBUG] : [AguaIot] |-- Register app ID OK [2023-02-25 14:06:03][DEBUG] : [AguaIot] |-- Authenticate with email and password to Agua IOT [2023-02-25 14:06:03][DEBUG] : [AguaIot] |-- |-- login header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'} [2023-02-25 14:06:03][DEBUG] : [AguaIot] |-- |-- login url:https://moretti.agua-iot.com/userLogin [2023-02-25 14:06:03][DEBUG] : [AguaIot] |-- |-- login payload:{"email": "xxxxxxx", "password": "xxxxxxx"} [2023-02-25 14:06:03][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:04][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjNlMDAxNzctMjM2MS00Yjk3LWEyZTAtMDcwNmZkOTVhN2E0IiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTY0LCJleHAiOjE2Nzc0MjAzNjR9.B5m7KwNksRPv2G-gOOR6pQUTO8Fhs2kLxnHMDu93FTg', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTY0LCJleHAiOjE2OTI4ODU5NjR9.AomF_fYXhQ-Oo3uHuTzunXQi8hbVg8K6TQ994bPflH4'} [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- Authenticate with email and password to Agua IOT OK [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- Fetch heating devices [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- handle_webcall [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjNlMDAxNzctMjM2MS00Yjk3LWEyZTAtMDcwNmZkOTVhN2E0IiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTY0LCJleHAiOjE2Nzc0MjAzNjR9.B5m7KwNksRPv2G-gOOR6pQUTO8Fhs2kLxnHMDu93FTg'} [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceList [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall payload:{} [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall post method [2023-02-25 14:06:04][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:04][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 705 [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- handle_webcall --> OK [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- Fetch heating devices --> res: {'Success': True, 'device': [{'id': 'F5C6885D-8320-475C-AFF2-0965A5054160', 'id_device': 'AE85ACAF-0899-400C-8301-B1D2D44CBC96', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'id_client': 'ED245E1F-91DD-4E41-8D3B-83DB875A31DB', 'id_app': None, 'product_serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'mac': 'EC94CB743E00', 'security_code': '52605255', 'assistance_code': ' ', 'country': '', 'state': 'Savoie', 'city': 'Myans', 'creation_date': '2022-12-30T11:31:28.977Z', 'update_date': '2022-12-30T11:31:28.977Z', 'autorization_it': True, 'is_online': True, 'last_login_date': '2023-02-25T12:16:46.073Z', 'last_logout_date': '2023-02-21T12:13:08.467Z', 'cod_art': 'MORETTI', 'serial': 'MORETTI', 'name_product': 'MORETTI'}]} [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- handle_webcall [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjNlMDAxNzctMjM2MS00Yjk3LWEyZTAtMDcwNmZkOTVhN2E0IiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTY0LCJleHAiOjE2Nzc0MjAzNjR9.B5m7KwNksRPv2G-gOOR6pQUTO8Fhs2kLxnHMDu93FTg'} [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceGetInfo [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall payload:{"id_device": "AE85ACAF-0899-400C-8301-B1D2D44CBC96", "id_product": "D6444D99-237D-4847-AAC1-2CBC9264624C"} [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall post method [2023-02-25 14:06:04][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:04][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- handle_webcall --> OK [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- Fetch heating devices info --> res: {'Success': True, 'Text': 'DEVICE_INFO_PRESENT', 'Value': True, 'device_info': [{'mac': 'EC94CB743E00', 'assistance_code': ' ', 'security_code': '52605255', 'creation_date_device': '2022-09-13T09:40:03.393Z', 'update_date_device': '2022-09-13T12:17:29.807Z', 'customer_code': '624813', 'cod_art': 'MORETTI', 'serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'enable_chrono_week': True, 'enable_set_chrono_week': True, 'chrono_programs': 4, 'set_power_min': 1, 'set_power_max': 5, 'enable_chrono_set_temperature': False, 'set_temperature_min': 5, 'set_temperature_max': 40, 'set_temperature_water_min': 0, 'set_temperature_water_max': 255, 'enable_chrono_set_power': True, 'enable_main_ventilation': False, 'enable_canalization_1': False, 'enable_canalization_2': False, 'set_canalization_1_min': 0, 'set_canalization_1_max': 255, 'set_canalization_2_min': 0, 'set_canalization_2_max': 255, 'enable_week_days': True, 'enable_water_puffer': False, 'enable_water_boiler': False, 'enable_water': False, 'enable_chrono_set_fan': False, 'set_fan_min': 0, 'set_fan_max': 255, 'id_registers_map': 'AD62C514-3790-4CFC-ADA0-57CC581FA295', 'rowVersion': '92623'}]} [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- [device] Init [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- [device] InitOK [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- |-- *************** Devices Add --> Relax [2023-02-25 14:06:04][DEBUG] : [AguaIot] |-- Fetch heating devices OK [2023-02-25 14:06:04][INFO] : [AguaIot] Lancement pyAguaIOT OK [2023-02-25 14:06:04][DEBUG] : [AguaIot][device] |-- complete reconnect done *********************** [2023-02-25 14:06:04][DEBUG] : [demon]|** |-- |-- |-- |-- device:Relax udated [2023-02-25 14:06:04][DEBUG] : [AguaIot][device] |-- get_information_item [2023-02-25 14:06:04][WARNING] : status managed non disponnible [2023-02-25 14:06:04][DEBUG] : [AguaIot][device] |-- |-- get_information_item [2023-02-25 14:06:04][WARNING] : Status non disponnible [2023-02-25 14:06:04][DEBUG] : [AguaIot][device] |-- |-- |-- get_information_item [2023-02-25 14:06:04][ERROR] : [demon]|** |-- |-- |-- |-- error : 'status_get' [2023-02-25 14:06:14][DEBUG] : [demon]|** |-- |-- |-- |-- Re-connexion. [2023-02-25 14:06:14][DEBUG] : [AguaIot] Initialisation pyAguaiot [2023-02-25 14:06:14][INFO] : [AguaIot] |-- Lancement pyAguaIOT [2023-02-25 14:06:14][DEBUG] : [AguaIot] |-- |-- Suppression des devices [2023-02-25 14:06:14][DEBUG] : [AguaIot] |-- |-- Register app ID [2023-02-25 14:06:14][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:15][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- Register app ID OK [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- login header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'} [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- login url:https://moretti.agua-iot.com/userLogin [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- login payload:{"email": "xxxxxxx", "password": "xxxxxxxxx"} [2023-02-25 14:06:15][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:15][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiMTlmNjVmMTEtYTI2Mi00ZGMwLWEzZGUtOWFlZTFlMDIwYjcxIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc1LCJleHAiOjE2Nzc0MjAzNzV9.BSBRPiTA5f6WOga69MrACNm5DMK5E_o9SzvpIDmSFYU', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc1LCJleHAiOjE2OTI4ODU5NzV9.UnKJdj8jtKlsLgkYGik9C0ld7_jTeCasuC4yU1XfrBs'} [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT OK [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- Fetch heating devices [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiMTlmNjVmMTEtYTI2Mi00ZGMwLWEzZGUtOWFlZTFlMDIwYjcxIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc1LCJleHAiOjE2Nzc0MjAzNzV9.BSBRPiTA5f6WOga69MrACNm5DMK5E_o9SzvpIDmSFYU'} [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceList [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall payload:{} [2023-02-25 14:06:15][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall post method [2023-02-25 14:06:15][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:16][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 705 [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall --> OK [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- Fetch heating devices --> res: {'Success': True, 'device': [{'id': 'F5C6885D-8320-475C-AFF2-0965A5054160', 'id_device': 'AE85ACAF-0899-400C-8301-B1D2D44CBC96', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'id_client': 'ED245E1F-91DD-4E41-8D3B-83DB875A31DB', 'id_app': None, 'product_serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'mac': 'EC94CB743E00', 'security_code': '52605255', 'assistance_code': ' ', 'country': '', 'state': 'Savoie', 'city': 'Myans', 'creation_date': '2022-12-30T11:31:28.977Z', 'update_date': '2022-12-30T11:31:28.977Z', 'autorization_it': True, 'is_online': True, 'last_login_date': '2023-02-25T12:16:46.073Z', 'last_logout_date': '2023-02-21T12:13:08.467Z', 'cod_art': 'MORETTI', 'serial': 'MORETTI', 'name_product': 'MORETTI'}]} [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiMTlmNjVmMTEtYTI2Mi00ZGMwLWEzZGUtOWFlZTFlMDIwYjcxIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc1LCJleHAiOjE2Nzc0MjAzNzV9.BSBRPiTA5f6WOga69MrACNm5DMK5E_o9SzvpIDmSFYU'} [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceGetInfo [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall payload:{"id_device": "AE85ACAF-0899-400C-8301-B1D2D44CBC96", "id_product": "D6444D99-237D-4847-AAC1-2CBC9264624C"} [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall post method [2023-02-25 14:06:16][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:16][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall --> OK [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- Fetch heating devices info --> res: {'Success': True, 'Text': 'DEVICE_INFO_PRESENT', 'Value': True, 'device_info': [{'mac': 'EC94CB743E00', 'assistance_code': ' ', 'security_code': '52605255', 'creation_date_device': '2022-09-13T09:40:03.393Z', 'update_date_device': '2022-09-13T12:17:29.807Z', 'customer_code': '624813', 'cod_art': 'MORETTI', 'serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'enable_chrono_week': True, 'enable_set_chrono_week': True, 'chrono_programs': 4, 'set_power_min': 1, 'set_power_max': 5, 'enable_chrono_set_temperature': False, 'set_temperature_min': 5, 'set_temperature_max': 40, 'set_temperature_water_min': 0, 'set_temperature_water_max': 255, 'enable_chrono_set_power': True, 'enable_main_ventilation': False, 'enable_canalization_1': False, 'enable_canalization_2': False, 'set_canalization_1_min': 0, 'set_canalization_1_max': 255, 'set_canalization_2_min': 0, 'set_canalization_2_max': 255, 'enable_week_days': True, 'enable_water_puffer': False, 'enable_water_boiler': False, 'enable_water': False, 'enable_chrono_set_fan': False, 'set_fan_min': 0, 'set_fan_max': 255, 'id_registers_map': 'AD62C514-3790-4CFC-ADA0-57CC581FA295', 'rowVersion': '92623'}]} [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- [device] Init [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- [device] InitOK [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- |-- *************** Devices Add --> Relax [2023-02-25 14:06:16][DEBUG] : [AguaIot] |-- |-- Fetch heating devices OK [2023-02-25 14:06:16][INFO] : [AguaIot] |-- Lancement pyAguaIOT OK [2023-02-25 14:06:16][DEBUG] : [AguaIot] Initialisation pyAguaiot OK [2023-02-25 14:06:18][DEBUG] : [demon]|** |-- |-- |-- |-- commande pending found type:REFRESH_ALL [2023-02-25 14:06:18][DEBUG] : [demon]|** |-- |-- |-- |-- |-- demande refresh pour chaque poele [2023-02-25 14:06:18][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- parcours chaque device found [2023-02-25 14:06:18][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- device trouvee demande update [2023-02-25 14:06:18][DEBUG] : [AguaIot][device] Update device information [2023-02-25 14:06:18][DEBUG] : [AguaIot][device] |-- update_device_registers_mapping [2023-02-25 14:06:18][DEBUG] : [AguaIot][device] |-- |-- [device] __update_device_registers_mapping [2023-02-25 14:06:18][ERROR] : [AguaIot][device] |-- Update device information Error [2023-02-25 14:06:18][DEBUG] : [AguaIot][device] |-- Try to complet Reconnect *********************** [2023-02-25 14:06:18][INFO] : [AguaIot] Lancement pyAguaIOT [2023-02-25 14:06:18][DEBUG] : [AguaIot] |-- Suppression des devices [2023-02-25 14:06:18][DEBUG] : [AguaIot] |-- Register app ID [2023-02-25 14:06:18][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:18][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- Register app ID OK [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- Authenticate with email and password to Agua IOT [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- login header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'} [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- login url:https://moretti.agua-iot.com/userLogin [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- login payload:{"email": "xxxxxxx", "password": "xxxxxxxx"} [2023-02-25 14:06:19][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:19][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiNWMxNzhhNDYtOTYxZC00MTY0LWJmNjMtODVkMzc1YzcxMmE2IiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc5LCJleHAiOjE2Nzc0MjAzNzl9.iBmQvMOFde5c0mVOZT0P-9xtL4SvBAMFiuEIdIc_HB4', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc5LCJleHAiOjE2OTI4ODU5Nzl9.tZGzD3i059PstVpy8IpmSTwDfUkFEKUJXnryvHGM4cw'} [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- Authenticate with email and password to Agua IOT OK [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- Fetch heating devices [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- handle_webcall [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiNWMxNzhhNDYtOTYxZC00MTY0LWJmNjMtODVkMzc1YzcxMmE2IiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc5LCJleHAiOjE2Nzc0MjAzNzl9.iBmQvMOFde5c0mVOZT0P-9xtL4SvBAMFiuEIdIc_HB4'} [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceList [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall payload:{} [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall post method [2023-02-25 14:06:19][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:19][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 705 [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- handle_webcall --> OK [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- Fetch heating devices --> res: {'Success': True, 'device': [{'id': 'F5C6885D-8320-475C-AFF2-0965A5054160', 'id_device': 'AE85ACAF-0899-400C-8301-B1D2D44CBC96', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'id_client': 'ED245E1F-91DD-4E41-8D3B-83DB875A31DB', 'id_app': None, 'product_serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'mac': 'EC94CB743E00', 'security_code': '52605255', 'assistance_code': ' ', 'country': '', 'state': 'Savoie', 'city': 'Myans', 'creation_date': '2022-12-30T11:31:28.977Z', 'update_date': '2022-12-30T11:31:28.977Z', 'autorization_it': True, 'is_online': True, 'last_login_date': '2023-02-25T12:16:46.073Z', 'last_logout_date': '2023-02-21T12:13:08.467Z', 'cod_art': 'MORETTI', 'serial': 'MORETTI', 'name_product': 'MORETTI'}]} [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- handle_webcall [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiNWMxNzhhNDYtOTYxZC00MTY0LWJmNjMtODVkMzc1YzcxMmE2IiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTc5LCJleHAiOjE2Nzc0MjAzNzl9.iBmQvMOFde5c0mVOZT0P-9xtL4SvBAMFiuEIdIc_HB4'} [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceGetInfo [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall payload:{"id_device": "AE85ACAF-0899-400C-8301-B1D2D44CBC96", "id_product": "D6444D99-237D-4847-AAC1-2CBC9264624C"} [2023-02-25 14:06:19][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall post method [2023-02-25 14:06:19][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:20][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2023-02-25 14:06:20][DEBUG] : [AguaIot] |-- |-- handle_webcall --> OK [2023-02-25 14:06:20][DEBUG] : [AguaIot] |-- |-- Fetch heating devices info --> res: {'Success': True, 'Text': 'DEVICE_INFO_PRESENT', 'Value': True, 'device_info': [{'mac': 'EC94CB743E00', 'assistance_code': ' ', 'security_code': '52605255', 'creation_date_device': '2022-09-13T09:40:03.393Z', 'update_date_device': '2022-09-13T12:17:29.807Z', 'customer_code': '624813', 'cod_art': 'MORETTI', 'serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'enable_chrono_week': True, 'enable_set_chrono_week': True, 'chrono_programs': 4, 'set_power_min': 1, 'set_power_max': 5, 'enable_chrono_set_temperature': False, 'set_temperature_min': 5, 'set_temperature_max': 40, 'set_temperature_water_min': 0, 'set_temperature_water_max': 255, 'enable_chrono_set_power': True, 'enable_main_ventilation': False, 'enable_canalization_1': False, 'enable_canalization_2': False, 'set_canalization_1_min': 0, 'set_canalization_1_max': 255, 'set_canalization_2_min': 0, 'set_canalization_2_max': 255, 'enable_week_days': True, 'enable_water_puffer': False, 'enable_water_boiler': False, 'enable_water': False, 'enable_chrono_set_fan': False, 'set_fan_min': 0, 'set_fan_max': 255, 'id_registers_map': 'AD62C514-3790-4CFC-ADA0-57CC581FA295', 'rowVersion': '92623'}]} [2023-02-25 14:06:20][DEBUG] : [AguaIot] |-- |-- [device] Init [2023-02-25 14:06:20][DEBUG] : [AguaIot] |-- |-- [device] InitOK [2023-02-25 14:06:20][DEBUG] : [AguaIot] |-- |-- *************** Devices Add --> Relax [2023-02-25 14:06:20][DEBUG] : [AguaIot] |-- Fetch heating devices OK [2023-02-25 14:06:20][INFO] : [AguaIot] Lancement pyAguaIOT OK [2023-02-25 14:06:20][DEBUG] : [AguaIot][device] |-- complete reconnect done *********************** [2023-02-25 14:06:20][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- device:Relax udated [2023-02-25 14:06:20][DEBUG] : [AguaIot][device] |-- get_information_item [2023-02-25 14:06:20][WARNING] : status managed non disponnible [2023-02-25 14:06:20][DEBUG] : [AguaIot][device] |-- |-- get_information_item [2023-02-25 14:06:20][WARNING] : Status non disponnible [2023-02-25 14:06:20][DEBUG] : [AguaIot][device] |-- |-- |-- get_information_item [2023-02-25 14:06:20][ERROR] : [demon]|** |-- |-- |-- |-- |-- |-- |-- error : 'status_get' [2023-02-25 14:06:30][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- Re-connexion. [2023-02-25 14:06:30][DEBUG] : [AguaIot] Initialisation pyAguaiot [2023-02-25 14:06:30][INFO] : [AguaIot] |-- Lancement pyAguaIOT [2023-02-25 14:06:30][DEBUG] : [AguaIot] |-- |-- Suppression des devices [2023-02-25 14:06:30][DEBUG] : [AguaIot] |-- |-- Register app ID [2023-02-25 14:06:30][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:30][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2023-02-25 14:06:30][DEBUG] : [AguaIot] |-- |-- Register app ID OK [2023-02-25 14:06:30][DEBUG] : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT [2023-02-25 14:06:30][DEBUG] : [AguaIot] |-- |-- |-- login header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'} [2023-02-25 14:06:30][DEBUG] : [AguaIot] |-- |-- |-- login url:https://moretti.agua-iot.com/userLogin [2023-02-25 14:06:30][DEBUG] : [AguaIot] |-- |-- |-- login payload:{"email": "xxxxxxx", "password": "xxxxxxxx"} [2023-02-25 14:06:30][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:31][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjFiOGRlMzItM2RiZS00NmE5LTlhYjQtOGVmM2ZmZjcxNTJjIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTkwLCJleHAiOjE2Nzc0MjAzOTB9.XajsZsj8LCkqrVzITUm1brsfPlfu7sHFDPo2hRHe-BQ', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTkwLCJleHAiOjE2OTI4ODU5OTB9.6YKIL8QjQ_P_LR7VzU6Jw6_Q9a2zFInAZ64eQJsSeB8'} [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- Authenticate with email and password to Agua IOT OK [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- Fetch heating devices [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjFiOGRlMzItM2RiZS00NmE5LTlhYjQtOGVmM2ZmZjcxNTJjIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTkwLCJleHAiOjE2Nzc0MjAzOTB9.XajsZsj8LCkqrVzITUm1brsfPlfu7sHFDPo2hRHe-BQ'} [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceList [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall payload:{} [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall post method [2023-02-25 14:06:31][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:31][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 705 [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall --> OK [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- Fetch heating devices --> res: {'Success': True, 'device': [{'id': 'F5C6885D-8320-475C-AFF2-0965A5054160', 'id_device': 'AE85ACAF-0899-400C-8301-B1D2D44CBC96', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'id_client': 'ED245E1F-91DD-4E41-8D3B-83DB875A31DB', 'id_app': None, 'product_serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'mac': 'EC94CB743E00', 'security_code': '52605255', 'assistance_code': ' ', 'country': '', 'state': 'Savoie', 'city': 'Myans', 'creation_date': '2022-12-30T11:31:28.977Z', 'update_date': '2022-12-30T11:31:28.977Z', 'autorization_it': True, 'is_online': True, 'last_login_date': '2023-02-25T12:16:46.073Z', 'last_logout_date': '2023-02-21T12:13:08.467Z', 'cod_art': 'MORETTI', 'serial': 'MORETTI', 'name_product': 'MORETTI'}]} [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjFiOGRlMzItM2RiZS00NmE5LTlhYjQtOGVmM2ZmZjcxNTJjIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTkwLCJleHAiOjE2Nzc0MjAzOTB9.XajsZsj8LCkqrVzITUm1brsfPlfu7sHFDPo2hRHe-BQ'} [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceGetInfo [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall payload:{"id_device": "AE85ACAF-0899-400C-8301-B1D2D44CBC96", "id_product": "D6444D99-237D-4847-AAC1-2CBC9264624C"} [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- |-- handle_webcall post method [2023-02-25 14:06:31][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:31][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall --> OK [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- Fetch heating devices info --> res: {'Success': True, 'Text': 'DEVICE_INFO_PRESENT', 'Value': True, 'device_info': [{'mac': 'EC94CB743E00', 'assistance_code': ' ', 'security_code': '52605255', 'creation_date_device': '2022-09-13T09:40:03.393Z', 'update_date_device': '2022-09-13T12:17:29.807Z', 'customer_code': '624813', 'cod_art': 'MORETTI', 'serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'enable_chrono_week': True, 'enable_set_chrono_week': True, 'chrono_programs': 4, 'set_power_min': 1, 'set_power_max': 5, 'enable_chrono_set_temperature': False, 'set_temperature_min': 5, 'set_temperature_max': 40, 'set_temperature_water_min': 0, 'set_temperature_water_max': 255, 'enable_chrono_set_power': True, 'enable_main_ventilation': False, 'enable_canalization_1': False, 'enable_canalization_2': False, 'set_canalization_1_min': 0, 'set_canalization_1_max': 255, 'set_canalization_2_min': 0, 'set_canalization_2_max': 255, 'enable_week_days': True, 'enable_water_puffer': False, 'enable_water_boiler': False, 'enable_water': False, 'enable_chrono_set_fan': False, 'set_fan_min': 0, 'set_fan_max': 255, 'id_registers_map': 'AD62C514-3790-4CFC-ADA0-57CC581FA295', 'rowVersion': '92623'}]} [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- [device] Init [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- [device] InitOK [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- |-- *************** Devices Add --> Relax [2023-02-25 14:06:31][DEBUG] : [AguaIot] |-- |-- Fetch heating devices OK [2023-02-25 14:06:31][INFO] : [AguaIot] |-- Lancement pyAguaIOT OK [2023-02-25 14:06:31][DEBUG] : [AguaIot] Initialisation pyAguaiot OK [2023-02-25 14:06:33][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- commande pending found type:REFRESH_ALL [2023-02-25 14:06:33][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- |-- demande refresh pour chaque poele [2023-02-25 14:06:33][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- |-- |-- parcours chaque device found [2023-02-25 14:06:33][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- |-- |-- |-- device trouvee demande update [2023-02-25 14:06:33][DEBUG] : [AguaIot][device] Update device information [2023-02-25 14:06:33][DEBUG] : [AguaIot][device] |-- update_device_registers_mapping [2023-02-25 14:06:33][DEBUG] : [AguaIot][device] |-- |-- [device] __update_device_registers_mapping [2023-02-25 14:06:33][ERROR] : [AguaIot][device] |-- Update device information Error [2023-02-25 14:06:33][DEBUG] : [AguaIot][device] |-- Try to complet Reconnect *********************** [2023-02-25 14:06:33][INFO] : [AguaIot] Lancement pyAguaIOT [2023-02-25 14:06:33][DEBUG] : [AguaIot] |-- Suppression des devices [2023-02-25 14:06:33][DEBUG] : [AguaIot] |-- Register app ID [2023-02-25 14:06:33][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:34][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- Register app ID OK [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- Authenticate with email and password to Agua IOT [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- login header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'true', 'Authorization': '942ac0ed-4ab3-49c7-8e8c-ef0f1ef82529'} [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- login url:https://moretti.agua-iot.com/userLogin [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- login payload:{"email": "xxxxxxx", "password": "xxxxxxxx"} [2023-02-25 14:06:34][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:34][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjRhYjQ2YTItMDM0Ny00NTRhLTk5YzktMjQ0ZTIwZmY3ZDMyIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTk0LCJleHAiOjE2Nzc0MjAzOTR9.DIaRtYtf4Rd1hfgeKN3EZRMO3B0QCjiGXRoEyFGSz_8', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTk0LCJleHAiOjE2OTI4ODU5OTR9.PijHivxZJBf-7QIq4hrmppdkp1X8FZ8TnS7cGG_o3wk'} [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- Authenticate with email and password to Agua IOT OK [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- Fetch heating devices [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- handle_webcall [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjRhYjQ2YTItMDM0Ny00NTRhLTk5YzktMjQ0ZTIwZmY3ZDMyIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTk0LCJleHAiOjE2Nzc0MjAzOTR9.DIaRtYtf4Rd1hfgeKN3EZRMO3B0QCjiGXRoEyFGSz_8'} [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceList [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall payload:{} [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall post method [2023-02-25 14:06:34][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:34][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 705 [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- handle_webcall --> OK [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- Fetch heating devices --> res: {'Success': True, 'device': [{'id': 'F5C6885D-8320-475C-AFF2-0965A5054160', 'id_device': 'AE85ACAF-0899-400C-8301-B1D2D44CBC96', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'id_client': 'ED245E1F-91DD-4E41-8D3B-83DB875A31DB', 'id_app': None, 'product_serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'mac': 'EC94CB743E00', 'security_code': '52605255', 'assistance_code': ' ', 'country': '', 'state': 'Savoie', 'city': 'Myans', 'creation_date': '2022-12-30T11:31:28.977Z', 'update_date': '2022-12-30T11:31:28.977Z', 'autorization_it': True, 'is_online': True, 'last_login_date': '2023-02-25T12:16:46.073Z', 'last_logout_date': '2023-02-21T12:13:08.467Z', 'cod_art': 'MORETTI', 'serial': 'MORETTI', 'name_product': 'MORETTI'}]} [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- handle_webcall [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall header:{'Accept': 'application/json, text/javascript, */*; q=0.01', 'Content-Type': 'application/json; charset=utf-8', 'Origin': 'file://', 'Host': 'moretti.agua-iot.com', 'id_brand': '1', 'idbrand': '1', 'customer_code': '624813', 'local': 'false', 'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiZjRhYjQ2YTItMDM0Ny00NTRhLTk5YzktMjQ0ZTIwZmY3ZDMyIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjc3MzMzOTk0LCJleHAiOjE2Nzc0MjAzOTR9.DIaRtYtf4Rd1hfgeKN3EZRMO3B0QCjiGXRoEyFGSz_8'} [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall url:https://moretti.agua-iot.com/deviceGetInfo [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall payload:{"id_device": "AE85ACAF-0899-400C-8301-B1D2D44CBC96", "id_product": "D6444D99-237D-4847-AAC1-2CBC9264624C"} [2023-02-25 14:06:34][DEBUG] : [AguaIot] |-- |-- |-- handle_webcall post method [2023-02-25 14:06:34][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2023-02-25 14:06:35][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2023-02-25 14:06:35][DEBUG] : [AguaIot] |-- |-- handle_webcall --> OK [2023-02-25 14:06:35][DEBUG] : [AguaIot] |-- |-- Fetch heating devices info --> res: {'Success': True, 'Text': 'DEVICE_INFO_PRESENT', 'Value': True, 'device_info': [{'mac': 'EC94CB743E00', 'assistance_code': ' ', 'security_code': '52605255', 'creation_date_device': '2022-09-13T09:40:03.393Z', 'update_date_device': '2022-09-13T12:17:29.807Z', 'customer_code': '624813', 'cod_art': 'MORETTI', 'serial': '47272003', 'name': 'Relax', 'description': 'Relax', 'id_product': 'D6444D99-237D-4847-AAC1-2CBC9264624C', 'enable_chrono_week': True, 'enable_set_chrono_week': True, 'chrono_programs': 4, 'set_power_min': 1, 'set_power_max': 5, 'enable_chrono_set_temperature': False, 'set_temperature_min': 5, 'set_temperature_max': 40, 'set_temperature_water_min': 0, 'set_temperature_water_max': 255, 'enable_chrono_set_power': True, 'enable_main_ventilation': False, 'enable_canalization_1': False, 'enable_canalization_2': False, 'set_canalization_1_min': 0, 'set_canalization_1_max': 255, 'set_canalization_2_min': 0, 'set_canalization_2_max': 255, 'enable_week_days': True, 'enable_water_puffer': False, 'enable_water_boiler': False, 'enable_water': False, 'enable_chrono_set_fan': False, 'set_fan_min': 0, 'set_fan_max': 255, 'id_registers_map': 'AD62C514-3790-4CFC-ADA0-57CC581FA295', 'rowVersion': '92623'}]} [2023-02-25 14:06:35][DEBUG] : [AguaIot] |-- |-- [device] Init [2023-02-25 14:06:35][DEBUG] : [AguaIot] |-- |-- [device] InitOK [2023-02-25 14:06:35][DEBUG] : [AguaIot] |-- |-- *************** Devices Add --> Relax [2023-02-25 14:06:35][DEBUG] : [AguaIot] |-- Fetch heating devices OK [2023-02-25 14:06:35][INFO] : [AguaIot] Lancement pyAguaIOT OK [2023-02-25 14:06:35][DEBUG] : [AguaIot][device] |-- complete reconnect done *********************** [2023-02-25 14:06:35][DEBUG] : [demon]|** |-- |-- |-- |-- |-- |-- |-- |-- |-- |-- device:Relax udated [2023-02-25 14:06:35][DEBUG] : [AguaIot][device] |-- get_information_item [2023-02-25 14:06:35][WARNING] : status managed non disponnible [2023-02-25 14:06:35][DEBUG] : [AguaIot][device] |-- |-- get_information_item [2023-02-25 14:06:35][WARNING] : Status non disponnible [2023-02-25 14:06:35][DEBUG] : [AguaIot][device] |-- |-- |-- get_information_item [2023-02-25 14:06:35][ERROR] : [demon]|** |-- |-- |-- |-- |-- |-- |-- |-- |-- |-- error : 'status_get'