reinhard-brandstaedter / solarflow-control

A tool to automatically control Zendure's Solarflow hub with more flexibility to match home power demand
67 stars 12 forks source link

ByPass-State - should it be enabled? #239

Closed mavo closed 4 months ago

mavo commented 4 months ago

Hello @reinhard-brandstaedter,

I switched to newest dev build and I am confused. It said turn on BP, but its still not on.

2024-05-06 15:11:54,367:INFO: MQTT User is not set, assuming authentication not needed
2024-05-06 15:11:54,367:INFO: Solarflow Hub: A8yh63/ETFTke36
2024-05-06 15:11:54,367:INFO: Limit via inverter: True
2024-05-06 15:11:54,367:INFO: Control Parameters:
2024-05-06 15:11:54,368:INFO:   MIN_CHARGE_POWER = 0
2024-05-06 15:11:54,368:INFO:   MAX_DISCHARGE_LEVEL = 800
2024-05-06 15:11:54,368:INFO:   MAX_INVERTER_LIMIT = 800
2024-05-06 15:11:54,368:INFO:   MAX_INVERTER_INPUT = 800
2024-05-06 15:11:54,368:INFO:   SUNRISE_OFFSET = 180
2024-05-06 15:11:54,368:INFO:   SUNSET_OFFSET = 120
2024-05-06 15:11:54,369:INFO: Publishing Homeassistant templates...
2024-05-06 15:11:54,411:INFO: Published 26 Homeassistant templates.
2024-05-06 15:11:54,411:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:11:54,411:INFO: Using AhoyDTU: Base topic: ahoydtu, Limit topic: ahoydtu/ctrl/limit/0, SF Channels: [3, 4]
2024-05-06 15:11:54,412:INFO: Using ShellyEM3: Base topic: shellies/shellyem3
2024-05-06 15:11:54,412:INFO: Connected to MQTT Broker!
2024-05-06 15:11:54,412:INFO: Hub subscribing: /A8yh63/ETFTke36/properties/report
2024-05-06 15:11:54,412:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/solarInputPower
2024-05-06 15:11:54,412:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/electricLevel
2024-05-06 15:11:54,412:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/outputPackPower
2024-05-06 15:11:54,412:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/packInputPower
2024-05-06 15:11:54,412:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/outputHomePower
2024-05-06 15:11:54,412:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/outputLimit
2024-05-06 15:11:54,413:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/inverseMaxPower
2024-05-06 15:11:54,413:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/masterSoftVersion
2024-05-06 15:11:54,413:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/pass
2024-05-06 15:11:54,413:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/passMode
2024-05-06 15:11:54,413:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/batteries/+/socLevel
2024-05-06 15:11:54,413:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/batteries/+/totalVol
2024-05-06 15:11:54,413:INFO: Hub subscribing: solarflow-hub/ETFTke36/control/#
2024-05-06 15:11:54,413:INFO: Turning hub bypass OFF
2024-05-06 15:11:54,413:INFO: DTU subscribing: ahoydtu/HM-1600/+/P_DC
2024-05-06 15:11:54,413:INFO: DTU subscribing: ahoydtu/HM-1600/ch0/P_AC
2024-05-06 15:11:54,413:INFO: DTU subscribing: ahoydtu/HM-1600/ch0/active_PowerLimit
2024-05-06 15:11:54,413:INFO: DTU subscribing: ahoydtu/HM-1600/ch0/Efficiency
2024-05-06 15:11:54,413:INFO: DTU subscribing: ahoydtu/status
2024-05-06 15:11:54,413:INFO: DTU subscribing: solarflow-hub/+/control/dryRun
2024-05-06 15:11:54,413:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/0/power
2024-05-06 15:11:54,413:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/1/power
2024-05-06 15:11:54,414:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/2/power
2024-05-06 15:11:54,414:INFO: Reading last full time: 2024-05-06 15:11:36
2024-05-06 15:11:54,415:INFO: Reading battery target mode: discharging
2024-05-06 15:11:57,458:INFO: Bypass control, turning on bypass!
2024-05-06 15:11:57,458:INFO: Turning hub bypass ON
2024-05-06 15:11:57,459:INFO: Reading last full time: 2024-05-06 15:11:57
2024-05-06 15:11:57,459:INFO: Reading battery target mode: discharging
2024-05-06 15:12:28,720:INFO: Reading last full time: 2024-05-06 15:12:28
2024-05-06 15:12:28,721:INFO: Reading battery target mode: discharging
2024-05-06 15:12:54,369:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:12:57,356:INFO: Reading last full time: 2024-05-06 15:12:57
2024-05-06 15:12:57,396:INFO: Reading battery target mode: discharging
2024-05-06 15:13:29,538:INFO: Reading last full time: 2024-05-06 15:13:29
2024-05-06 15:13:29,579:INFO: Reading battery target mode: discharging
2024-05-06 15:13:54,370:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:13:54,412:INFO: HUB: S:126.4W [ 126.4,126.4 ], B:100% (100|100), V:51.0V (51.0|50.9), C: 0W, P:False (manual, not possible), F:0.0h, E:-1.0h, H: 0W, L:800W
2024-05-06 15:13:54,414:INFO: INV: AC:0.0W, AC_Prediction: 0.0W, DC:3.8W, DC_prediction: 4.0W (0.0|0.0|1.8|2.0), L: 0W (0.0W/channel) [1600W]
2024-05-06 15:13:54,416:INFO: SMT: T:ShellyEM3 P:315.6W [ 320.9,320.9,320.7,320.6,320.5,321.2 ] Predict: 320.7W
2024-05-06 15:13:54,416:INFO: Direct connected panel are producing 0.0W, trying to get 311.2W from hub.
2024-05-06 15:13:54,417:INFO: Based on time, solarpower (126.4W) minimum charge power (0W) and bypass state (False), hub could contribute 126.4W - Decision path: 2.2.
2024-05-06 15:13:54,417:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-05-06 15:13:54,417:INFO: Solarflow is willing to contribute 63.0W (per channel) of the requested 311.2!
2024-05-06 15:13:54,418:INFO: Setting inverter output limit to 252W (1 min moving average of 63W x 4)
2024-05-06 15:13:54,418:INFO: Sun: 05:26 - 20:43 Demand: 311.2W, Panel DC: (0.0W), Hub DC: (0.0W), Inverter Limit: 252.0W, Hub Limit: 800.0W
2024-05-06 15:13:56,994:INFO: Reading last full time: 2024-05-06 15:13:56
2024-05-06 15:13:56,994:INFO: Reading battery target mode: discharging
2024-05-06 15:14:30,435:INFO: Reading last full time: 2024-05-06 15:14:30
2024-05-06 15:14:30,475:INFO: Reading battery target mode: discharging
2024-05-06 15:14:54,370:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:14:56,901:INFO: Reading last full time: 2024-05-06 15:14:56
2024-05-06 15:14:56,901:INFO: Reading battery target mode: discharging
2024-05-06 15:15:31,380:INFO: Reading last full time: 2024-05-06 15:15:31
2024-05-06 15:15:31,381:INFO: Reading battery target mode: discharging
2024-05-06 15:15:54,371:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:15:54,413:INFO: HUB: S:143.3W [ 114.3,114.3,117.0,123.9,135.9,143.3 ], B:100% (100|100), V:51.0V (51.0|50.9), C: 0W, P:False (manual, not possible), F:0.0h, E:-1.0h, H: 0W, L:800W
2024-05-06 15:15:54,415:INFO: INV: AC:0.0W, AC_Prediction: 0.0W, DC:3.9W, DC_prediction: 3.8W (0.0|0.0|1.8|2.0), L:251W (62.8W/channel) [1600W]
2024-05-06 15:15:54,418:INFO: SMT: T:ShellyEM3 P:319.5W [ 323.3,323.3,323.1,322.6,322.1,321.0 ] Predict: 325.6W
2024-05-06 15:15:54,418:INFO: Direct connected panel are producing 0.0W, trying to get 311.0W from hub.
2024-05-06 15:15:54,418:INFO: Based on time, solarpower (143.3W) minimum charge power (0W) and bypass state (False), hub could contribute 143.3W - Decision path: 2.2.
2024-05-06 15:15:54,419:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-05-06 15:15:54,419:INFO: Solarflow is willing to contribute 71.5W (per channel) of the requested 311.0!
2024-05-06 15:15:54,419:INFO: Setting inverter output limit to 284W (1 min moving average of 71W x 4)
2024-05-06 15:15:54,419:INFO: Sun: 05:26 - 20:43 Demand: 311.0W, Panel DC: (0.0W), Hub DC: (0.0W), Inverter Limit: 284.0W, Hub Limit: 800.0W
2024-05-06 15:15:56,888:INFO: Reading last full time: 2024-05-06 15:15:56
2024-05-06 15:15:56,888:INFO: Reading battery target mode: discharging
2024-05-06 15:16:32,169:INFO: Reading last full time: 2024-05-06 15:16:32
2024-05-06 15:16:32,169:INFO: Reading battery target mode: discharging
2024-05-06 15:16:54,371:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:16:57,482:INFO: Reading last full time: 2024-05-06 15:16:57
2024-05-06 15:16:57,482:INFO: Reading battery target mode: discharging
2024-05-06 15:17:32,958:INFO: Reading last full time: 2024-05-06 15:17:32
2024-05-06 15:17:32,998:INFO: Reading battery target mode: discharging
2024-05-06 15:17:54,372:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:17:54,420:INFO: HUB: S:52.0W [ 81.9,81.9,74.0,59.4,52.4,52.0 ], B:100% (100|100), V:50.8V (50.9|50.8), C: 0W, P:False (manual, not possible), F:0.0h, E:-1.0h, H: 0W, L:800W
2024-05-06 15:17:54,422:INFO: INV: AC:0.0W, AC_Prediction: 0.0W, DC:3.8W, DC_prediction: 3.8W (0.0|0.0|1.8|2.0), L:283W (70.8W/channel) [1600W]
2024-05-06 15:17:54,424:INFO: SMT: T:ShellyEM3 P:321.8W [ 321.9,321.9,322.5,323.5,324.8,324.5 ] Predict: 317.7W
2024-05-06 15:17:54,424:INFO: Direct connected panel are producing 0.0W, trying to get 314.5W from hub.
2024-05-06 15:17:54,425:INFO: Based on time, solarpower (52.0W) minimum charge power (0W) and bypass state (False), hub could contribute 52.0W - Decision path: 2.2.
2024-05-06 15:17:54,425:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-05-06 15:17:54,425:INFO: Solarflow is willing to contribute 26.0W (per channel) of the requested 314.5!
2024-05-06 15:17:54,425:INFO: Setting inverter output limit to 104W (1 min moving average of 26W x 4)
2024-05-06 15:17:54,426:INFO: Sun: 05:26 - 20:43 Demand: 314.5W, Panel DC: (0.0W), Hub DC: (0.0W), Inverter Limit: 104.0W, Hub Limit: 800.0W
2024-05-06 15:17:57,244:INFO: Reading last full time: 2024-05-06 15:17:57
2024-05-06 15:17:57,244:INFO: Reading battery target mode: discharging
2024-05-06 15:18:33,674:INFO: Reading last full time: 2024-05-06 15:18:33
2024-05-06 15:18:33,675:INFO: Reading battery target mode: discharging
2024-05-06 15:18:54,372:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:18:57,173:INFO: Reading last full time: 2024-05-06 15:18:57
2024-05-06 15:18:57,173:INFO: Reading battery target mode: discharging
2024-05-06 15:19:34,662:INFO: Reading last full time: 2024-05-06 15:19:34
2024-05-06 15:19:34,662:INFO: Reading battery target mode: discharging
2024-05-06 15:19:54,372:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:19:54,420:INFO: HUB: S:95.9W [ 92.8,92.8,94.3,96.4,95.1,95.9 ], B:100% (100|100), V:50.8V (50.9|50.8), C: 0W, P:False (manual, not possible), F:0.0h, E:-1.0h, H: 0W, L:800W
2024-05-06 15:19:54,422:INFO: INV: AC:0.0W, AC_Prediction: 0.0W, DC:3.8W, DC_prediction: 3.8W (0.0|0.0|1.8|2.0), L:104W (26.0W/channel) [1600W]
2024-05-06 15:19:54,425:INFO: SMT: T:ShellyEM3 P:308.1W [ 313.3,313.3,313.9,314.2,312.7,312.5 ] Predict: 313.2W
2024-05-06 15:19:54,425:INFO: Direct connected panel are producing 0.0W, trying to get 302.5W from hub.
2024-05-06 15:19:54,425:INFO: Based on time, solarpower (95.9W) minimum charge power (0W) and bypass state (False), hub could contribute 95.9W - Decision path: 2.2.
2024-05-06 15:19:54,425:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-05-06 15:19:54,425:INFO: Solarflow is willing to contribute 47.5W (per channel) of the requested 302.5!
2024-05-06 15:19:54,426:INFO: Setting inverter output limit to 188W (1 min moving average of 47W x 4)
2024-05-06 15:19:54,426:INFO: Sun: 05:26 - 20:43 Demand: 302.5W, Panel DC: (0.0W), Hub DC: (0.0W), Inverter Limit: 188.0W, Hub Limit: 800.0W
2024-05-06 15:19:57,091:INFO: Reading last full time: 2024-05-06 15:19:57
2024-05-06 15:19:57,091:INFO: Reading battery target mode: discharging
2024-05-06 15:20:35,514:INFO: Reading last full time: 2024-05-06 15:20:35
2024-05-06 15:20:35,515:INFO: Reading battery target mode: discharging
2024-05-06 15:20:54,373:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:20:56,772:INFO: Reading last full time: 2024-05-06 15:20:56
2024-05-06 15:20:56,772:INFO: Reading battery target mode: discharging
2024-05-06 15:21:36,320:INFO: Reading last full time: 2024-05-06 15:21:36
2024-05-06 15:21:36,360:INFO: Reading battery target mode: discharging
2024-05-06 15:21:54,369:INFO: Publishing Homeassistant templates...
2024-05-06 15:21:54,373:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:21:54,413:INFO: Published 26 Homeassistant templates.
2024-05-06 15:21:54,420:INFO: HUB: S:136.4W [ 100.6,100.6,102.6,109.6,123.2,136.4 ], B:100% (100|100), V:50.8V (50.9|50.8), C: 0W, P:False (manual, not possible), F:0.0h, E:-1.0h, H: 0W, L:800W
2024-05-06 15:21:54,423:INFO: INV: AC:0.0W, AC_Prediction: 0.0W, DC:3.9W, DC_prediction: 3.9W (0.0|0.0|1.9|2.1), L:187W (46.8W/channel) [1600W]
2024-05-06 15:21:54,425:INFO: SMT: T:ShellyEM3 P:305.4W [ 307.3,307.3,306.9,306.2,305.4,305.3 ] Predict: 310.4W
2024-05-06 15:21:54,425:INFO: Direct connected panel are producing 0.0W, trying to get 295.3W from hub.
2024-05-06 15:21:54,426:INFO: Based on time, solarpower (136.4W) minimum charge power (0W) and bypass state (False), hub could contribute 136.4W - Decision path: 2.2.
2024-05-06 15:21:54,426:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-05-06 15:21:54,426:INFO: Solarflow is willing to contribute 68.0W (per channel) of the requested 295.3!
2024-05-06 15:21:54,426:INFO: Setting inverter output limit to 272W (1 min moving average of 68W x 4)
2024-05-06 15:21:54,427:INFO: Sun: 05:26 - 20:43 Demand: 295.3W, Panel DC: (0.0W), Hub DC: (0.0W), Inverter Limit: 272.0W, Hub Limit: 800.0W
2024-05-06 15:21:57,723:INFO: Reading last full time: 2024-05-06 15:21:57
2024-05-06 15:21:57,723:INFO: Reading battery target mode: discharging
2024-05-06 15:22:37,131:INFO: Reading last full time: 2024-05-06 15:22:37
2024-05-06 15:22:37,171:INFO: Reading battery target mode: discharging
2024-05-06 15:22:54,373:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:22:57,543:INFO: Reading last full time: 2024-05-06 15:22:57
2024-05-06 15:22:57,544:INFO: Reading battery target mode: discharging
2024-05-06 15:23:38,086:INFO: Reading last full time: 2024-05-06 15:23:38
2024-05-06 15:23:38,127:INFO: Reading battery target mode: discharging
2024-05-06 15:23:54,374:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read

