[2022-11-11 08:58:27][INFO] : [deamon] Start demond [2022-11-11 08:58:27][INFO] : [deamon] Log level : debug [2022-11-11 08:58:27][INFO] : [deamon] Socket port : XXXX [2022-11-11 08:58:27][INFO] : [deamon] PoeleAgua service : https://moretti.agua-iot.com [2022-11-11 08:58:27][INFO] : [deamon] PoeleAgua login url : none [2022-11-11 08:58:27][INFO] : [deamon] PoeleAgua uuid : XXXXXXXXXXXXXXX [2022-11-11 08:58:27][INFO] : [deamon] PoeleAgua Brand : 1 [2022-11-11 08:58:27][INFO] : [deamon] PoeleAgua customer code : 624813 [2022-11-11 08:58:27][INFO] : [deamon] PID file : /tmp/jeedom/PoeleAgua/deamon.pid [2022-11-11 08:58:27][INFO] : [deamon] Apikey : X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV [2022-11-11 08:58:27][INFO] : [deamon] creation pid file [2022-11-11 08:58:27][INFO] : Writing PID 19803 to /tmp/jeedom/PoeleAgua/deamon.pid [2022-11-11 08:58:27][INFO] : Init request module v2.28.1 [2022-11-11 08:58:27][INFO] : [deamon] creation pid file done [2022-11-11 08:58:27][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-11-11 09:58:27][DEBUG] : reception callback [2022-11-11 08:58:27][DEBUG] : http://127.0.0.1:80 "GET /plugins/PoeleAgua/core/php/jeePoeleAgua.php?apikey=X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV HTTP/1.1" 200 0 [2022-11-11 08:58:27][INFO] : [deamon] creation socket [2022-11-11 08:58:27][INFO] : [deamon] appel main [2022-11-11 08:58:27][INFO] : [deamon] Start Main... [2022-11-11 08:58:27][INFO] : Socket interface started [2022-11-11 08:58:27][INFO] : LoopNetServer Thread started [2022-11-11 08:58:27][INFO] : Listening on: [127.0.0.1:3131] [2022-11-11 08:58:27][INFO] : [deamon] Read Socket Thread Launched [2022-11-11 08:58:27][INFO] : [deamon] Recupere la loop [2022-11-11 08:58:27][DEBUG] : Using selector: EpollSelector [2022-11-11 08:58:27][INFO] : [deamon] Lance l api [2022-11-11 08:58:27][DEBUG] : [deamon] connection au PoeleAgua adr:https://moretti.agua-iot.com [2022-11-11 08:58:27][DEBUG] : [agua-iot] Lancement init [2022-11-11 08:58:27][DEBUG] : [agua-iot] Lancement _login [2022-11-11 08:58:27][DEBUG] : [agua-iot] Register app id with Agua IOT [2022-11-11 08:58:27][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:27][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:27][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2022-11-11 08:58:27][DEBUG] : [agua-iot] Authenticate with email and password to Agua IOT [2022-11-11 08:58:27][DEBUG] : [agua-iot] Authenticate with email : XXXXXXXXXXXXXX [2022-11-11 08:58:27][DEBUG] : [agua-iot] Authenticate with password : XXXXXXXXXXXXXXX [2022-11-11 08:58:27][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:27][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:28][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2022-11-11 08:58:28][DEBUG] : [agua-iot] ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiMzBiYTU4OWQtNGNhNy00ODQ5LWI1OWMtMGJhMjRlOGQ4N2UzIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjY4MTU3MTA4LCJleHAiOjE2NjgyNDM1MDh9.Iay4IWxB_ZTu_8qeXN3r8xbJe6UrDiONJvGMDi1xr_I', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjY4MTU3MTA4LCJleHAiOjE2ODM3MDkxMDh9.r0zv7bQDhveKZt8cCDhTByYNrBEGwdTb0vmWpHMSYRo'} [2022-11-11 08:58:28][DEBUG] : [agua-iot] Fetch heating devices [2022-11-11 08:58:28][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:28][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:28][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:28][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 713 [2022-11-11 08:58:28][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:28][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:28][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:28][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:28][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2022-11-11 08:58:28][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:28][DEBUG] : [agua-iot] [device] Init [2022-11-11 08:58:28][DEBUG] : [agua-iot] Fetch device information of heating devices [2022-11-11 08:58:28][DEBUG] : [agua-iot] [device] Update device information [2022-11-11 08:58:28][DEBUG] : [agua-iot] [device] __update_device_registers_mapping [2022-11-11 08:58:28][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:28][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:28][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:28][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetRegistersMap HTTP/1.1" 200 77700 [2022-11-11 08:58:29][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:29][DEBUG] : [agua-iot] [device] __update_device_registers_mapping --> SUCCESSFULLY UPDATED REGISTERS MAP! [2022-11-11 08:58:29][DEBUG] : [agua-iot] [device] __update_device_registers_mapping --> REGISTERS MAP: {'accensioni_get': {'reg_type': 'GET', 'offset': 33006, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'alarms_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'alarms_get': {'reg_type': 'GET', 'offset': 51, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 65535}, 'calendar_day_set': {'reg_type': 'SET', 'offset': 33019, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 31, 'mask': 65535}, 'calendar_day_week_set': {'reg_type': 'SET', 'offset': 33016, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 7, 'mask': 65535}, 'calendar_month_set': {'reg_type': 'SET', 'offset': 33020, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 12, 'mask': 65535}, 'calendar_year_set': {'reg_type': 'SET', 'offset': 33021, 'formula': '#+2000', 'formula_inverse': '#-2000', 'format_string': '{0}', 'set_min': 15, 'set_max': 50, 'mask': 65535}, 'canalization_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_1_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 15}, 'canalization_1_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 15}, 'canalization_1_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_1_temp_air_set': {'reg_type': 'SET', 'offset': 32896, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_2_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_2_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_2_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_temp_air_get': {'reg_type': 'GET', 'offset': 60, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_2_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_man_auto_enable': {'reg_type': 'ENABLE', 'offset': 32917, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_man_auto_set': {'reg_type': 'SET', 'offset': 32899, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'canalization_single_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_single_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_single_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_single_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_single_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_single_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_single_temp_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'chrono_general_enable_set': {'reg_type': 'SET', 'offset': 32844, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_friday_set': {'reg_type': 'SET', 'offset': 32855, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_monday_set': {'reg_type': 'SET', 'offset': 32851, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_saturday_set': {'reg_type': 'SET', 'offset': 32856, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_sunday_set': {'reg_type': 'SET', 'offset': 32857, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_thursday_set': {'reg_type': 'SET', 'offset': 32854, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_tuesday_set': {'reg_type': 'SET', 'offset': 32852, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_wednesday_set': {'reg_type': 'SET', 'offset': 32853, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_power_set': {'reg_type': 'SET', 'offset': 32934, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p1_start_set': {'reg_type': 'SET', 'offset': 32849, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_stop_set': {'reg_type': 'SET', 'offset': 32850, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_temperature_set': {'reg_type': 'SET', 'offset': 32935, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p2_day_friday_set': {'reg_type': 'SET', 'offset': 32864, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_monday_set': {'reg_type': 'SET', 'offset': 32860, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_saturday_set': {'reg_type': 'SET', 'offset': 32865, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_sunday_set': {'reg_type': 'SET', 'offset': 32866, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_thursday_set': {'reg_type': 'SET', 'offset': 32863, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_tuesday_set': {'reg_type': 'SET', 'offset': 32861, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_wednesday_set': {'reg_type': 'SET', 'offset': 32862, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_power_set': {'reg_type': 'SET', 'offset': 32936, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p2_start_set': {'reg_type': 'SET', 'offset': 32858, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_stop_set': {'reg_type': 'SET', 'offset': 32859, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_temperature_set': {'reg_type': 'SET', 'offset': 32937, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p3_day_friday_set': {'reg_type': 'SET', 'offset': 32873, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_monday_set': {'reg_type': 'SET', 'offset': 32869, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_saturday_set': {'reg_type': 'SET', 'offset': 32874, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_sunday_set': {'reg_type': 'SET', 'offset': 32875, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_thursday_set': {'reg_type': 'SET', 'offset': 32872, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_tuesday_set': {'reg_type': 'SET', 'offset': 32870, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_wednesday_set': {'reg_type': 'SET', 'offset': 32871, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_power_set': {'reg_type': 'SET', 'offset': 32938, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p3_start_set': {'reg_type': 'SET', 'offset': 32867, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_stop_set': {'reg_type': 'SET', 'offset': 32868, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_temperature_set': {'reg_type': 'SET', 'offset': 32939, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p4_day_friday_set': {'reg_type': 'SET', 'offset': 32882, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_monday_set': {'reg_type': 'SET', 'offset': 32878, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_saturday_set': {'reg_type': 'SET', 'offset': 32883, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_sunday_set': {'reg_type': 'SET', 'offset': 32884, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_thursday_set': {'reg_type': 'SET', 'offset': 32881, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_tuesday_set': {'reg_type': 'SET', 'offset': 32879, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_wednesday_set': {'reg_type': 'SET', 'offset': 32880, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_power_set': {'reg_type': 'SET', 'offset': 32940, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p4_start_set': {'reg_type': 'SET', 'offset': 32876, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_stop_set': {'reg_type': 'SET', 'offset': 32877, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_temperature_set': {'reg_type': 'SET', 'offset': 32941, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 1, 'set_max': 40, 'mask': 255}, 'chrono_week_enable_set': {'reg_type': 'SET', 'offset': 32848, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'clock_hour_set': {'reg_type': 'SET', 'offset': 33017, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 23, 'mask': 65535}, 'clock_minute_set': {'reg_type': 'SET', 'offset': 33018, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 59, 'mask': 65535}, 'ore_lavoro_par_get': {'reg_type': 'GET', 'offset': 33004, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'ore_lavoro_tot_get': {'reg_type': 'GET', 'offset': 33002, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'pellet_type_get': {'reg_type': 'GET', 'offset': 32821, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'power_set': {'reg_type': 'SET', 'offset': 32895, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'real_power_get': {'reg_type': 'GET', 'offset': 93, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_get': {'reg_type': 'GET', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_off': 0}, 'status_managed_get': {'reg_type': 'GET', 'offset': 232, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_on': 85, 'value_off': 170}, 'status_managed_off_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_managed_on_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_get': {'reg_type': 'GET', 'offset': 1, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_palm_get': {'reg_type': 'GET', 'offset': 183, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_set': {'reg_type': 'SET', 'offset': 32893, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'temp_probe_k_get': {'reg_type': 'GET', 'offset': 87, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'thermostat_contact_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_1_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 1}, 'thermostat_contact_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_2_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'thermostat_contact_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'vent_main_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 128}, 'vent_main_set': {'reg_type': 'SET', 'offset': 32900, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 6, 'mask': 255, 'value_off': 0}} [2022-11-11 08:58:29][DEBUG] : [agua-iot] [device] __update_device_information [2022-11-11 08:58:29][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:29][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:29][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:29][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetBufferReading HTTP/1.1" 200 102 [2022-11-11 08:58:29][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:29][DEBUG] : [agua-iot] [device] __update_device_information--> GETBUFFERREADING SUCCEEDED! [2022-11-11 08:58:29][DEBUG] : [agua-iot] [device] __update_device_information--> res['idRequest']= b94bddab-0ab3-45a6-b05a-c520485725b6 [2022-11-11 08:58:29][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:29][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:29][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:29][DEBUG] : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/b94bddab-0ab3-45a6-b05a-c520485725b6 HTTP/1.1" 200 118 [2022-11-11 08:58:29][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:29][DEBUG] : [agua-iot] [device] __update_device_information--> devicejob status retry: 0 [2022-11-11 08:58:29][DEBUG] : [agua-iot] [device] __update_device_information--> res: {'Success': True, 'Text': 'DEVICE_JOB_STATUS_OK', 'jobRequestStatus': 'Missing job', 'jobAnswerStatus': 'Missing job answer'} [2022-11-11 09:58:30][INFO] : Démon PoeleAgua lancé [2022-11-11 08:58:30][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:30][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:30][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:30][DEBUG] : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/b94bddab-0ab3-45a6-b05a-c520485725b6 HTTP/1.1" 200 915 [2022-11-11 08:58:30][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:30][DEBUG] : [agua-iot] [device] __update_device_information--> res: {'Success': True, 'Text': 'DEVICE_JOB_STATUS_OK', 'jobRequestStatus': 'completed', 'jobAnswerStatus': 'completed', 'jobAnswerPayload': {'id': 1668157109201, 'jid': '083AF275D50C', 'pl': {'BufferId': 1, 'cmd': 'GetBufferReading'}, 'type': 'node'}, 'jobAnswerData': {'BufferId': 1, 'Items': [33, 51, 232, 33002, 32865, 32938, 32934, 32878, 32880, 32884, 33019, 32852, 119, 32894, 33006, 32848, 33021, 32851, 32821, 32917, 33016, 32844, 32893, 33018, 32866, 32875, 32863, 32879, 32856, 32900, 32, 32849, 59, 32869, 32877, 32870, 93, 32855, 32882, 32873, 33017, 32867, 32937, 32871, 33020, 32857, 32874, 183, 1, 32872, 32895, 32897, 32941, 32862, 32940, 32859, 32854, 32850, 32936, 32883, 32853, 87, 60, 33004, 32935, 32861, 32868, 32876, 32864, 32896, 32899, 32858, 32860, 32881, 32939], 'Values': [0, 0, 3, 1379, 1, 1, 3, 0, 0, 0, 17, 1, 148, 51, 315, 0, 34, 1, 9, 0, 5, 1, 22, 87, 1, 0, 0, 0, 1, 6, 11, 144, 0, 0, 144, 0, 5, 1, 0, 0, 9, 144, 21, 0, 17, 1, 0, 40, 40, 0, 3, 20, 20, 1, 1, 144, 1, 135, 3, 0, 1, 25, 0, 1379, 21, 1, 144, 144, 1, 20, 1, 144, 1, 0, 20], 'cmd': 'GetBufferReading'}} [2022-11-11 08:58:30][DEBUG] : [agua-iot] [device] __update_device_information--> JOBANSWERSTATUS COMPLETED! [2022-11-11 08:58:30][DEBUG] : [agua-iot] [device] __update_device_information--> SUCCESSFULLY RETRIEVED ITEM IN JOBANSWERDATA! [2022-11-11 08:58:30][DEBUG] : [agua-iot] [device] __update_device_information--> INFORMATION MAP: {33: 0, 51: 0, 232: 3, 33002: 1379, 32865: 1, 32938: 1, 32934: 3, 32878: 0, 32880: 0, 32884: 0, 33019: 17, 32852: 1, 119: 148, 32894: 51, 33006: 315, 32848: 0, 33021: 34, 32851: 1, 32821: 9, 32917: 0, 33016: 5, 32844: 1, 32893: 22, 33018: 87, 32866: 1, 32875: 0, 32863: 0, 32879: 0, 32856: 1, 32900: 6, 32: 11, 32849: 144, 59: 0, 32869: 0, 32877: 144, 32870: 0, 93: 5, 32855: 1, 32882: 0, 32873: 0, 33017: 9, 32867: 144, 32937: 21, 32871: 0, 33020: 17, 32857: 1, 32874: 0, 183: 40, 1: 40, 32872: 0, 32895: 3, 32897: 20, 32941: 20, 32862: 1, 32940: 1, 32859: 144, 32854: 1, 32850: 135, 32936: 3, 32883: 0, 32853: 1, 87: 25, 60: 0, 33004: 1379, 32935: 21, 32861: 1, 32868: 144, 32876: 144, 32864: 1, 32896: 20, 32899: 1, 32858: 144, 32860: 1, 32881: 0, 32939: 20} [2022-11-11 08:58:30][INFO] : [deamon] lance la boucle [2022-11-11 08:58:30][DEBUG] : [deamon] connection au PoeleAgua adr:https://moretti.agua-iot.com [2022-11-11 08:58:30][DEBUG] : [deamon] connection au PoeleAgua adr:https://moretti.agua-iot.com [2022-11-11 08:58:30][DEBUG] : [agua-iot] Lancement init [2022-11-11 08:58:30][DEBUG] : [agua-iot] Lancement _login [2022-11-11 08:58:30][DEBUG] : [agua-iot] Register app id with Agua IOT [2022-11-11 08:58:30][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:30][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:30][DEBUG] : https://moretti.agua-iot.com:443 "POST /appSignup HTTP/1.1" 201 64 [2022-11-11 08:58:30][DEBUG] : [agua-iot] Authenticate with email and password to Agua IOT [2022-11-11 08:58:30][DEBUG] : [agua-iot] Authenticate with email : XXXXXXXXX [2022-11-11 08:58:30][DEBUG] : [agua-iot] Authenticate with password : XXXXXXXXXXXXXXXX [2022-11-11 08:58:30][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:30][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:31][DEBUG] : https://moretti.agua-iot.com:443 "POST /userLogin HTTP/1.1" 200 816 [2022-11-11 08:58:31][DEBUG] : [agua-iot] ressource :{'Success': True, 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsImp3dGlkIjoiYjVkYWFmMmItYjBkYy00NzUyLTlmZDktMGZkYmMzMTVhNTAxIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjY4MTU3MTExLCJleHAiOjE2NjgyNDM1MTF9.CfvhazY0SihPVgg915uZjMqsU7tm8hYsoGWKhuf_YsY', 'refresh_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkVEMjQ1RTFGLTkxREQtNEU0MS04RDNCLTgzREI4NzVBMzFEQiIsInR5cGUiOiJyZWZyZXNoIiwiZW1haWwiOiJwZXJyZXQuZGFuQGZyZWUuZnIiLCJjdXN0b21lcl9jb2RlIjoiNjI0ODEzIiwiaWRfYXBwIjoiOTQyYWMwZWQtNGFiMy00OWM3LThlOGMtZWYwZjFlZjgyNTI5IiwiaWRfYnJhbmQiOiIxIiwiaWF0IjoxNjY4MTU3MTExLCJleHAiOjE2ODM3MDkxMTF9.EgD2k14Ivn0b9s58A9m4SBr1JTy-WgcUmiMRMNGi6Vw'} [2022-11-11 08:58:31][DEBUG] : [agua-iot] Fetch heating devices [2022-11-11 08:58:31][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:31][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:31][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:31][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceList HTTP/1.1" 200 713 [2022-11-11 08:58:31][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:31][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:31][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:31][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:31][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetInfo HTTP/1.1" 200 1143 [2022-11-11 08:58:31][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:31][DEBUG] : [agua-iot] [device] Init [2022-11-11 08:58:31][DEBUG] : [agua-iot] Fetch device information of heating devices [2022-11-11 08:58:31][DEBUG] : [agua-iot] [device] Update device information [2022-11-11 08:58:31][DEBUG] : [agua-iot] [device] __update_device_registers_mapping [2022-11-11 08:58:31][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:31][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:31][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:32][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetRegistersMap HTTP/1.1" 200 77700 [2022-11-11 08:58:32][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:32][DEBUG] : [agua-iot] [device] __update_device_registers_mapping --> SUCCESSFULLY UPDATED REGISTERS MAP! [2022-11-11 08:58:32][DEBUG] : [agua-iot] [device] __update_device_registers_mapping --> REGISTERS MAP: {'accensioni_get': {'reg_type': 'GET', 'offset': 33006, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'alarms_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'alarms_get': {'reg_type': 'GET', 'offset': 51, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 65535}, 'calendar_day_set': {'reg_type': 'SET', 'offset': 33019, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 31, 'mask': 65535}, 'calendar_day_week_set': {'reg_type': 'SET', 'offset': 33016, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 7, 'mask': 65535}, 'calendar_month_set': {'reg_type': 'SET', 'offset': 33020, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 12, 'mask': 65535}, 'calendar_year_set': {'reg_type': 'SET', 'offset': 33021, 'formula': '#+2000', 'formula_inverse': '#-2000', 'format_string': '{0}', 'set_min': 15, 'set_max': 50, 'mask': 65535}, 'canalization_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_1_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 15}, 'canalization_1_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 15}, 'canalization_1_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_1_temp_air_set': {'reg_type': 'SET', 'offset': 32896, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_2_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_2_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_2_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_temp_air_get': {'reg_type': 'GET', 'offset': 60, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_2_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_man_auto_enable': {'reg_type': 'ENABLE', 'offset': 32917, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_man_auto_set': {'reg_type': 'SET', 'offset': 32899, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'canalization_single_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_single_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_single_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_single_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_single_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_single_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_single_temp_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'chrono_general_enable_set': {'reg_type': 'SET', 'offset': 32844, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_friday_set': {'reg_type': 'SET', 'offset': 32855, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_monday_set': {'reg_type': 'SET', 'offset': 32851, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_saturday_set': {'reg_type': 'SET', 'offset': 32856, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_sunday_set': {'reg_type': 'SET', 'offset': 32857, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_thursday_set': {'reg_type': 'SET', 'offset': 32854, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_tuesday_set': {'reg_type': 'SET', 'offset': 32852, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_wednesday_set': {'reg_type': 'SET', 'offset': 32853, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_power_set': {'reg_type': 'SET', 'offset': 32934, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p1_start_set': {'reg_type': 'SET', 'offset': 32849, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_stop_set': {'reg_type': 'SET', 'offset': 32850, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_temperature_set': {'reg_type': 'SET', 'offset': 32935, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p2_day_friday_set': {'reg_type': 'SET', 'offset': 32864, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_monday_set': {'reg_type': 'SET', 'offset': 32860, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_saturday_set': {'reg_type': 'SET', 'offset': 32865, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_sunday_set': {'reg_type': 'SET', 'offset': 32866, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_thursday_set': {'reg_type': 'SET', 'offset': 32863, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_tuesday_set': {'reg_type': 'SET', 'offset': 32861, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_wednesday_set': {'reg_type': 'SET', 'offset': 32862, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_power_set': {'reg_type': 'SET', 'offset': 32936, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p2_start_set': {'reg_type': 'SET', 'offset': 32858, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_stop_set': {'reg_type': 'SET', 'offset': 32859, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_temperature_set': {'reg_type': 'SET', 'offset': 32937, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p3_day_friday_set': {'reg_type': 'SET', 'offset': 32873, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_monday_set': {'reg_type': 'SET', 'offset': 32869, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_saturday_set': {'reg_type': 'SET', 'offset': 32874, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_sunday_set': {'reg_type': 'SET', 'offset': 32875, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_thursday_set': {'reg_type': 'SET', 'offset': 32872, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_tuesday_set': {'reg_type': 'SET', 'offset': 32870, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_wednesday_set': {'reg_type': 'SET', 'offset': 32871, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_power_set': {'reg_type': 'SET', 'offset': 32938, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p3_start_set': {'reg_type': 'SET', 'offset': 32867, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_stop_set': {'reg_type': 'SET', 'offset': 32868, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_temperature_set': {'reg_type': 'SET', 'offset': 32939, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p4_day_friday_set': {'reg_type': 'SET', 'offset': 32882, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_monday_set': {'reg_type': 'SET', 'offset': 32878, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_saturday_set': {'reg_type': 'SET', 'offset': 32883, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_sunday_set': {'reg_type': 'SET', 'offset': 32884, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_thursday_set': {'reg_type': 'SET', 'offset': 32881, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_tuesday_set': {'reg_type': 'SET', 'offset': 32879, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_wednesday_set': {'reg_type': 'SET', 'offset': 32880, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_power_set': {'reg_type': 'SET', 'offset': 32940, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p4_start_set': {'reg_type': 'SET', 'offset': 32876, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_stop_set': {'reg_type': 'SET', 'offset': 32877, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_temperature_set': {'reg_type': 'SET', 'offset': 32941, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 1, 'set_max': 40, 'mask': 255}, 'chrono_week_enable_set': {'reg_type': 'SET', 'offset': 32848, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'clock_hour_set': {'reg_type': 'SET', 'offset': 33017, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 23, 'mask': 65535}, 'clock_minute_set': {'reg_type': 'SET', 'offset': 33018, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 59, 'mask': 65535}, 'ore_lavoro_par_get': {'reg_type': 'GET', 'offset': 33004, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'ore_lavoro_tot_get': {'reg_type': 'GET', 'offset': 33002, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'pellet_type_get': {'reg_type': 'GET', 'offset': 32821, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'power_set': {'reg_type': 'SET', 'offset': 32895, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'real_power_get': {'reg_type': 'GET', 'offset': 93, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_get': {'reg_type': 'GET', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_off': 0}, 'status_managed_get': {'reg_type': 'GET', 'offset': 232, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_on': 85, 'value_off': 170}, 'status_managed_off_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_managed_on_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_get': {'reg_type': 'GET', 'offset': 1, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_palm_get': {'reg_type': 'GET', 'offset': 183, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_set': {'reg_type': 'SET', 'offset': 32893, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'temp_probe_k_get': {'reg_type': 'GET', 'offset': 87, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'thermostat_contact_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_1_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 1}, 'thermostat_contact_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_2_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'thermostat_contact_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'vent_main_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 128}, 'vent_main_set': {'reg_type': 'SET', 'offset': 32900, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 6, 'mask': 255, 'value_off': 0}} [2022-11-11 08:58:32][DEBUG] : [agua-iot] [device] __update_device_information [2022-11-11 08:58:32][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:32][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:32][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:32][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetBufferReading HTTP/1.1" 200 102 [2022-11-11 08:58:32][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:32][DEBUG] : [agua-iot] [device] __update_device_information--> GETBUFFERREADING SUCCEEDED! [2022-11-11 08:58:32][DEBUG] : [agua-iot] [device] __update_device_information--> res['idRequest']= bece191e-f553-4146-8e27-6cf66ec20e4e [2022-11-11 08:58:32][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:58:32][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:58:32][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:58:33][DEBUG] : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/bece191e-f553-4146-8e27-6cf66ec20e4e HTTP/1.1" 200 915 [2022-11-11 08:58:33][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:58:33][DEBUG] : [agua-iot] [device] __update_device_information--> res: {'Success': True, 'Text': 'DEVICE_JOB_STATUS_OK', 'jobRequestStatus': 'completed', 'jobAnswerStatus': 'completed', 'jobAnswerPayload': {'id': 1668157112405, 'jid': '083AF275D50C', 'pl': {'BufferId': 1, 'cmd': 'GetBufferReading'}, 'type': 'node'}, 'jobAnswerData': {'BufferId': 1, 'Items': [33, 51, 232, 33002, 32865, 32938, 32934, 32878, 32880, 32884, 33019, 32852, 119, 32894, 33006, 32848, 33021, 32851, 32821, 32917, 33016, 32844, 32893, 33018, 32866, 32875, 32863, 32879, 32856, 32900, 32, 32849, 59, 32869, 32877, 32870, 93, 32855, 32882, 32873, 33017, 32867, 32937, 32871, 33020, 32857, 32874, 183, 1, 32872, 32895, 32897, 32941, 32862, 32940, 32859, 32854, 32850, 32936, 32883, 32853, 87, 60, 33004, 32935, 32861, 32868, 32876, 32864, 32896, 32899, 32858, 32860, 32881, 32939], 'Values': [0, 0, 3, 1379, 1, 1, 3, 0, 0, 0, 17, 1, 148, 51, 315, 0, 34, 1, 9, 0, 5, 1, 22, 87, 1, 0, 1, 0, 1, 6, 11, 144, 0, 0, 144, 0, 5, 1, 0, 0, 9, 144, 21, 0, 17, 1, 0, 40, 40, 0, 3, 20, 20, 1, 1, 144, 1, 135, 3, 0, 1, 25, 0, 1379, 21, 1, 144, 144, 1, 20, 1, 144, 1, 0, 20], 'cmd': 'GetBufferReading'}} [2022-11-11 08:58:33][DEBUG] : [agua-iot] [device] __update_device_information--> JOBANSWERSTATUS COMPLETED! [2022-11-11 08:58:33][DEBUG] : [agua-iot] [device] __update_device_information--> SUCCESSFULLY RETRIEVED ITEM IN JOBANSWERDATA! [2022-11-11 08:58:33][DEBUG] : [agua-iot] [device] __update_device_information--> INFORMATION MAP: {33: 0, 51: 0, 232: 3, 33002: 1379, 32865: 1, 32938: 1, 32934: 3, 32878: 0, 32880: 0, 32884: 0, 33019: 17, 32852: 1, 119: 148, 32894: 51, 33006: 315, 32848: 0, 33021: 34, 32851: 1, 32821: 9, 32917: 0, 33016: 5, 32844: 1, 32893: 22, 33018: 87, 32866: 1, 32875: 0, 32863: 1, 32879: 0, 32856: 1, 32900: 6, 32: 11, 32849: 144, 59: 0, 32869: 0, 32877: 144, 32870: 0, 93: 5, 32855: 1, 32882: 0, 32873: 0, 33017: 9, 32867: 144, 32937: 21, 32871: 0, 33020: 17, 32857: 1, 32874: 0, 183: 40, 1: 40, 32872: 0, 32895: 3, 32897: 20, 32941: 20, 32862: 1, 32940: 1, 32859: 144, 32854: 1, 32850: 135, 32936: 3, 32883: 0, 32853: 1, 87: 25, 60: 0, 33004: 1379, 32935: 21, 32861: 1, 32868: 144, 32876: 144, 32864: 1, 32896: 20, 32899: 1, 32858: 144, 32860: 1, 32881: 0, 32939: 20} [2022-11-11 08:58:33][DEBUG] : [deamon] lance la boucle attente commande [2022-11-11 09:59:02][DEBUG] : Deamon_info:ok [2022-11-11 09:59:02][DEBUG] : [core] recherche cmd spe [2022-11-11 09:59:02][INFO] : [core] refreshAll [2022-11-11 08:59:02][INFO] : Client connected to [127.0.0.1:52530] [2022-11-11 09:59:02][INFO] : [core] socket close [2022-11-11 08:59:02][INFO] : Message read from socket: b'{"apikey":"X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV","ID":"0","TYPE":"REFRESH_ALL","VALUE":"0","cmdSpe":[]}' [2022-11-11 08:59:02][INFO] : Client disconnected from [127.0.0.1:52530] [2022-11-11 08:59:02][DEBUG] : [deamon] Message 1 received in socket JEEDOM_SOCKET_MESSAGE :b'{"apikey":"X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV","ID":"0","TYPE":"REFRESH_ALL","VALUE":"0","cmdSpe":[]}' [2022-11-11 08:59:02][DEBUG] : [deamon] Message decoded 1 apikey:X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV [2022-11-11 08:59:02][DEBUG] : [deamon] COMMANDE_TYPE :REFRESH_ALL ID:0 value:0 cmdSpe:[] [2022-11-11 08:59:02][DEBUG] : [deamon] COMMANDE pending [2022-11-11 08:59:02][DEBUG] : [deamon] commande pending found type:REFRESH_ALL [2022-11-11 08:59:02][DEBUG] : [deamon] demande refresh pour chaque noeud [2022-11-11 08:59:02][DEBUG] : [agua-iot] [device] Update device information [2022-11-11 08:59:02][DEBUG] : [agua-iot] [device] __update_device_registers_mapping [2022-11-11 08:59:02][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:59:02][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:59:02][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:59:02][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetRegistersMap HTTP/1.1" 200 77700 [2022-11-11 08:59:03][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:59:03][DEBUG] : [agua-iot] [device] __update_device_registers_mapping --> SUCCESSFULLY UPDATED REGISTERS MAP! [2022-11-11 08:59:03][DEBUG] : [agua-iot] [device] __update_device_registers_mapping --> REGISTERS MAP: {'accensioni_get': {'reg_type': 'GET', 'offset': 33006, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'alarms_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'alarms_get': {'reg_type': 'GET', 'offset': 51, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 65535}, 'calendar_day_set': {'reg_type': 'SET', 'offset': 33019, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 31, 'mask': 65535}, 'calendar_day_week_set': {'reg_type': 'SET', 'offset': 33016, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 7, 'mask': 65535}, 'calendar_month_set': {'reg_type': 'SET', 'offset': 33020, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 12, 'mask': 65535}, 'calendar_year_set': {'reg_type': 'SET', 'offset': 33021, 'formula': '#+2000', 'formula_inverse': '#-2000', 'format_string': '{0}', 'set_min': 15, 'set_max': 50, 'mask': 65535}, 'canalization_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_1_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 15}, 'canalization_1_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 15}, 'canalization_1_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_1_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_1_temp_air_set': {'reg_type': 'SET', 'offset': 32896, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_2_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_2_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_2_temp_air_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_2_temp_air_get': {'reg_type': 'GET', 'offset': 60, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_2_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_man_auto_enable': {'reg_type': 'ENABLE', 'offset': 32917, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_man_auto_set': {'reg_type': 'SET', 'offset': 32899, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'canalization_single_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 240}, 'canalization_single_lock_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'canalization_single_lock_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 6, 'set_max': 6, 'mask': 240}, 'canalization_single_set': {'reg_type': 'SET', 'offset': 32894, 'formula': '#/16', 'formula_inverse': '#*16', 'format_string': '{0}', 'set_min': 1, 'set_max': 6, 'mask': 240}, 'canalization_single_temp_air_get': {'reg_type': 'GET', 'offset': 59, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'canalization_single_temp_air_set': {'reg_type': 'SET', 'offset': 32897, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 40, 'mask': 255}, 'canalization_single_temp_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'chrono_general_enable_set': {'reg_type': 'SET', 'offset': 32844, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_friday_set': {'reg_type': 'SET', 'offset': 32855, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_monday_set': {'reg_type': 'SET', 'offset': 32851, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_saturday_set': {'reg_type': 'SET', 'offset': 32856, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_sunday_set': {'reg_type': 'SET', 'offset': 32857, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_thursday_set': {'reg_type': 'SET', 'offset': 32854, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_tuesday_set': {'reg_type': 'SET', 'offset': 32852, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_day_wednesday_set': {'reg_type': 'SET', 'offset': 32853, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p1_power_set': {'reg_type': 'SET', 'offset': 32934, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p1_start_set': {'reg_type': 'SET', 'offset': 32849, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_stop_set': {'reg_type': 'SET', 'offset': 32850, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p1_temperature_set': {'reg_type': 'SET', 'offset': 32935, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p2_day_friday_set': {'reg_type': 'SET', 'offset': 32864, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_monday_set': {'reg_type': 'SET', 'offset': 32860, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_saturday_set': {'reg_type': 'SET', 'offset': 32865, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_sunday_set': {'reg_type': 'SET', 'offset': 32866, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_thursday_set': {'reg_type': 'SET', 'offset': 32863, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_tuesday_set': {'reg_type': 'SET', 'offset': 32861, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_day_wednesday_set': {'reg_type': 'SET', 'offset': 32862, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p2_power_set': {'reg_type': 'SET', 'offset': 32936, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p2_start_set': {'reg_type': 'SET', 'offset': 32858, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_stop_set': {'reg_type': 'SET', 'offset': 32859, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p2_temperature_set': {'reg_type': 'SET', 'offset': 32937, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p3_day_friday_set': {'reg_type': 'SET', 'offset': 32873, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_monday_set': {'reg_type': 'SET', 'offset': 32869, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_saturday_set': {'reg_type': 'SET', 'offset': 32874, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_sunday_set': {'reg_type': 'SET', 'offset': 32875, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_thursday_set': {'reg_type': 'SET', 'offset': 32872, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_tuesday_set': {'reg_type': 'SET', 'offset': 32870, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_day_wednesday_set': {'reg_type': 'SET', 'offset': 32871, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p3_power_set': {'reg_type': 'SET', 'offset': 32938, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p3_start_set': {'reg_type': 'SET', 'offset': 32867, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_stop_set': {'reg_type': 'SET', 'offset': 32868, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p3_temperature_set': {'reg_type': 'SET', 'offset': 32939, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'chrono_p4_day_friday_set': {'reg_type': 'SET', 'offset': 32882, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_monday_set': {'reg_type': 'SET', 'offset': 32878, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_saturday_set': {'reg_type': 'SET', 'offset': 32883, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_sunday_set': {'reg_type': 'SET', 'offset': 32884, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_thursday_set': {'reg_type': 'SET', 'offset': 32881, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_tuesday_set': {'reg_type': 'SET', 'offset': 32879, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_day_wednesday_set': {'reg_type': 'SET', 'offset': 32880, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'chrono_p4_power_set': {'reg_type': 'SET', 'offset': 32940, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'chrono_p4_start_set': {'reg_type': 'SET', 'offset': 32876, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_stop_set': {'reg_type': 'SET', 'offset': 32877, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 144, 'mask': 255}, 'chrono_p4_temperature_set': {'reg_type': 'SET', 'offset': 32941, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 1, 'set_max': 40, 'mask': 255}, 'chrono_week_enable_set': {'reg_type': 'SET', 'offset': 32848, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 255}, 'clock_hour_set': {'reg_type': 'SET', 'offset': 33017, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 23, 'mask': 65535}, 'clock_minute_set': {'reg_type': 'SET', 'offset': 33018, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 59, 'mask': 65535}, 'ore_lavoro_par_get': {'reg_type': 'GET', 'offset': 33004, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'ore_lavoro_tot_get': {'reg_type': 'GET', 'offset': 33002, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'pellet_type_get': {'reg_type': 'GET', 'offset': 32821, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'power_set': {'reg_type': 'SET', 'offset': 32895, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 1, 'set_max': 5, 'mask': 255}, 'real_power_get': {'reg_type': 'GET', 'offset': 93, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_get': {'reg_type': 'GET', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_off': 0}, 'status_managed_get': {'reg_type': 'GET', 'offset': 232, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255, 'value_on': 85, 'value_off': 170}, 'status_managed_off_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'status_managed_on_enable': {'reg_type': 'ENABLE', 'offset': 33, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_get': {'reg_type': 'GET', 'offset': 1, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_palm_get': {'reg_type': 'GET', 'offset': 183, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 255, 'mask': 255}, 'temp_air_set': {'reg_type': 'SET', 'offset': 32893, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 7, 'set_max': 40, 'mask': 255}, 'temp_probe_k_get': {'reg_type': 'GET', 'offset': 87, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0} °C', 'set_min': 0, 'set_max': 65535, 'mask': 65535}, 'thermostat_contact_1_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_1_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 1}, 'thermostat_contact_2_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_2_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'thermostat_contact_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'mask': 252}, 'thermostat_contact_get': {'reg_type': 'GET', 'offset': 32, 'formula': '#/2', 'formula_inverse': '#*2', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 2}, 'vent_main_enable': {'reg_type': 'ENABLE', 'offset': 119, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 1, 'mask': 128}, 'vent_main_set': {'reg_type': 'SET', 'offset': 32900, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 6, 'mask': 255, 'value_off': 0}} [2022-11-11 08:59:03][DEBUG] : [agua-iot] [device] __update_device_information [2022-11-11 08:59:03][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:59:03][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:59:03][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:59:03][DEBUG] : https://moretti.agua-iot.com:443 "POST /deviceGetBufferReading HTTP/1.1" 200 102 [2022-11-11 08:59:03][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:59:03][DEBUG] : [agua-iot] [device] __update_device_information--> GETBUFFERREADING SUCCEEDED! [2022-11-11 08:59:03][DEBUG] : [agua-iot] [device] __update_device_information--> res['idRequest']= 3ec03784-af5f-4a94-8499-1be92d107451 [2022-11-11 08:59:03][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:59:03][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:59:03][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:59:03][DEBUG] : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/3ec03784-af5f-4a94-8499-1be92d107451 HTTP/1.1" 200 118 [2022-11-11 08:59:03][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:59:03][DEBUG] : [agua-iot] [device] __update_device_information--> devicejob status retry: 0 [2022-11-11 08:59:03][DEBUG] : [agua-iot] [device] __update_device_information--> res: {'Success': True, 'Text': 'DEVICE_JOB_STATUS_OK', 'jobRequestStatus': 'Missing job', 'jobAnswerStatus': 'Missing job answer'} [2022-11-11 08:59:04][DEBUG] : [agua-iot] handle_webcall [2022-11-11 08:59:04][DEBUG] : [agua-iot] Correctly set headers for requests to Agua IOT [2022-11-11 08:59:04][DEBUG] : Starting new HTTPS connection (1): moretti.agua-iot.com:443 [2022-11-11 08:59:04][DEBUG] : https://moretti.agua-iot.com:443 "GET /deviceJobStatus/3ec03784-af5f-4a94-8499-1be92d107451 HTTP/1.1" 200 913 [2022-11-11 08:59:04][DEBUG] : [agua-iot] handle_webcall --> OK [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __update_device_information--> res: {'Success': True, 'Text': 'DEVICE_JOB_STATUS_OK', 'jobRequestStatus': 'completed', 'jobAnswerStatus': 'completed', 'jobAnswerPayload': {'id': 1668157143313, 'jid': '083AF275D50C', 'pl': {'BufferId': 1, 'cmd': 'GetBufferReading'}, 'type': 'node'}, 'jobAnswerData': {'BufferId': 1, 'Items': [33, 51, 232, 33002, 32865, 32938, 32934, 32878, 32880, 32884, 33019, 32852, 119, 32894, 33006, 32848, 33021, 32851, 32821, 32917, 33016, 32844, 32893, 33018, 32866, 32875, 32863, 32879, 32856, 32900, 32, 32849, 59, 32869, 32877, 32870, 93, 32855, 32882, 32873, 33017, 32867, 32937, 32871, 33020, 32857, 32874, 183, 1, 32872, 32895, 32897, 32941, 32862, 32940, 32859, 32854, 32850, 32936, 32883, 32853, 87, 60, 33004, 32935, 32861, 32868, 32876, 32864, 32896, 32899, 32858, 32860, 32881, 32939], 'Values': [0, 0, 3, 1379, 1, 1, 3, 0, 0, 0, 17, 1, 148, 51, 315, 0, 34, 1, 9, 0, 5, 1, 22, 88, 1, 0, 1, 0, 1, 6, 11, 144, 0, 0, 144, 0, 5, 1, 0, 0, 9, 0, 21, 0, 17, 1, 0, 40, 40, 0, 3, 20, 20, 1, 1, 144, 1, 135, 3, 0, 1, 26, 0, 1379, 21, 1, 144, 144, 1, 20, 1, 144, 1, 0, 20], 'cmd': 'GetBufferReading'}} [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __update_device_information--> JOBANSWERSTATUS COMPLETED! [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __update_device_information--> SUCCESSFULLY RETRIEVED ITEM IN JOBANSWERDATA! [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __update_device_information--> INFORMATION MAP: {33: 0, 51: 0, 232: 3, 33002: 1379, 32865: 1, 32938: 1, 32934: 3, 32878: 0, 32880: 0, 32884: 0, 33019: 17, 32852: 1, 119: 148, 32894: 51, 33006: 315, 32848: 0, 33021: 34, 32851: 1, 32821: 9, 32917: 0, 33016: 5, 32844: 1, 32893: 22, 33018: 88, 32866: 1, 32875: 0, 32863: 1, 32879: 0, 32856: 1, 32900: 6, 32: 11, 32849: 144, 59: 0, 32869: 0, 32877: 144, 32870: 0, 93: 5, 32855: 1, 32882: 0, 32873: 0, 33017: 9, 32867: 0, 32937: 21, 32871: 0, 33020: 17, 32857: 1, 32874: 0, 183: 40, 1: 40, 32872: 0, 32895: 3, 32897: 20, 32941: 20, 32862: 1, 32940: 1, 32859: 144, 32854: 1, 32850: 135, 32936: 3, 32883: 0, 32853: 1, 87: 26, 60: 0, 33004: 1379, 32935: 21, 32861: 1, 32868: 144, 32876: 144, 32864: 1, 32896: 20, 32899: 1, 32858: 144, 32860: 1, 32881: 0, 32939: 20} [2022-11-11 08:59:04][DEBUG] : [deamon] device:Salon found [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'status_managed_get' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'status_managed_get' ORIGINAL VALUE: 3 [2022-11-11 08:59:04][DEBUG] : GET 'status_managed_get' CALCULATED VALUE: 3 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'status_get' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'status_get' ORIGINAL VALUE: 0 [2022-11-11 08:59:04][DEBUG] : GET 'status_get' CALCULATED VALUE: 0 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'status_get' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'status_get' ORIGINAL VALUE: 0 [2022-11-11 08:59:04][DEBUG] : GET 'status_get' CALCULATED VALUE: 0 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'alarms_get' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'alarms_get' ORIGINAL VALUE: 0 [2022-11-11 08:59:04][DEBUG] : GET 'alarms_get' CALCULATED VALUE: 0 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'real_power_get' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'real_power_get' ORIGINAL VALUE: 5 [2022-11-11 08:59:04][DEBUG] : GET 'real_power_get' CALCULATED VALUE: 5 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_get' FORMULA: #/2 [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_get' ORIGINAL VALUE: 40 [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_get' CALCULATED VALUE: 20.0 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'power_set' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'power_set' ORIGINAL VALUE: 3 [2022-11-11 08:59:04][DEBUG] : GET 'power_set' CALCULATED VALUE: 3 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : remplacement temp_gas_flue_get par temp_probe_k_get [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'temp_probe_k_get' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'temp_probe_k_get' ORIGINAL VALUE: 26 [2022-11-11 08:59:04][DEBUG] : GET 'temp_probe_k_get' CALCULATED VALUE: 26 [2022-11-11 08:59:04][DEBUG] : [agua-iot] [device] __get_information_item [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_set' FORMULA: # [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_set' ORIGINAL VALUE: 22 [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_set' CALCULATED VALUE: 22 [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_set' MIN: 7 [2022-11-11 08:59:04][DEBUG] : GET 'temp_air_set' MAX: 40 [2022-11-11 08:59:04][DEBUG] : [deamon] send change imediate [2022-11-11 08:59:04][INFO] : Send to jeedom : {'Id': '0F41B1F2-61F7-43F4-A0B4-3144F96C46BC', 'status_managed': '3', 'Name': 'Salon', 'Modele': 'MORETTI', 'Status': '0', 'StatusTranslated': 'OFF', 'alarme': '0', 'Puissance': '5', 'AmbTemp': '20.0', 'Ventilo': '3', 'GazTemp': '26.0', 'Consigne': '22.0', 'TempMin': '7', 'TempMax': '40', 'is_online': 'True'} [2022-11-11 08:59:04][DEBUG] : [deamon] send change imediate done [2022-11-11 08:59:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-11-11 08:59:04][DEBUG] : [deamon] no more command pending [2022-11-11 09:59:04][DEBUG] : reception callback [2022-11-11 09:59:04][DEBUG] : test=Array ( [Id] => 0F41B1F2-61F7-43F4-A0B4-3144F96C46BC [status_managed] => 3 [Name] => Salon [Modele] => MORETTI [Status] => 0 [StatusTranslated] => OFF [alarme] => 0 [Puissance] => 5 [AmbTemp] => 20.0 [Ventilo] => 3 [GazTemp] => 26.0 [Consigne] => 22.0 [TempMin] => 7 [TempMax] => 40 [is_online] => True ) [2022-11-11 09:59:04][DEBUG] : Creation commandes [2022-11-11 08:59:04][DEBUG] : http://127.0.0.1:80 "POST /plugins/PoeleAgua/core/php/jeePoeleAgua.php?apikey=X10MASW7XuJp6C4Q3gykKUS6SQ0DrytjeIW0EG3TqYqWkejEKAR4KVtcyDgTcHNV HTTP/1.1" 200 0