Rechercher dans la communauté
Affichage des résultats pour les étiquettes 'e44'.
1 résultat trouvé
-
me revoila avec une question C** je souhaite récupérer des valeurs dans un Json : { "zones": [{ "id": "5b139f1ef51445a30df80c6c", "system_id": "5b139f1ef51445a30df80c69", "device_id": "5a37f4167765621039320000", "modes": "1111111011", "warning": "0", "name": "Alyssa", "system_number": "1", "zone_number": "3", "state": "0", "consign": "24.5", "temp": "24.8", "mode": "1", "velocity": null, "show_velocity": null, "sleep": "0", "lower_conf_limit": "18.0", "upper_conf_limit": "30.0", "master": null, "eco": "0", "prog_enabled": "1", "speed_prog_mode": null, "show_ventilation": "1", "updated_at": 1528610421, "setup_type": "0", "class": "Zone", "last_update": 1528610421, "next_schedule_number": "0", "led": null, "offset": null, "cold_offset": null, "heat_offset": null, "scene": null, "air_flow": null, "humidity": null, "coldConsign": "", "heatConsign": "", "auto": false, "temperature_unit": false, "config": { "id": "5b159daaf51445a30df8123c", "cold_values": null, "heat_values": null, "cold_angle": null, "heat_angle": null, "swing_horizontal": null, "swing_vertical": null, "antifreeze": "0", "vla": null, "zone_number": "3", "slave": null, "master": null, "basic_mode": null, "ambient_temp": null, "heat_type": null, "cold_type": null, "heat_type_config": null, "cold_type_config": null, "ventilation": null, "q_weight": null, "window": null, "presence": null, "spray_dew": null, "local_vent": null, "tact_fw": null, "firm_lm": null, "manufacturer": null, "led": null, "confort_cold_consign": null, "confort_heat_consign": null, "eco_cold_consign": null, "eco_heat_consign": null, "unocupied_cold_consign": null, "unocupied_heat_consign": null, "vacation_cold_consign": null, "vacation_heat_consign": null, "firm_ws": "3.10", "offset": null, "errors": "0", "zone_id": "5b139f1ef51445a30df80c6c", "automatic_weight": null, "autochange_differential": null, "offset_environment_cold": null, "offset_environment_heat": null } }, { "id": "5b139f1ef51445a30df80c6d", "system_id": "5b139f1ef51445a30df80c69", "device_id": "5a37f4167765621039320000", "modes": "1111111011", "warning": "0", "name": "Bureau", "system_number": "1", "zone_number": "4", "state": "0", "consign": "27.0", "temp": "26.9", "mode": "1", "velocity": null, "show_velocity": null, "sleep": "0", "lower_conf_limit": "18.0", "upper_conf_limit": "30.0", "master": null, "eco": "0", "prog_enabled": "0", "speed_prog_mode": null, "show_ventilation": "1", "updated_at": 1528610421, "setup_type": "0", "class": "Zone", "last_update": 1528610421, "next_schedule_number": "0", "led": null, "offset": null, "cold_offset": null, "heat_offset": null, "scene": null, "air_flow": null, "humidity": null, "coldConsign": "", "heatConsign": "", "auto": false, "temperature_unit": false, "config": null }, { "id": "5b139f1ef51445a30df80c6a", "system_id": "5b139f1ef51445a30df80c69", "device_id": "5a37f4167765621039320000", "modes": "1111111011", "warning": "0", "name": "Parents", "system_number": "1", "zone_number": "1", "state": "1", "consign": "26.0", "temp": "26.1", "mode": "1", "velocity": null, "show_velocity": null, "sleep": "0", "lower_conf_limit": "18.0", "upper_conf_limit": "30.0", "master": "1", "eco": "0", "prog_enabled": "0", "speed_prog_mode": "0", "show_ventilation": "1", "updated_at": 1528610421, "setup_type": "0", "class": "Zone", "last_update": 1528610421, "next_schedule_number": "0", "led": null, "offset": null, "cold_offset": null, "heat_offset": null, "scene": null, "air_flow": null, "humidity": null, "coldConsign": "", "heatConsign": "", "auto": false, "temperature_unit": false, "config": null }, { "id": "5b139f1ef51445a30df80c6b", "system_id": "5b139f1ef51445a30df80c69", "device_id": "5a37f4167765621039320000", "modes": "1111111011", "warning": "0", "name": "Sport", "system_number": "1", "zone_number": "2", "state": "0", "consign": "25.0", "temp": "26.4", "mode": "1", "velocity": null, "show_velocity": null, "sleep": "0", "lower_conf_limit": "18.0", "upper_conf_limit": "30.0", "master": null, "eco": "0", "prog_enabled": "1", "speed_prog_mode": null, "show_ventilation": null, "updated_at": 1528610421, "setup_type": "0", "class": "Zone", "last_update": 1528610421, "next_schedule_number": "0", "led": null, "offset": null, "cold_offset": null, "heat_offset": null, "scene": null, "air_flow": null, "humidity": null, "coldConsign": "", "heatConsign": "", "auto": false, "temperature_unit": false, "config": null }] } avec mon départ : HC2 = Net.FHttp("airzonecloud.com"); response = HC2:GET("/zones/?format=json&system_id=*********&user_email=******&user_token=************") response = json.decode(response) fibaro:debug(' test : ' ..response.name) avec le retour suivant : expected value but found t_end at character 1 une idée ? merci