par Jmorize » 25 Sep 2014 22:00
Un peu en brute désolé
Example Response:
{"plant":
{"created_at":"2012-06-11T15:07:34+02:00",
"display_position":2,
"fertilizer_id":null,
"fertilizer_type":null,
"id":88310,
"last_fertilizer_at":null,
"last_mist_at":"2012-07-04T09:17:18+02:00",
"last_water_at":"2012-06-19T10:37:53+02:00",
"location":"Office",
"name":"Wali",
"next_fertilizer_at":null,
"next_mist_at":null,
"next_water_at":null,
"note":"null",
"plant_type_family_id":448,
"plant_type_id":0,
"pot_color":-865717249,
"pot_shape":2,
"size":0,
"updated_at":"2012-07-09T20:00:32+02:00",
"user_id":24518,
"wcd_calibration_checked_at":null,
"wcd_calibration_ended_at":null,
"wcd_calibration_started_at":null,
"vdm_calibration_start_pending":false,
"vdm_calibration_check_pending":false,
"vdm_next_calibration_check_at":null,
"vdm_last_calibration_check_at":null,
"vdm_calibration_in_progress":false,
"vdm_water_pending":false,
"vdm_water_level":0.4767244698745552,
"vdm_precalibrated":false,
"vdm_water_cycle":null,
"vdm_water_instruction":"Use lukewarm tap water. Water well so that water drops out into the saucer and remove the excess water from the saucer after 15 min.",
"vdm_water_analyzing_until":null,
"vdm_mist_pending":true,
"vdm_mist_level":0.0,
"vdm_mist_instruction":"Mist only the leaves. Do not spray onto the flowers or fruits.",
"vdm_fertilizer_pending":true,
"vdm_fertilizer_level":0.0,
"vdm_fertilizer_instruction":"Use Flower fertilizer (e.g. N8-P12-K6). Follow the instructions on the bottle. Water as usual.",
"vdm_temperature_pending":false,
"vdm_temperature_advice":null,
"vdm_temperature_level":0.9613715556530374,
"vdm_temperature_instruction":null,
"vdm_temperature_hint":"Wali is too warm.",
"vdm_temperature_analyzing_until":null,
"vdm_light_pending":false,
"vdm_light_advice":null,
"vdm_light_level":0.20501990425301445,
"vdm_light_instruction":null,
"vdm_light_hint":"Wali has too much shade.",
"vdm_light_analyzing_until":null,
"pot_color_hex":"cc6633",
"has_smart_device_associated":true,
"plant_photos":[]}}