-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select and Run Multiple Zones in Sequence #43
Comments
Hi @bongo121 12 zone BHyve controller A:
Or are you trying to run zones 1-5 & 8-12 simultaneously? Can you also please help me by generating debug info: Step 1: Enable debugging. Add the following to
Step 2: Check Home Assistant logs
Copy these two lines and paste them below. |
Hi Seb
Thanks for getting back to me. Really appreciate your help.
Yes you are correct. I'm trying to run it as you described
12 zone BHyve controller A:
- Start zone 1
- Wait til zone 1 finished
- Start zone 2
- Wait til zone 2 finished
- etc etc
I am not trying to run multiple zones at once.
I am running Home Assistant on a Raspberry Pi4 8G
running hassos_rpi4-64-4.15.img.gz image
<sebr: removed debugging>
|
@bongo121 - I can't see any good reason why this shouldn't work already. How are you turning the zones on & off? Are you running an automation, or using a script? Also, can you also please update to version 2.0.5 (I just published) and then paste the logs after executing the sequence you described above? This will help me see what BHyve is actually doing. thx |
Thanks Seb
I have updated to version 2.0.5 and have rerun the scenario and included
the log entries below.
I have the zones setup on a lovelace card as per below image.
I selected Zone (189-190), then selected Zone(191-192) then Zone (193-194)
via the interface.
I could see on the BHyve app that once i selected zone (189-190) it started
to run for 10mins.
When i then selected zone(191-192) it cancelled the first zone and then
started running zone (191-192).
When i then selected zone (193-194) it cancelled zone (191-192) and started
running zone (193-194).
I then let it run to see what would happen and after 2 mins it stopped zone
(193-194) and no further zones ran after this.
[image: image.png]
*2020-11-09 18:09:07 DEBUG (MainThread) [custom_components.bhyve] Devices:*
[{"last_connected_at": "2020-11-05T20:07:30.869Z", "address": "REDACTED",
"water_sense_mode": "auto", "scheduled_modes": {"auto": {"at": "",
"annually": false}, "off": {"at": "", "annually": false}}, "timezone":
{"dst_offset": 3600, "raw_offset": 36000, "timezone_id":
"Australia/Melbourne", "timezone_name": "Australian Eastern Daylight
Time"}, "full_location": "REDACTED", "weather_forecast_location_id":
"5c247f5e4f0cd830041a572e", "firmware_version": "0039", "name": "Powered
Camping", "type": "sprinkler_timer", "manual_preset_runtime_sec": 600,
"battery": null, "restricted_frequency": null, "weather_delay_thresholds":
{"precip_prob": 30, "precip_in": 0.125, "wind_speed_mph": 20,
"freeze_temp_f": 37}, "updated_at": "2020-11-09T06:52:09.084Z",
"reference": "446755053a18", "mac_address": "446755053a18",
"weather_station_id": "5a302a3b4f0c3eb98b805f18", "mesh_id":
"5e7326c44f0cb5aa0481e221", "status": {"run_mode": "manual",
"next_start_programs": [], "rain_sensors": [], "rain_delay_overridden_at":
"2020-10-02T22:08:23.036Z", "watering_status": {"program": "b",
"current_station": 4, "started_watering_station_at":
"2020-11-09T06:52:11.000Z", "stations": [], "rain_sensor_hold": false},
"rain_delay": 0, "flow_sensor": null, "next_start_time":
"1970-01-01T00:00:00+11:00", "rain_delay_started_at":
"2020-11-04T22:07:31.000Z"}, "wifi_version": 0, "id":
"5e7326c44f0cb5aa0481e21f", "num_stations": 12, "notes": "", "zones":
[{"station": 1, "slope_grade": 0, "sun_shade": "partial_shade", "name":
"Sites 150 - 151", "num_sprinklers": 0, "catch_cup_volumes": [],
"catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 2,
"slope_grade": 0, "sun_shade": "partial_shade", "name": "Site 152",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 3, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 153 - 154", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 4, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 155 - 156", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 5, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 157 - 158", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 6, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 159 - 161", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 7, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 167 - 168", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 8, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 169 - 170", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 9, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 171 - 172", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 10, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 173 - 174", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 11, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 175 - 176", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 12, "slope_grade": 0,
"sun_shade": "partial_shade", "name": "Sites 177 - 179", "num_sprinklers":
0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}], "user_id": "5e7325be4f0cb5aa0481e21d",
"google_home_status": null, "device_gateway_topic": "devices-3",
"hardware_version": "WT25G2-0001", "is_connected": true, "location":
"REDACTED", "created_at": "2020-03-19T08:01:08.426Z",
"suggested_start_time": null, "et_id": "5644ff77ad27a7777fff77da"},
{"last_connected_at": "2020-11-07T02:36:28.511Z", "address": "REDACTED",
"water_sense_mode": "auto", "scheduled_modes": {"auto": {"at": "",
"annually": false}, "off": {"at": "", "annually": false}}, "timezone":
{"dst_offset": 0, "raw_offset": 36000, "timezone_id":
"Australia/Melbourne", "timezone_name": "Australian Eastern Standard
Time"}, "full_location": "REDACTED", "weather_forecast_location_id":
"5c247f5e4f0cd830041a572e", "firmware_version": "0039", "name": "Unpowered
214-231 199-204", "type": "sprinkler_timer", "manual_preset_runtime_sec":
600, "battery": null, "restricted_frequency": null,
"weather_delay_thresholds": {"precip_prob": 30, "precip_in": 0.125,
"wind_speed_mph": 20, "freeze_temp_f": 37}, "updated_at":
"2020-11-08T06:48:23.905Z", "reference": "44675505842f", "mac_address":
"44675505842f", "weather_station_id": "5a302a3b4f0c3eb98b805f18",
"mesh_id": "5ecb39904f0c01c8ad01dc1b", "status": {"run_mode": "auto",
"next_start_programs": [], "rain_sensors": [], "watering_status": null,
"rain_delay": 0, "flow_sensor": null, "next_start_time":
"1970-01-01T00:00:00+11:00", "rain_delay_started_at":
"2020-11-04T23:01:56.000Z"}, "wifi_version": 0, "id":
"5ecb39904f0cae94b458c3a1", "num_stations": 12, "notes": "", "zones":
[{"station": 1, "sun_shade": "partial_shade", "name": "214 - 215",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 2, "sun_shade":
"partial_shade", "name": "216 - 217", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}, {"station": 3, "sun_shade": "partial_shade", "name": "218 - 219",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 4, "sun_shade":
"partial_shade", "name": "220 - 221", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}, {"station": 5, "sun_shade": "partial_shade", "name": "222 - 223",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 6, "sun_shade":
"partial_shade", "name": "224 - 225", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}, {"station": 7, "sun_shade": "partial_shade", "name": "226 - 227",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 8, "sun_shade":
"partial_shade", "name": "228 - 229", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}, {"station": 9, "sun_shade": "partial_shade", "name": "230 - 231",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 10, "sun_shade":
"partial_shade", "name": "199 - 200", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}, {"station": 11, "sun_shade": "partial_shade", "name": "201 - 202",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 12, "sun_shade":
"partial_shade", "name": "203 - 204", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}], "user_id": "5e7325be4f0cb5aa0481e21d", "google_home_status": null,
"device_gateway_topic": "devices-3", "hardware_version": "WT25G2-0001",
"is_connected": true, "location": "REDACTED", "created_at":
"2020-05-25T03:20:48.694Z", "suggested_start_time": null, "et_id":
"5644ff77ad27a7777fff77da"}, {"last_connected_at":
"2020-11-07T02:20:32.777Z", "address": "REDACTED", "water_sense_mode":
"auto", "scheduled_modes": {"auto": {"at": "", "annually": false}, "off":
{"at": "", "annually": false}}, "timezone": {"dst_offset": 0, "raw_offset":
36000, "timezone_id": "Australia/Melbourne", "timezone_name": "Australian
Eastern Standard Time"}, "full_location": "REDACTED",
"weather_forecast_location_id": "5c247f5e4f0cd830041a572e",
"firmware_version": "0039", "name": "Unpowered 189-198 232-234", "type":
"sprinkler_timer", "manual_preset_runtime_sec": 600, "battery": null,
"restricted_frequency": null, "weather_delay_thresholds": {"precip_prob":
30, "precip_in": 0.12480315, "wind_speed_mph": 19.883879, "freeze_temp_f":
37.4}, "updated_at": "2020-11-09T05:18:44.385Z", "reference":
"44675505848d", "mac_address": "44675505848d", "weather_station_id":
"5a302a3b4f0c3eb98b805f18", "mesh_id": "5ecb907e4f0c01c8ad01e030",
"status": {"run_mode": "auto", "next_start_programs": [], "rain_sensors":
[], "rain_delay_overridden_at": "2020-10-03T20:34:34.692Z",
"watering_status": null, "rain_delay": 0, "flow_sensor": null,
"next_start_time": "1970-01-01T00:00:00+11:00", "rain_delay_started_at":
"2020-11-04T23:05:24.000Z"}, "wifi_version": 0, "id":
"5ecb907e4f0c01c8ad01e02e", "num_stations": 12, "notes": "", "zones":
[{"station": 1, "sun_shade": "partial_shade", "name": "189 - 190",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 2, "sun_shade":
"partial_shade", "name": "191 - 192", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}, {"station": 3, "sun_shade": "partial_shade", "name": "193 - 194",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 4, "sun_shade":
"partial_shade", "name": "195 - 196", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}, {"station": 5, "sun_shade": "partial_shade", "name": "197 - 198",
"num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0,
"smart_watering_enabled": false}, {"station": 6, "sun_shade":
"partial_shade", "name": "232", "num_sprinklers": 0, "catch_cup_volumes":
[], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station":
7, "sun_shade": "partial_shade", "name": "233 - 234", "num_sprinklers": 0,
"catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled":
false}], "user_id": "5e7325be4f0cb5aa0481e21d", "google_home_status": null,
"device_gateway_topic": "devices-4", "hardware_version": "WT25G2-0001",
"is_connected": true, "location": "REDACTED", "created_at":
"2020-05-25T09:31:42.073Z", "suggested_start_time": null, "et_id":
"5644ff77ad27a7777fff77da"}]
*2020-11-09 18:09:07 DEBUG (MainThread) [custom_components.bhyve] Programs:*
[{"post_delay": 0, "name": "Water All 30mins Powered Area",
"program_start_date": null, "frequency": {"type": "even"},
"program_end_date": null, "group_id": "5e9fb63d4f0cae94b45118e6",
"updated_at": "2020-11-08T06:17:29.073Z", "pre_delay": 0, "updated_via":
"wifi", "start_times": ["22:00"], "id": "5e732a0f4f0c7eccad2e92e2",
"budget": 100, "group_run_times": [{"device_id":
"5e7326c44f0cb5aa0481e21f", "run_times": [{"run_time": 30, "station": 1},
{"run_time": 30, "station": 2}, {"run_time": 30, "station": 3},
{"run_time": 30, "station": 4}, {"run_time": 30, "station": 5},
{"run_time": 30, "station": 6}, {"run_time": 30, "station": 7},
{"run_time": 30, "station": 8}, {"run_time": 30, "station": 9},
{"run_time": 30, "station": 10}, {"run_time": 30, "station": 11},
{"run_time": 30, "station": 12}]}], "is_smart_program": false, "device_id":
"5e7326c44f0cb5aa0481e21f", "program": "a", "run_times": [{"run_time": 30,
"station": 1}, {"run_time": 30, "station": 2}, {"run_time": 30, "station":
3}, {"run_time": 30, "station": 4}, {"run_time": 30, "station": 5},
{"run_time": 30, "station": 6}, {"run_time": 30, "station": 7},
{"run_time": 30, "station": 8}, {"run_time": 30, "station": 9},
{"run_time": 30, "station": 10}, {"run_time": 30, "station": 11},
{"run_time": 30, "station": 12}], "enabled": false, "created_at":
"2020-03-19T08:15:11.176Z"}, {"post_delay": 0, "name": "Powered Bottom
Row", "program_start_date": null, "frequency": {"type": "even"},
"program_end_date": null, "group_id": "5e9aa4df4f0c69531593eae3",
"updated_at": "2020-11-08T06:17:29.076Z", "pre_delay": 0, "updated_via":
"wifi", "start_times": ["19:00"], "id": "5e9aa4df4f0c69531593eae4",
"budget": 100, "group_run_times": [{"device_id":
"5e7326c44f0cb5aa0481e21f", "run_times": [{"run_time": 15, "station": 1},
{"run_time": 15, "station": 2}, {"run_time": 15, "station": 3},
{"run_time": 15, "station": 4}, {"run_time": 15, "station": 5},
{"run_time": 15, "station": 6}]}], "device_id": "5e7326c44f0cb5aa0481e21f",
"program": null, "run_times": [{"run_time": 15, "station": 1}, {"run_time":
15, "station": 2}, {"run_time": 15, "station": 3}, {"run_time": 15,
"station": 4}, {"run_time": 15, "station": 5}, {"run_time": 15, "station":
6}], "enabled": false, "created_at": "2020-04-18T06:57:35.267Z"},
{"post_delay": 0, "name": "Powered Back Row", "program_start_date": null,
"frequency": {"type": "odd"}, "program_end_date": null, "group_id":
"5e9c3d054f0c695315942343", "updated_at": "2020-11-08T06:17:29.078Z",
"pre_delay": 0, "updated_via": "wifi", "start_times": ["22:00"], "id":
"5e9c3d054f0c695315942344", "budget": 100, "group_run_times":
[{"device_id": "5e7326c44f0cb5aa0481e21f", "run_times": [{"run_time": 15,
"station": 7}, {"run_time": 15, "station": 8}, {"run_time": 15, "station":
9}, {"run_time": 15, "station": 10}, {"run_time": 15, "station": 11},
{"run_time": 15, "station": 12}]}], "device_id":
"5e7326c44f0cb5aa0481e21f", "program": null, "run_times": [{"run_time": 15,
"station": 7}, {"run_time": 15, "station": 8}, {"run_time": 15, "station":
9}, {"run_time": 15, "station": 10}, {"run_time": 15, "station": 11},
{"run_time": 15, "station": 12}], "enabled": false, "created_at":
"2020-04-19T11:59:01.180Z"}, {"post_delay": 0, "name": "Water ALL 20mins
Powered", "program_start_date": null, "frequency": {"type": "interval",
"interval": 3, "interval_start_time": "2020-09-13T12:00:00.000Z"},
"program_end_date": null, "group_id": "5f61bfbd4f0c62a04bd0bd4f",
"updated_at": "2020-11-08T06:17:29.081Z", "pre_delay": 0, "updated_via":
"wifi", "start_times": ["14:00"], "id": "5f61bf604f0c62a04bd0bd4a",
"budget": 100, "group_run_times": [{"device_id":
"5e7326c44f0cb5aa0481e21f", "run_times": [{"run_time": 20, "station": 1},
{"run_time": 20, "station": 2}, {"run_time": 20, "station": 3},
{"run_time": 20, "station": 4}, {"run_time": 20, "station": 5},
{"run_time": 20, "station": 6}, {"run_time": 20, "station": 7},
{"run_time": 20, "station": 8}, {"run_time": 20, "station": 9},
{"run_time": 20, "station": 10}, {"run_time": 20, "station": 11},
{"run_time": 20, "station": 12}]}], "is_smart_program": false, "device_id":
"5e7326c44f0cb5aa0481e21f", "program": null, "run_times": [{"run_time": 20,
"station": 1}, {"run_time": 20, "station": 2}, {"run_time": 20, "station":
3}, {"run_time": 20, "station": 4}, {"run_time": 20, "station": 5},
{"run_time": 20, "station": 6}, {"run_time": 20, "station": 7},
{"run_time": 20, "station": 8}, {"run_time": 20, "station": 9},
{"run_time": 20, "station": 10}, {"run_time": 20, "station": 11},
{"run_time": 20, "station": 12}], "enabled": false, "created_at":
"2020-09-16T07:31:44.962Z"}, {"name": "Water ALL 10mins",
"program_start_date": null, "frequency": {"type": "interval", "interval":
3, "interval_start_time": "2020-09-12T06:00:00.000Z"}, "program_end_date":
null, "group_id": "5f69d6324f0c62a04bd15932", "updated_at":
"2020-11-08T06:17:29.083Z", "updated_via": "wifi", "start_times":
["14:00"], "id": "5f69d6234f0c30b3ab12d893", "budget": 100,
"group_run_times": [], "is_smart_program": false, "device_id":
"5e7326c44f0cb5aa0481e21f", "program": "b", "run_times": [{"run_time":
20.0, "station": 1}, {"run_time": 20.0, "station": 2}, {"run_time": 20.0,
"station": 3}, {"run_time": 20.0, "station": 4}, {"run_time": 20.0,
"station": 5}, {"run_time": 20.0, "station": 6}, {"run_time": 20.0,
"station": 7}, {"run_time": 20.0, "station": 8}, {"run_time": 20.0,
"station": 9}, {"run_time": 20.0, "station": 10}, {"run_time": 20.0,
"station": 11}, {"run_time": 20.0, "station": 12}], "enabled": false,
"created_at": "2020-09-22T10:46:59.441Z"}, {"post_delay": 0, "name": "Water
ALL 5mins", "program_start_date": null, "frequency": {"type": "days",
"days": [2, 3, 4]}, "program_end_date": null, "group_id":
"5f6bdf104f0c30b3ab12fe7f", "updated_at": "2020-11-08T06:17:29.085Z",
"pre_delay": 0, "updated_via": "wifi", "start_times": ["06:00", "13:00"],
"id": "5f6bdef84f0c30b3ab12fe7b", "budget": 100, "group_run_times":
[{"device_id": "5e7326c44f0cb5aa0481e21f", "run_times": [{"run_time": 5,
"station": 1}, {"run_time": 5, "station": 2}, {"run_time": 5, "station":
3}, {"run_time": 5, "station": 4}, {"run_time": 5, "station": 5},
{"run_time": 5, "station": 6}, {"run_time": 5, "station": 7}, {"run_time":
5, "station": 8}, {"run_time": 5, "station": 9}, {"run_time": 5, "station":
10}, {"run_time": 5, "station": 11}, {"run_time": 5, "station": 12}]}],
"is_smart_program": false, "device_id": "5e7326c44f0cb5aa0481e21f",
"program": "c", "run_times": [{"run_time": 5, "station": 1}, {"run_time":
5, "station": 2}, {"run_time": 5, "station": 3}, {"run_time": 5, "station":
4}, {"run_time": 5, "station": 5}, {"run_time": 5, "station": 6},
{"run_time": 5, "station": 7}, {"run_time": 5, "station": 8}, {"run_time":
5, "station": 9}, {"run_time": 5, "station": 10}, {"run_time": 5,
"station": 11}, {"run_time": 5, "station": 12}], "enabled": false,
"created_at": "2020-09-23T23:49:12.625Z"}, {"post_delay": 0, "name":
"UnPowered Back Row 30mins", "program_start_date": null, "frequency":
{"type": "interval", "interval": 3, "interval_start_time":
"2020-09-11T22:00:00.000Z"}, "program_end_date": null, "group_id":
"5f5f5f974f0c62a04bd08ea9", "updated_at": "2020-11-07T09:59:20.873Z",
"pre_delay": 0, "updated_via": "wifi", "start_times": ["04:00"], "id":
"5f5f5f954f0c62a04bd08ea8", "budget": 100, "group_run_times":
[{"device_id": "5ecb39904f0cae94b458c3a1", "run_times": [{"run_time": 30,
"station": 1}, {"run_time": 30, "station": 2}, {"run_time": 30, "station":
3}, {"run_time": 30, "station": 4}, {"run_time": 30, "station": 5},
{"run_time": 30, "station": 6}, {"run_time": 30, "station": 7},
{"run_time": 30, "station": 8}, {"run_time": 30, "station": 9},
{"run_time": 30, "station": 10}, {"run_time": 30, "station": 11},
{"run_time": 30, "station": 12}]}], "is_smart_program": false, "device_id":
"5ecb39904f0cae94b458c3a1", "program": "a", "run_times": [{"run_time": 30,
"station": 1}, {"run_time": 30, "station": 2}, {"run_time": 30, "station":
3}, {"run_time": 30, "station": 4}, {"run_time": 30, "station": 5},
{"run_time": 30, "station": 6}, {"run_time": 30, "station": 7},
{"run_time": 30, "station": 8}, {"run_time": 30, "station": 9},
{"run_time": 30, "station": 10}, {"run_time": 30, "station": 11},
{"run_time": 30, "station": 12}], "enabled": false, "created_at":
"2020-09-14T12:18:29.649Z"}, {"name": "Unpowered 20 Mins Back And Middle
Row", "program_start_date": null, "frequency": {"type": "odd"},
"program_end_date": null, "group_id": "5f62d66b4f0c30b3ab125340",
"updated_at": "2020-11-07T09:59:20.875Z", "updated_via": "wifi",
"start_times": ["07:00"], "id": "5f629c534f0c30b3ab124d03", "budget": 100,
"group_run_times": [], "is_smart_program": false, "device_id":
"5ecb39904f0cae94b458c3a1", "program": "b", "run_times": [{"run_time":
20.0, "station": 1}, {"run_time": 20.0, "station": 2}, {"run_time": 20.0,
"station": 3}, {"run_time": 20.0, "station": 4}, {"run_time": 20.0,
"station": 5}, {"run_time": 20.0, "station": 6}, {"run_time": 20.0,
"station": 7}, {"run_time": 20.0, "station": 8}, {"run_time": 20.0,
"station": 9}, {"run_time": 20.0, "station": 10}, {"run_time": 20.0,
"station": 11}, {"run_time": 20.0, "station": 12}], "enabled": false,
"created_at": "2020-09-16T23:14:27.624Z"}, {"name": "All Back Row -
10mins", "program_start_date": null, "frequency": {"type": "interval",
"interval": 4, "interval_start_time": "2020-09-21T04:00:00.000Z"},
"program_end_date": null, "group_id": "5f69ed6c4f0c62a04bd159db",
"updated_at": "2020-11-07T09:59:20.877Z", "updated_via": "wifi",
"start_times": ["22:25"], "id": "5f69ed6a4f0c30b3ab12d939", "budget": 100,
"group_run_times": [], "is_smart_program": false, "device_id":
"5ecb39904f0cae94b458c3a1", "program": "c", "run_times": [{"run_time":
10.0, "station": 1}, {"run_time": 10.0, "station": 2}, {"run_time": 10.0,
"station": 3}, {"run_time": 10.0, "station": 4}, {"run_time": 10.0,
"station": 5}, {"run_time": 10.0, "station": 6}, {"run_time": 10.0,
"station": 7}, {"run_time": 10.0, "station": 8}, {"run_time": 10.0,
"station": 9}, {"run_time": 10.0, "station": 10}, {"run_time": 10.0,
"station": 11}, {"run_time": 10.0, "station": 12}], "enabled": false,
"created_at": "2020-09-22T12:26:18.916Z"}, {"post_delay": 0, "name": "Back
Row 5mins", "program_start_date": null, "frequency": {"type": "days",
"days": [2, 3, 4]}, "program_end_date": null, "group_id":
"5f6bec314f0c30b3ab130041", "updated_at": "2020-11-07T09:59:20.878Z",
"pre_delay": 0, "updated_via": "wifi", "start_times": ["08:00", "15:00"],
"id": "5f6bdfc64f0c30b3ab12fe99", "budget": 100, "group_run_times": [],
"is_smart_program": false, "device_id": "5ecb39904f0cae94b458c3a1",
"program": "d", "run_times": [{"run_time": 5, "station": 1}, {"run_time":
5, "station": 2}, {"run_time": 5, "station": 3}, {"run_time": 5, "station":
4}, {"run_time": 5, "station": 5}, {"run_time": 5, "station": 6},
{"run_time": 5, "station": 7}, {"run_time": 5, "station": 8}, {"run_time":
5, "station": 9}, {"run_time": 5, "station": 10}, {"run_time": 5,
"station": 11}, {"run_time": 5, "station": 12}], "enabled": false,
"created_at": "2020-09-23T23:52:38.002Z"}, {"name": "Front Row 30mins",
"program_start_date": null, "frequency": {"type": "even"},
"program_end_date": null, "group_id": "5f609c734f0c30b3ab12275a",
"updated_at": "2020-10-14T22:11:43.704Z", "updated_via": "wifi",
"start_times": ["23:00"], "id": "5f609c564f0c62a04bd0a634", "budget": 100,
"group_run_times": [], "is_smart_program": false, "device_id":
"5ecb907e4f0c01c8ad01e02e", "program": "a", "run_times": [{"run_time":
30.0, "station": 1}, {"run_time": 30.0, "station": 2}, {"run_time": 30.0,
"station": 3}, {"run_time": 30.0, "station": 4}, {"run_time": 30.0,
"station": 5}, {"run_time": 30.0, "station": 6}, {"run_time": 30.0,
"station": 7}], "enabled": false, "created_at":
"2020-09-15T10:49:58.547Z"}, {"post_delay": 0, "name": "Front Row 10mins",
"program_start_date": null, "frequency": {"type": "interval", "interval":
3, "interval_start_time": "2020-09-19T22:00:00.000Z"}, "program_end_date":
null, "group_id": "5f69d58f4f0c30b3ab12d88d", "updated_at":
"2020-10-14T22:11:43.707Z", "pre_delay": 0, "updated_via": "wifi",
"start_times": ["05:42"], "id": "5f69d5724f0c62a04bd1592d", "budget": 100,
"group_run_times": [{"device_id": "5ecb907e4f0c01c8ad01e02e", "run_times":
[{"run_time": 10, "station": 1}, {"run_time": 10, "station": 2},
{"run_time": 10, "station": 3}, {"run_time": 10, "station": 4},
{"run_time": 10, "station": 5}, {"run_time": 10, "station": 6},
{"run_time": 10, "station": 7}]}], "is_smart_program": false, "device_id":
"5ecb907e4f0c01c8ad01e02e", "program": "b", "run_times": [{"run_time": 10,
"station": 1}, {"run_time": 10, "station": 2}, {"run_time": 10, "station":
3}, {"run_time": 10, "station": 4}, {"run_time": 10, "station": 5},
{"run_time": 10, "station": 6}, {"run_time": 10, "station": 7}], "enabled":
false, "created_at": "2020-09-22T10:44:02.850Z"}, {"post_delay": 0, "name":
"Front Row 5mins", "program_start_date": null, "frequency": {"type":
"days", "days": [2, 3, 4]}, "program_end_date": null, "group_id":
"5f6bdf654f0c62a04bd17e65", "updated_at": "2020-10-14T22:11:43.709Z",
"pre_delay": 0, "updated_via": "wifi", "start_times": ["07:20", "14:20"],
"id": "5f6bdf644f0c62a04bd17e64", "budget": 100, "group_run_times":
[{"device_id": "5ecb907e4f0c01c8ad01e02e", "run_times": [{"run_time": 5,
"station": 1}, {"run_time": 5, "station": 2}, {"run_time": 5, "station":
3}, {"run_time": 5, "station": 4}, {"run_time": 5, "station": 5},
{"run_time": 5, "station": 6}, {"run_time": 5, "station": 7}]}],
"is_smart_program": false, "device_id": "5ecb907e4f0c01c8ad01e02e",
"program": "c", "run_times": [{"run_time": 5, "station": 1}, {"run_time":
5, "station": 2}, {"run_time": 5, "station": 3}, {"run_time": 5, "station":
4}, {"run_time": 5, "station": 5}, {"run_time": 5, "station": 6},
{"run_time": 5, "station": 7}], "enabled": false, "created_at":
"2020-09-23T23:51:00.462Z"}]
I also noticed something strange (I think). On the main lovelace screen i
can see there are a lot of bubble icons (see below) one for each zone. not
sure of this is normal as i thought all like entities woudl be grouped
together.Just mentioning it in case its relevant :-)
[image: image.png]
Best Regards
Alan McReynolds
…On Mon, 9 Nov 2020 at 17:48, Seb Ruiz ***@***.***> wrote:
@bongo121 <https://github.com/bongo121> - I can't see any good reason why
this shouldn't work already. How are you turning the zones on & off? Are
you running an automation, or using a script?
Also, can you also please update to version 2.0.5 (I just published) and
then paste the logs after executing the sequence you described above? This
will help me see what BHyve is actually doing.
thx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ7GTYAG6HBZO3ASOL3V2J3SO6GCLANCNFSM4TOGZSAA>
.
|
@bongo121 Can you please add the comment directly in GitHub. I can't see images which are attached to emails. Thanks! |
@bongo121 unfortunately those aren't the logs I need - the entries will look like this:
These should be appended to
As for this, the integration creates a sensor for each zone that stores the watering history - these may be getting added automatically to your lovelace dashboard by HA 😄 |
Hi Seb I've added the full logs below. I ran the simulation again and have copied the complete log for your reference. |
@bongo121 I've deleted the log file from github as it contained a lot of sensitive information - eg access tokens, longitude & latitude information and other PII. I strongly recommend you change your HA passwords and invalidate all access tokens. |
Thanks Seb, I'll put that one down to a beginners mistake :-). Thankfully i only have my HA access via the local network. 2020-11-09 22:09:52 INFO (MainThread) [custom_components.bhyve.switch] Creating switch: Powered Camping rain delay 2020-11-09 22:09:52 DEBUG (MainThread) [custom_components.bhyve] Devices: [{"last_connected_at": "2020-11-05T20:07:30.869Z", "address": "REDACTED", "water_sense_mode": "auto", "scheduled_modes": {"auto": {"at": "", "annually": false}, "off": {"at": "", "annually": false}}, "timezone": {"dst_offset": 3600, "raw_offset": 36000, "timezone_id": "Australia/Melbourne", "timezone_name": "Australian Eastern Daylight Time"}, "full_location": "REDACTED", "weather_forecast_location_id": "5c247f5e4f0cd830041a572e", "firmware_version": "0039", "name": "Powered Camping", "type": "sprinkler_timer", "manual_preset_runtime_sec": 600, "battery": null, "restricted_frequency": null, "weather_delay_thresholds": {"precip_prob": 30, "precip_in": 0.125, "wind_speed_mph": 20, "freeze_temp_f": 37}, "updated_at": "2020-11-09T09:53:54.072Z", "reference": "446755053a18", "mac_address": "446755053a18", "weather_station_id": "5a302a3b4f0c3eb98b805f18", "mesh_id": "5e7326c44f0cb5aa0481e221", "status": {"run_mode": "auto", "next_start_programs": [], "rain_sensors": [], "rain_delay_overridden_at": "2020-10-02T22:08:23.036Z", "watering_status": null, "rain_delay": 0, "flow_sensor": null, "next_start_time": "1970-01-01T00:00:00+11:00", "rain_delay_started_at": "2020-11-04T22:07:31.000Z"}, "wifi_version": 0, "id": "5e7326c44f0cb5aa0481e21f", "num_stations": 12, "notes": "", "zones": [{"station": 1, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 150 - 151", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 2, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Site 152", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 3, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 153 - 154", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 4, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 155 - 156", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 5, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 157 - 158", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 6, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 159 - 161", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 7, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 167 - 168", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 8, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 169 - 170", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 9, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 171 - 172", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 10, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 173 - 174", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 11, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 175 - 176", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 12, "slope_grade": 0, "sun_shade": "partial_shade", "name": "Sites 177 - 179", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}], "user_id": "5e7325be4f0cb5aa0481e21d", "google_home_status": null, "device_gateway_topic": "devices-3", "hardware_version": "WT25G2-0001", "is_connected": true, "location": "REDACTED", "created_at": "2020-03-19T08:01:08.426Z", "suggested_start_time": null, "et_id": "5644ff77ad27a7777fff77da"}, {"last_connected_at": "2020-11-07T02:36:28.511Z", "address": "REDACTED", "water_sense_mode": "auto", "scheduled_modes": {"auto": {"at": "", "annually": false}, "off": {"at": "", "annually": false}}, "timezone": {"dst_offset": 0, "raw_offset": 36000, "timezone_id": "Australia/Melbourne", "timezone_name": "Australian Eastern Standard Time"}, "full_location": "REDACTED", "weather_forecast_location_id": "5c247f5e4f0cd830041a572e", "firmware_version": "0039", "name": "Unpowered 214-231 199-204", "type": "sprinkler_timer", "manual_preset_runtime_sec": 600, "battery": null, "restricted_frequency": null, "weather_delay_thresholds": {"precip_prob": 30, "precip_in": 0.125, "wind_speed_mph": 20, "freeze_temp_f": 37}, "updated_at": "2020-11-08T06:48:23.905Z", "reference": "44675505842f", "mac_address": "44675505842f", "weather_station_id": "5a302a3b4f0c3eb98b805f18", "mesh_id": "5ecb39904f0c01c8ad01dc1b", "status": {"run_mode": "auto", "next_start_programs": [], "rain_sensors": [], "watering_status": null, "rain_delay": 0, "flow_sensor": null, "next_start_time": "1970-01-01T00:00:00+11:00", "rain_delay_started_at": "2020-11-04T23:01:56.000Z"}, "wifi_version": 0, "id": "5ecb39904f0cae94b458c3a1", "num_stations": 12, "notes": "", "zones": [{"station": 1, "sun_shade": "partial_shade", "name": "214 - 215", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 2, "sun_shade": "partial_shade", "name": "216 - 217", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 3, "sun_shade": "partial_shade", "name": "218 - 219", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 4, "sun_shade": "partial_shade", "name": "220 - 221", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 5, "sun_shade": "partial_shade", "name": "222 - 223", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 6, "sun_shade": "partial_shade", "name": "224 - 225", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 7, "sun_shade": "partial_shade", "name": "226 - 227", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 8, "sun_shade": "partial_shade", "name": "228 - 229", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 9, "sun_shade": "partial_shade", "name": "230 - 231", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 10, "sun_shade": "partial_shade", "name": "199 - 200", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 11, "sun_shade": "partial_shade", "name": "201 - 202", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 12, "sun_shade": "partial_shade", "name": "203 - 204", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}], "user_id": "5e7325be4f0cb5aa0481e21d", "google_home_status": null, "device_gateway_topic": "devices-3", "hardware_version": "WT25G2-0001", "is_connected": true, "location": "REDACTED", "created_at": "2020-05-25T03:20:48.694Z", "suggested_start_time": null, "et_id": "5644ff77ad27a7777fff77da"}, {"last_connected_at": "2020-11-07T02:20:32.777Z", "address": "REDACTED", "water_sense_mode": "auto", "scheduled_modes": {"auto": {"at": "", "annually": false}, "off": {"at": "", "annually": false}}, "timezone": {"dst_offset": 0, "raw_offset": 36000, "timezone_id": "Australia/Melbourne", "timezone_name": "Australian Eastern Standard Time"}, "full_location": "REDACTED", "weather_forecast_location_id": "5c247f5e4f0cd830041a572e", "firmware_version": "0039", "name": "Unpowered 189-198 232-234", "type": "sprinkler_timer", "manual_preset_runtime_sec": 600, "battery": null, "restricted_frequency": null, "weather_delay_thresholds": {"precip_prob": 30, "precip_in": 0.12480315, "wind_speed_mph": 19.883879, "freeze_temp_f": 37.4}, "updated_at": "2020-11-09T11:05:11.879Z", "reference": "44675505848d", "mac_address": "44675505848d", "weather_station_id": "5a302a3b4f0c3eb98b805f18", "mesh_id": "5ecb907e4f0c01c8ad01e030", "status": {"run_mode": "auto", "next_start_programs": [], "rain_sensors": [], "rain_delay_overridden_at": "2020-10-03T20:34:34.692Z", "watering_status": null, "rain_delay": 0, "flow_sensor": null, "next_start_time": "1970-01-01T00:00:00+11:00", "rain_delay_started_at": "2020-11-04T23:05:24.000Z"}, "wifi_version": 0, "id": "5ecb907e4f0c01c8ad01e02e", "num_stations": 12, "notes": "", "zones": [{"station": 1, "sun_shade": "partial_shade", "name": "189 - 190", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 2, "sun_shade": "partial_shade", "name": "191 - 192", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 3, "sun_shade": "partial_shade", "name": "193 - 194", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 4, "sun_shade": "partial_shade", "name": "195 - 196", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 5, "sun_shade": "partial_shade", "name": "197 - 198", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 6, "sun_shade": "partial_shade", "name": "232", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}, {"station": 7, "sun_shade": "partial_shade", "name": "233 - 234", "num_sprinklers": 0, "catch_cup_volumes": [], "catch_cup_run_time": 0, "smart_watering_enabled": false}], "user_id": "5e7325be4f0cb5aa0481e21d", "google_home_status": null, "device_gateway_topic": "devices-4", "hardware_version": "WT25G2-0001", "is_connected": true, "location": "REDACTED", "created_at": "2020-05-25T09:31:42.073Z", "suggested_start_time": null, "et_id": "5644ff77ad27a7777fff77da"}] |
unless im miss understanding, this wont work like that. the controller itself will only allow 1 zone at a time, so when you manually turn on the first zone it starts.. if you turn oin another switch, the first zone will stop and the one you turn on will start.. this is normal operation. Now if you want to flip a bunch of switches and have it one after another you would need to automate or script it, im sure there is a bunch of ways.. This is how i do it. So if you see the AM start time, is 6:00 and the watering runs for 10 mins, so it ends at 6:10 Drippers start at 6:11... etc... here is a link that shows my code. |
Hi Sebr, love your work but if i had the following feature it would be just perfect for my requirement.
I have 3 x 12 zone Bhyve irrigation controllers and would love the ability to just run specific zones in sequence.
i.e select zones 1-5 and 8-12 but not zones 6 and 7 via the lovelace card and have the controller water each of these zones in turn.
Currently when i try this i can see on the app as i select each individual zone it starts but then immediately stops when i select the next zone. I've also tried selecting all of the zones at once and deselecting the zone i don't want to water but nothing happens when i do this. Unfortunately i can't create one of the fixed programs as the zones i need to both water and not water will change depending on the location of people on the grounds.
Hope you can help, Regards Alan
The text was updated successfully, but these errors were encountered: