Open davidgruhin opened 9 years ago
Can you explain how you would like to see it implemented?
The basic controls that seem available are turning on/off the master valve, rain sensor, & the scheduler.
It also looks like it accepts arrays to control the individual zones with "enabled" true/false as the only really option. The rest of the stuff in each individual zone seems better suited for Wink App configuration instead of this web app.
I don't really need any control I just wanted to give you a heads up.
It would be good enough to know if the Sprinkler was on, but the Master Valve is not an on/off indicator it is a sprinkler system type. The rain sensor is a You have it or you don't toggle.
Just show me if the sprinkler is running and if so which zones. That should be good enough for anyone. There are too many little controls to bake in to your app for what I imagine is a limited audience.
{ "sprinkler_id": "1483", "name": "Sprinkler", "locale": "en_us", "units": {}, "created_at": 1429295028, "hidden_at": null, "capabilities": {}, "subscription": { "pubnub": { "subscribe_key": "sub-c-f7bf7f7e-0542-11e3-a5e8-02ee2ddab7fe", "channel": "ecbd8151da8524635b2dfd777c4f55f33a042285|sprinkler-1483|user-186645" } }, "user_ids": [ "186645" ], "desired_state": { "master_valve": false, "rain_sensor": false, "schedule_enabled": false, "run_zone_indices": [], "run_zone_durations": [] }, "manufacturer_device_model": "rachio_iro", "manufacturer_device_id": "b26d4e70-f4df-481a-9149-c9bac4c3a09e", "device_manufacturer": "rachio", "model_name": "Iro", "upc_id": "152", "linked_service_id": "100792", "last_reading": { "connection": true, "connection_updated_at": 1429477160.725, "master_valve": false, "master_valve_updated_at": 1429477160.725, "rain_sensor": false, "rain_sensor_updated_at": 1429477160.725, "schedule_enabled": false, "schedule_enabled_updated_at": 1429477160.725, "run_zone_indices": [], "run_zone_indices_updated_at": 1429361044.5683227, "run_zone_durations": [], "run_zone_durations_updated_at": 1429361044.5683227, "desired_master_valve": false, "desired_master_valve_updated_at": 1429361044.6298194, "desired_rain_sensor": false, "desired_rain_sensor_updated_at": 1429361042.534966, "desired_schedule_enabled": false, "desired_schedule_enabled_updated_at": 1429361044.6298397, "desired_run_zone_indices": [], "desired_run_zone_indices_updated_at": 1429361042.5349822, "desired_run_zone_durations": [], "desired_run_zone_durations_updated_at": 1429361042.5349896 }, "lat_lng": [ 41.38983, -81.42602 ], "location": "", "zones": [ { "name": "Top Driveway", "desired_state": { "enabled": true, "enabled_updated_at": 1429361044.6298468, "shade": "none", "shade_updated_at": 1429361044.6298535, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6298602, "soil": "top_soil", "soil_updated_at": 1429361044.6298668, "slope": "flat", "slope_updated_at": 1429361044.629873, "vegetation": "grass", "vegetation_updated_at": 1429361044.6298814 }, "last_reading": { "enabled": true, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 0, "zone_id": "12501", "parent_object_type": "sprinkler", "parent_object_id": "1483" }, { "name": "Driveway Bottom", "desired_state": { "enabled": true, "enabled_updated_at": 1429361044.6298881, "shade": "none", "shade_updated_at": 1429361044.6298945, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6299007, "soil": "top_soil", "soil_updated_at": 1429361044.6299071, "slope": "flat", "slope_updated_at": 1429361044.6299136, "vegetation": "grass", "vegetation_updated_at": 1429361044.6299202 }, "last_reading": { "enabled": true, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 1, "zone_id": "12502", "parent_object_type": "sprinkler", "parent_object_id": "1483" }, { "name": "Tree Lawn", "desired_state": { "enabled": true, "enabled_updated_at": 1429361044.6299269, "shade": "none", "shade_updated_at": 1429361044.6299338, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6299408, "soil": "top_soil", "soil_updated_at": 1429361044.6299474, "slope": "flat", "slope_updated_at": 1429361044.6299543, "vegetation": "grass", "vegetation_updated_at": 1429361044.629961 }, "last_reading": { "enabled": true, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 2, "zone_id": "12503", "parent_object_type": "sprinkler", "parent_object_id": "1483" }, { "name": "Back Right", "desired_state": { "enabled": false, "enabled_updated_at": 1429361044.6299675, "shade": "none", "shade_updated_at": 1429361044.6299734, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6299799, "soil": "top_soil", "soil_updated_at": 1429361044.6299863, "slope": "flat", "slope_updated_at": 1429361044.6299949, "vegetation": "grass", "vegetation_updated_at": 1429361044.6300077 }, "last_reading": { "enabled": false, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 3, "zone_id": "12504", "parent_object_type": "sprinkler", "parent_object_id": "1483" }, { "name": "Mailbox", "desired_state": { "enabled": true, "enabled_updated_at": 1429361044.6300216, "shade": "none", "shade_updated_at": 1429361044.6300349, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6300464, "soil": "top_soil", "soil_updated_at": 1429361044.630054, "slope": "flat", "slope_updated_at": 1429361044.6300609, "vegetation": "grass", "vegetation_updated_at": 1429361044.6300678 }, "last_reading": { "enabled": true, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 4, "zone_id": "12505", "parent_object_type": "sprinkler", "parent_object_id": "1483" }, { "name": "Back Center", "desired_state": { "enabled": true, "enabled_updated_at": 1429361044.6300743, "shade": "none", "shade_updated_at": 1429361044.6300812, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6300881, "soil": "top_soil", "soil_updated_at": 1429361044.6300948, "slope": "flat", "slope_updated_at": 1429361044.6301012, "vegetation": "grass", "vegetation_updated_at": 1429361044.6301079 }, "last_reading": { "enabled": true, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 5, "zone_id": "12506", "parent_object_type": "sprinkler", "parent_object_id": "1483" }, { "name": "Back Left", "desired_state": { "enabled": true, "enabled_updated_at": 1429361044.6301141, "shade": "none", "shade_updated_at": 1429361044.6301203, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6301262, "soil": "top_soil", "soil_updated_at": 1429361044.6301327, "slope": "flat", "slope_updated_at": 1429361044.6301389, "vegetation": "grass", "vegetation_updated_at": 1429361044.6301456 }, "last_reading": { "enabled": true, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 6, "zone_id": "12507", "parent_object_type": "sprinkler", "parent_object_id": "1483" }, { "name": "Zone 8", "desired_state": { "enabled": false, "enabled_updated_at": 1429361044.630152, "shade": "none", "shade_updated_at": 1429361044.6301584, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429361044.6301646, "soil": "top_soil", "soil_updated_at": 1429361044.6301739, "slope": "flat", "slope_updated_at": 1429361044.6301811, "vegetation": "grass", "vegetation_updated_at": 1429361044.6301878 }, "last_reading": { "enabled": false, "enabled_updated_at": 1429477160.725, "shade": "none", "shade_updated_at": 1429477160.725, "nozzle": "fixed_spray_head", "nozzle_updated_at": 1429477160.725, "soil": "top_soil", "soil_updated_at": 1429477160.725, "slope": "flat", "slope_updated_at": 1429477160.725, "vegetation": "grass", "vegetation_updated_at": 1429477160.725, "powered": false, "powered_updated_at": 1429361044.5683227 }, "zone_index": 7, "zone_id": "12508", "parent_object_type": "sprinkler", "parent_object_id": "1483" } ] }