After a while

2024-05-06 15:30:21,642:INFO: HUB: S:212.1W [ 183.7,183.7,187.4,193.5,206.5,212.1 ], B:100% (100|100), V:50.8V (50.8|50.7), C: 0W, P:False (manual, not possible), F:0.0h, E:-1.0h, H:220W, L:800W
2024-05-06 15:30:21,646:INFO: INV: AC:172.6W, AC_Prediction: 47.1W, DC:181.7W, DC_prediction: 51.8W (0.0|0.0|98.6|95.9), L:328W (82.0W/channel) [1600W]
2024-05-06 15:30:21,648:INFO: SMT: T:ShellyEM3 P:1434.5W [ 1535.7,1535.7,1526.1,1511.5,1485.8,1463.2 ] Predict: 1617.2W
2024-05-06 15:30:21,648:INFO: Direct connected panel are producing 0.0W, trying to get 1638.0W from hub.
2024-05-06 15:30:21,648:INFO: Based on time, solarpower (212.1W) minimum charge power (0W) and bypass state (False), hub could contribute 212.1W - Decision path: 2.2.
2024-05-06 15:30:21,648:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-05-06 15:30:21,649:INFO: Solarflow is willing to contribute 106.0W (per channel) of the requested 1638.0!
2024-05-06 15:30:21,649:INFO: Setting inverter output limit to 424W (1 min moving average of 106W x 4)
2024-05-06 15:30:21,649:INFO: Sun: 05:26 - 20:43 Demand: 1638.0W, Panel DC: (0.0W), Hub DC: (184.8W), Inverter Limit: 424.0W, Hub Limit: 800.0W
2024-05-06 15:30:21,649:INFO: SMT triggers limit function: 1485.8 -> 1463.2: executed
2024-05-06 15:30:21,652:INFO: SMT triggers limit function: 1484.8 -> 1462.3: skipped
2024-05-06 15:30:21,656:INFO: SMT triggers limit function: 1484.2 -> 1462.1: skipped
2024-05-06 15:30:23,438:INFO: SMT triggers limit function: 1483.6 -> 1461.9: skipped
2024-05-06 15:30:23,441:INFO: SMT triggers limit function: 1483.1 -> 1461.8: skipped
2024-05-06 15:30:23,445:INFO: SMT triggers limit function: 1481.9 -> 1460.6: skipped
2024-05-06 15:30:23,655:INFO: SMT triggers limit function: 1474.4 -> 1458.3: skipped
2024-05-06 15:30:23,659:INFO: SMT triggers limit function: 1473.3 -> 1457.1: skipped
2024-05-06 15:30:23,662:INFO: SMT triggers limit function: 1472.3 -> 1456.1: skipped
2024-05-06 15:30:25,669:INFO: SMT triggers limit function: 1464.7 -> 1453.0: skipped
2024-05-06 15:30:25,672:INFO: SMT triggers limit function: 1463.7 -> 1452.0: skipped
2024-05-06 15:30:25,675:INFO: SMT triggers limit function: 1463.1 -> 1451.3: skipped
2024-05-06 15:30:26,532:INFO: DTU triggers limit function: 129.1 -> 172.6: skipped
2024-05-06 15:30:26,565:INFO: DTU triggers limit function: 129.1 -> 172.6: skipped
2024-05-06 15:30:26,588:INFO: DTU triggers limit function: 129.1 -> 172.6: skipped
2024-05-06 15:30:26,612:INFO: DTU triggers limit function: 129.1 -> 172.6: skipped
2024-05-06 15:30:31,704:INFO: HUB: S:225.9W [ 196.8,196.8,202.8,214.4,218.8,225.9 ], B:100% (100|100), V:50.8V (50.8|50.7), C: 0W, P:False (manual, not possible), F:0.0h, E:-1.0h, H:233W, L:800W
2024-05-06 15:30:31,704:INFO: INV: AC:189.1W, AC_Prediction: 189.1W, DC:199.1W, DC_prediction: 199.1W (0.0|0.0|104.6|101.6), L:424W (106.0W/channel) [1600W]
2024-05-06 15:30:31,706:INFO: SMT: T:ShellyEM3 P:1443.9W [ 1507.1,1507.1,1492.6,1470.7,1452.0,1440.2 ] Predict: 1600.3W
2024-05-06 15:30:31,706:INFO: Direct connected panel are producing 0.0W, trying to get 1626.1W from hub.
2024-05-06 15:30:31,706:INFO: Based on time, solarpower (225.9W) minimum charge power (0W) and bypass state (False), hub could contribute 225.9W - Decision path: 2.2.
2024-05-06 15:30:31,707:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-05-06 15:30:31,707:INFO: Solarflow is willing to contribute 112.5W (per channel) of the requested 1626.1!
2024-05-06 15:30:31,707:INFO: Setting inverter output limit to 448W (1 min moving average of 112W x 4)
2024-05-06 15:30:31,707:INFO: Sun: 05:26 - 20:43 Demand: 1626.1W, Panel DC: (0.0W), Hub DC: (195.9W), Inverter Limit: 448.0W, Hub Limit: 800.0W
2024-05-06 15:30:31,707:INFO: SMT triggers limit function: 1452.0 -> 1440.2: executed
2024-05-06 15:30:31,711:INFO: SMT triggers limit function: 1451.8 -> 1440.3: skipped
2024-05-06 15:30:31,714:INFO: SMT triggers limit function: 1451.6 -> 1440.4: skipped
2024-05-06 15:30:33,715:INFO: SMT triggers limit function: 1450.2 -> 1438.5: skipped
2024-05-06 15:30:33,718:INFO: SMT triggers limit function: 1450.0 -> 1438.5: skipped
2024-05-06 15:30:33,721:INFO: SMT triggers limit function: 1449.4 -> 1437.9: skipped
2024-05-06 15:30:35,727:INFO: SMT triggers limit function: 1447.0 -> 1436.6: skipped
2024-05-06 15:30:35,731:INFO: SMT triggers limit function: 1446.5 -> 1436.1: skipped
2024-05-06 15:30:35,734:INFO: SMT triggers limit function: 1446.3 -> 1436.1: skipped
2024-05-06 15:30:42,531:INFO: Reading last full time: 2024-05-06 15:30:42
2024-05-06 15:30:42,571:INFO: Reading battery target mode: discharging
2024-05-06 15:30:54,376:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:30:56,833:INFO: Reading last full time: 2024-05-06 15:30:56
2024-05-06 15:30:56,834:INFO: Reading battery target mode: discharging
2024-05-06 15:31:43,133:INFO: Reading last full time: 2024-05-06 15:31:43
2024-05-06 15:31:43,133:INFO: Reading battery target mode: discharging
2024-05-06 15:31:54,370:INFO: Publishing Homeassistant templates...
2024-05-06 15:31:54,377:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-05-06 15:31:54,408:INFO: Published 26 Homeassistant templates.

Should the app report the proper bypass state?

Regards, MaVo

reinhard-brandstaedter commented 4 months ago

Bad timing :-) to switch release. Let it run, it will enable BP switching tomorrow at sunrise.

mavo commented 4 months ago

But it should all work fine for the night with discharge of battery to feed the consumption?

reinhard-brandstaedter commented 4 months ago

yep, at sunset it will start feeding and reset BP enablement.

reinhard-brandstaedter commented 4 months ago

Seems like a race-condition. From the flow it is correct to enable the bypass immediately at startup upon first reading of the battery state. However it seems that the command didn't go to the hub...

mavo commented 4 months ago

Yeah, might be. I could also see, that HA reported BP to be enabled, but the HUB had no idea about it. Today is sadly very cloudy, so I will not be able to see if it works this time. Maybe tomorrow 🤷

mavo commented 4 months ago

One more thing @reinhard-brandstaedter , can you maybe describe how the BP currently behaves when controlled by the app?

I am particularly interested in the behaviour when it will be turned off. So as far as I understood it, the BP, when enabled over the day will only get disabled when sunset (without any offset) is reached, correct? If yes... Why's this the case? For me, just by the nature of how the panels are located, my house needs battery support from around 7pm, as the solar production then drops below the 200w that the house has on idle power. Now, IF it is how I think it is, it would mean I would consume energy from the grid and have plenty in the batteries the next morning, resulting in sub-ideal usage of the system.

reinhard-brandstaedter commented 4 months ago

Bypass turns off at sunset - sunset_offset, just like when you normally allow feed in from the hub. So you can accomodate your production situation.