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

High waves in limiting the Inverter #206

Closed busaku closed 5 months ago

busaku commented 5 months ago

Instead of doing a "flat" wave of the inverter limit (doesn't care if i disable inverter limit), the limit jumps between really low and really hight numbers (e.g. 80 - 2000 - 80 - 600 - 400 - 80 - 2000).

Here are my settings:

[ahoydtu]
# The MQTT base topic your AhoyDTU reports to (as configured in AhoyDTU UI)
base_topic = inverter
# The inverter ID in AhoyDTU: typically 1 for the first inverter
inverter_id = 0
# List of indices of the inverter channels/ports (as reported in the DTU) that the Solarflow Hub is connected to
# typically the index starts at 1 as 0 is the output channel of the inverter
# e.g. 1,3 or 3 or [1,3]
sf_inverter_channels = [3,4]

# the max output power of your inverter, used to calculate correct absolute values
inverter_max_power = 1600

# The name of the inverter in AhoyDTU
inverter_name = BKW_Hoymiles

[shellyem3]
# The MQTT base topic your Shelly 3EM (Pro) is posting it's telemetry data to
# Note: you have to configure your Shelly to use MQTT
base_topic = shellies/shellyem3-<mysehlly>
rapid_change_diff = 250

[control]
min_charge_power = 50
max_discharge_power = 500
max_inverter_limit = 800
limit_inverter = true.  # doesn't take any effect (?)
inverter_min_limit = 10
Logfiles (long) ``` 2024-04-11 05:38:45,348:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|20), V:48.3V (48.4|48.3), C: -35W, P:False, F:12.1h, E:-1.0h, H: 34W, L:800W 2024-04-11 05:38:45,349:INFO: INV: AC:81.6W, AC_Prediction: 81.6W, DC:85.7W, DC_prediction: 85.7W (8.2|8.0|24.3|45.2), L:555.2W [1600W] 2024-04-11 05:38:45,358:INFO: SMT: T:ShellyEM3 P:204.5W [ 285.0,281.7,273.3,278.8,199.3,204.5 ] Predict: 189.4W 2024-04-11 05:38:45,368:INFO: Direct connected panels (16.2W) can't cover demand (271.0W), trying to get rest from hub. 2024-04-11 05:38:45,369:INFO: Checking if Solarflow is willing to contribute 254.8W ... 2024-04-11 05:38:45,371:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 254.8W - Decision path: 2.1. 2024-04-11 05:38:45,372:INFO: Hub should contribute more (254.0W) than what we currently get from panels (16.2W), we will use the inverter for fast/precise limiting! 2024-04-11 05:38:45,373:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit! 2024-04-11 05:38:45,374:INFO: Setting inverter output limit to 508W (1 min moving average of 127W x 4) 2024-04-11 05:38:45,377:INFO: Sun: 06:46 - 20:24 Demand: 271.0W, Panel DC: (8.2|8.0), Hub DC: (24.3|45.2), Inverter Limit: 508.0W, Hub Limit: 800.0W 2024-04-11 05:38:45,396:INFO: SMT triggers limit function: 204.6 -> 189.4 2024-04-11 05:38:45,397:INFO: Rate limit on trigger function, last call was only 0.0s ago! 2024-04-11 05:38:47,328:INFO: SMT triggers limit function: 212.2 -> 194.5 2024-04-11 05:38:47,328:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:38:47,346:INFO: SMT triggers limit function: 206.8 -> 190.9 2024-04-11 05:38:47,347:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:38:47,366:INFO: SMT triggers limit function: 204.7 -> 189.5 2024-04-11 05:38:47,367:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:38:48,332:INFO: SMT triggers limit function: 199.4 -> 185.9 2024-04-11 05:38:48,333:INFO: Rate limit on trigger function, last call was only 3.0s ago! 2024-04-11 05:38:48,352:INFO: SMT triggers limit function: 193.7 -> 182.1 2024-04-11 05:38:48,352:INFO: Rate limit on trigger function, last call was only 3.0s ago! 2024-04-11 05:38:48,371:INFO: SMT triggers limit function: 191.8 -> 180.9 2024-04-11 05:38:48,372:INFO: Rate limit on trigger function, last call was only 3.0s ago! 2024-04-11 05:38:50,339:INFO: SMT triggers limit function: 189.6 -> 179.4 2024-04-11 05:38:50,340:INFO: Rate limit on trigger function, last call was only 5.0s ago! 2024-04-11 05:38:50,369:INFO: SMT triggers limit function: 192.4 -> 181.3 2024-04-11 05:38:50,370:INFO: Rate limit on trigger function, last call was only 5.0s ago! 2024-04-11 05:38:50,399:INFO: SMT triggers limit function: 193.5 -> 182.0 2024-04-11 05:38:50,400:INFO: Rate limit on trigger function, last call was only 5.1s ago! 2024-04-11 05:38:53,942:INFO: DTU triggers limit function: 85.7 : -17.3 2024-04-11 05:38:53,943:INFO: Rate limit on trigger function, last call was only 8.6s ago! 2024-04-11 05:38:55,328:INFO: SMT triggers limit function: 191.8 -> 180.9 2024-04-11 05:38:55,328:INFO: Rate limit on trigger function, last call was only 10.0s ago! 2024-04-11 05:38:57,390:INFO: SMT triggers limit function: 172.5 -> 142.4 2024-04-11 05:38:57,391:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|20), V:48.3V (48.4|48.3), C: -65W, P:False, F:12.1h, E:-1.0h, H: 62W, L:800W 2024-04-11 05:38:57,392:INFO: INV: AC:98.3W, AC_Prediction: 98.3W, DC:103.3W, DC_prediction: 103.3W (8.2|8.0|30.2|56.9), L:507.2W [1600W] 2024-04-11 05:38:57,408:INFO: SMT: T:ShellyEM3 P:170.8W [ 281.7,273.3,278.8,199.3,184.4,172.5 ] Predict: 142.4W 2024-04-11 05:38:57,422:INFO: Direct connected panels (16.2W) can't cover demand (240.7W), trying to get rest from hub. 2024-04-11 05:38:57,423:INFO: Checking if Solarflow is willing to contribute 224.5W ... 2024-04-11 05:38:57,425:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 224.5W - Decision path: 2.1. 2024-04-11 05:38:57,426:INFO: Hub should contribute more (224.0W) than what we currently get from panels (16.2W), we will use the inverter for fast/precise limiting! 2024-04-11 05:38:57,427:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:38:57,428:INFO: Setting inverter output limit to 448W (1 min moving average of 112W x 4) 2024-04-11 05:38:57,432:INFO: Sun: 06:46 - 20:24 Demand: 240.7W, Panel DC: (8.2|8.0), Hub DC: (30.2|56.9), Inverter Limit: 448.0W, Hub Limit: 800.0W 2024-04-11 05:38:59,328:INFO: SMT triggers limit function: 164.3 -> 137.0 2024-04-11 05:38:59,328:INFO: Rate limit on trigger function, last call was only 1.9s ago! 2024-04-11 05:38:59,348:INFO: SMT triggers limit function: 177.5 -> 145.8 2024-04-11 05:38:59,348:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:38:59,366:INFO: SMT triggers limit function: 182.0 -> 148.8 2024-04-11 05:38:59,367:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:39:01,128:INFO: SMT triggers limit function: 186.9 -> 152.0 2024-04-11 05:39:01,129:INFO: Rate limit on trigger function, last call was only 3.7s ago! 2024-04-11 05:39:01,147:INFO: SMT triggers limit function: 200.7 -> 161.2 2024-04-11 05:39:01,147:INFO: Rate limit on trigger function, last call was only 3.8s ago! 2024-04-11 05:39:01,166:INFO: SMT triggers limit function: 205.4 -> 164.4 2024-04-11 05:39:01,166:INFO: Rate limit on trigger function, last call was only 3.8s ago! 2024-04-11 05:39:01,606:INFO: SMT triggers limit function: 209.6 -> 167.2 2024-04-11 05:39:01,607:INFO: Rate limit on trigger function, last call was only 4.2s ago! 2024-04-11 05:39:01,625:INFO: SMT triggers limit function: 206.3 -> 165.0 2024-04-11 05:39:01,625:INFO: Rate limit on trigger function, last call was only 4.2s ago! 2024-04-11 05:39:01,644:INFO: SMT triggers limit function: 205.0 -> 164.1 2024-04-11 05:39:01,644:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:39:03,337:INFO: SMT triggers limit function: 201.2 -> 161.6 2024-04-11 05:39:03,337:INFO: Rate limit on trigger function, last call was only 5.9s ago! 2024-04-11 05:39:03,363:INFO: SMT triggers limit function: 189.8 -> 154.0 2024-04-11 05:39:03,364:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:03,389:INFO: SMT triggers limit function: 186.3 -> 151.6 2024-04-11 05:39:03,390:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:05,333:INFO: SMT triggers limit function: 185.7 -> 151.2 2024-04-11 05:39:05,334:INFO: Rate limit on trigger function, last call was only 7.9s ago! 2024-04-11 05:39:05,363:INFO: SMT triggers limit function: 193.4 -> 156.4 2024-04-11 05:39:05,363:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:39:05,393:INFO: SMT triggers limit function: 197.1 -> 175.3 2024-04-11 05:39:05,393:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:39:07,316:INFO: SMT triggers limit function: 199.4 -> 176.4 2024-04-11 05:39:07,316:INFO: Rate limit on trigger function, last call was only 9.9s ago! 2024-04-11 05:39:07,334:INFO: SMT triggers limit function: 179.2 -> 167.0 2024-04-11 05:39:07,335:INFO: Rate limit on trigger function, last call was only 9.9s ago! 2024-04-11 05:39:10,333:INFO: SMT triggers limit function: 128.2 -> 143.3 2024-04-11 05:39:10,335:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:48.3V (48.4|48.3), C: -87W, P:False, F:12.1h, E:-1.0h, H: 83W, L:800W 2024-04-11 05:39:10,352:INFO: INV: AC:120.5W, AC_Prediction: 182.2W, DC:126.6W, DC_prediction: 191.6W (8.2|8.0|38.3|72.1), L:448.0W [1600W] 2024-04-11 05:39:10,362:INFO: SMT: T:ShellyEM3 P:118.1W [ 281.7,273.3,278.8,199.3,184.4,193.4,128.2 ] Predict: 143.3W 2024-04-11 05:39:10,379:INFO: Direct connected panels (16.2W) can't cover demand (325.5W), trying to get rest from hub. 2024-04-11 05:39:10,379:INFO: Checking if Solarflow is willing to contribute 309.3W ... 2024-04-11 05:39:10,382:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 309.3W - Decision path: 2.1. 2024-04-11 05:39:10,382:INFO: Hub should contribute more (309.0W) than what we currently get from panels (16.2W), we will use the inverter for fast/precise limiting! 2024-04-11 05:39:10,382:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:39:10,383:INFO: Setting inverter output limit to 616W (1 min moving average of 154W x 4) 2024-04-11 05:39:10,386:INFO: Sun: 06:46 - 20:24 Demand: 325.5W, Panel DC: (8.2|8.0), Hub DC: (38.3|72.1), Inverter Limit: 616.0W, Hub Limit: 800.0W 2024-04-11 05:39:10,405:INFO: SMT triggers limit function: 121.5 -> 140.2 2024-04-11 05:39:10,405:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:39:12,323:INFO: SMT triggers limit function: 115.5 -> 137.4 2024-04-11 05:39:12,324:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:39:12,353:INFO: SMT triggers limit function: 88.8 -> 125.0 2024-04-11 05:39:12,354:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:39:12,385:INFO: SMT triggers limit function: 79.8 -> 120.8 2024-04-11 05:39:12,386:INFO: Rate limit on trigger function, last call was only 2.1s ago! 2024-04-11 05:39:17,155:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read 2024-04-11 05:39:17,329:INFO: SMT triggers limit function: 38.97 -> 59.3 2024-04-11 05:39:17,330:INFO: Rate limit on trigger function, last call was only 7.0s ago! 2024-04-11 05:39:17,352:INFO: SMT triggers limit function: 39.1 -> 59.4 2024-04-11 05:39:17,353:INFO: Rate limit on trigger function, last call was only 7.0s ago! 2024-04-11 05:39:20,324:INFO: SMT triggers limit function: 40.5 -> 60.0 2024-04-11 05:39:20,325:INFO: Rate limit on trigger function, last call was only 10.0s ago! 2024-04-11 05:39:20,353:INFO: SMT triggers limit function: 46.7 -> 62.9 2024-04-11 05:39:20,354:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:48.3V (48.4|48.3), C:-122W, P:False, F:12.1h, E:-1.0h, H:117W, L:800W 2024-04-11 05:39:20,377:INFO: INV: AC:120.5W, AC_Prediction: 182.2W, DC:126.6W, DC_prediction: 191.6W (8.2|8.0|38.3|72.1), L:448.0W [1600W] 2024-04-11 05:39:20,389:INFO: SMT: T:ShellyEM3 P:49.8W [ 273.3,278.8,199.3,184.4,193.4,78.8,46.7 ] Predict: 62.9W 2024-04-11 05:39:20,412:INFO: Direct connected panels (16.2W) can't cover demand (245.1W), trying to get rest from hub. 2024-04-11 05:39:20,413:INFO: Checking if Solarflow is willing to contribute 228.9W ... 2024-04-11 05:39:20,415:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 228.9W - Decision path: 2.1. 2024-04-11 05:39:20,416:INFO: Hub should contribute more (228.0W) than what we currently get from panels (16.2W), we will use the inverter for fast/precise limiting! 2024-04-11 05:39:20,416:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:39:20,417:INFO: Setting inverter output limit to 456W (1 min moving average of 114W x 4) 2024-04-11 05:39:20,420:INFO: Sun: 06:46 - 20:24 Demand: 245.1W, Panel DC: (8.2|8.0), Hub DC: (38.3|72.1), Inverter Limit: 456.0W, Hub Limit: 800.0W 2024-04-11 05:39:20,442:INFO: SMT triggers limit function: 48.7 -> 63.8 2024-04-11 05:39:20,442:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:39:23,957:INFO: DTU triggers limit function: 191.6 : 85.7 2024-04-11 05:39:23,958:INFO: Rate limit on trigger function, last call was only 3.6s ago! 2024-04-11 05:39:26,321:INFO: SMT triggers limit function: 48.7 -> 13.6 2024-04-11 05:39:26,321:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:26,349:INFO: SMT triggers limit function: 38.1 -> 6.5 2024-04-11 05:39:26,350:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:26,378:INFO: SMT triggers limit function: 34.5 -> 4.1 2024-04-11 05:39:26,379:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:28,305:INFO: SMT triggers limit function: 33.7 -> 3.6 2024-04-11 05:39:28,305:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:39:28,323:INFO: SMT triggers limit function: 23.83999999999999 -> 13.0 2024-04-11 05:39:28,323:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:39:28,341:INFO: SMT triggers limit function: 24.0 -> 13.1 2024-04-11 05:39:28,342:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:39:29,304:INFO: SMT triggers limit function: 34.4 -> 17.9 2024-04-11 05:39:29,305:INFO: Rate limit on trigger function, last call was only 9.0s ago! 2024-04-11 05:39:29,323:INFO: SMT triggers limit function: 41.0 -> 21.0 2024-04-11 05:39:29,323:INFO: Rate limit on trigger function, last call was only 9.0s ago! 2024-04-11 05:39:29,342:INFO: SMT triggers limit function: 43.3 -> 22.0 2024-04-11 05:39:29,343:INFO: Rate limit on trigger function, last call was only 9.0s ago! 2024-04-11 05:39:31,140:INFO: SMT triggers limit function: 33.3 -> 17.4 2024-04-11 05:39:31,141:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.2V (48.2|48.1), C:-212W, P:False, F:12.1h, E:-1.0h, H:202W, L:800W 2024-04-11 05:39:31,141:INFO: INV: AC:253.4W, AC_Prediction: 253.4W, DC:266.5W, DC_prediction: 266.5W (8.3|8.0|86.9|163.3), L:456.0W [1600W] 2024-04-11 05:39:31,152:INFO: SMT: T:ShellyEM3 P:28.3W [ 278.8,199.3,184.4,193.4,78.8,33.7,33.3 ] Predict: 17.4W 2024-04-11 05:39:31,161:INFO: Direct connected panels (16.3W) can't cover demand (270.8W), trying to get rest from hub. 2024-04-11 05:39:31,161:INFO: Checking if Solarflow is willing to contribute 254.5W ... 2024-04-11 05:39:31,163:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 254.5W - Decision path: 2.1. 2024-04-11 05:39:31,163:INFO: Hub should contribute more (254.0W) than what we currently get from panels (16.3W), we will use the inverter for fast/precise limiting! 2024-04-11 05:39:31,164:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit! 2024-04-11 05:39:31,165:INFO: Setting inverter output limit to 508W (1 min moving average of 127W x 4) 2024-04-11 05:39:31,167:INFO: Sun: 06:46 - 20:24 Demand: 270.8W, Panel DC: (8.3|8.0), Hub DC: (86.9|163.3), Inverter Limit: 508.0W, Hub Limit: 800.0W 2024-04-11 05:39:31,187:INFO: SMT triggers limit function: 34.7 -> 18.0 2024-04-11 05:39:31,187:INFO: Rate limit on trigger function, last call was only 0.0s ago! 2024-04-11 05:39:31,205:INFO: SMT triggers limit function: 35.2 -> 18.3 2024-04-11 05:39:31,206:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:39:31,303:INFO: SMT triggers limit function: 34.3 -> 17.9 2024-04-11 05:39:31,304:INFO: Rate limit on trigger function, last call was only 0.2s ago! 2024-04-11 05:39:31,322:INFO: SMT triggers limit function: 33.4 -> 17.4 2024-04-11 05:39:31,322:INFO: Rate limit on trigger function, last call was only 0.2s ago! 2024-04-11 05:39:31,342:INFO: SMT triggers limit function: 33.0 -> 17.2 2024-04-11 05:39:31,343:INFO: Rate limit on trigger function, last call was only 0.2s ago! 2024-04-11 05:39:33,319:INFO: SMT triggers limit function: 31.3 -> 16.5 2024-04-11 05:39:33,321:INFO: Rate limit on trigger function, last call was only 2.2s ago! 2024-04-11 05:39:38,933:INFO: DTU triggers limit function: 266.5 : 191.6 2024-04-11 05:39:38,934:INFO: Rate limit on trigger function, last call was only 7.8s ago! 2024-04-11 05:39:51,334:INFO: SMT triggers limit function: 8.4 -> -104.9 2024-04-11 05:39:51,336:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.2V (48.2|48.1), C:-270W, P:False, F:12.1h, E:-1.0h, H:258W, L:800W 2024-04-11 05:39:51,337:INFO: INV: AC:293.4W, AC_Prediction: 293.4W, DC:308.7W, DC_prediction: 308.7W (8.4|8.1|101.4|190.8), L:507.2W [1600W] 2024-04-11 05:39:51,351:INFO: SMT: T:ShellyEM3 P:6.9W [ 184.4,193.4,78.8,33.7,8.4 ] Predict: -104.9W 2024-04-11 05:39:51,366:INFO: Adjusting inverter limit from 8.4W to 21.5W 2024-04-11 05:39:51,367:INFO: Setting inverter output limit to 84W (1 min moving average of 21W x 4) 2024-04-11 05:39:51,368:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 0 2024-04-11 05:39:51,371:INFO: Sun: 06:46 - 20:24 Demand: 0.0W, Panel DC: (8.4|8.1), Hub DC: (101.4|190.8), Inverter Limit: 84.0W, Hub Limit: 800.0W 2024-04-11 05:39:51,395:INFO: SMT triggers limit function: -2.5100000000000193 -> -70.8 2024-04-11 05:39:51,396:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:39:51,420:INFO: SMT triggers limit function: -2.5 -> -70.8 2024-04-11 05:39:51,421:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:39:53,287:INFO: SMT triggers limit function: 6.5 -> -64.8 2024-04-11 05:39:53,288:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:39:53,306:INFO: SMT triggers limit function: 172.1 -> 45.6 2024-04-11 05:39:53,306:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:39:53,325:INFO: SMT triggers limit function: 227.6 -> 82.6 2024-04-11 05:39:53,326:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:39:53,950:INFO: DTU triggers limit function: 308.7 : 266.5 2024-04-11 05:39:53,950:INFO: Rate limit on trigger function, last call was only 2.6s ago! 2024-04-11 05:39:55,292:INFO: SMT triggers limit function: 241.0 -> 91.6 2024-04-11 05:39:55,292:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:39:55,311:INFO: SMT triggers limit function: 243.6 -> 93.3 2024-04-11 05:39:55,312:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:39:55,331:INFO: SMT triggers limit function: 244.3 -> 93.8 2024-04-11 05:39:55,331:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:39:57,300:INFO: SMT triggers limit function: 240.5 -> 120.5 2024-04-11 05:39:57,300:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:57,329:INFO: SMT triggers limit function: 237.1 -> 117.1 2024-04-11 05:39:57,330:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:57,359:INFO: SMT triggers limit function: 235.7 -> 115.7 2024-04-11 05:39:57,360:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:39:59,286:INFO: SMT triggers limit function: 238.4 -> 118.4 2024-04-11 05:39:59,286:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:39:59,305:INFO: SMT triggers limit function: 238.3 -> 118.3 2024-04-11 05:39:59,305:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:39:59,324:INFO: SMT triggers limit function: 238.6 -> 118.6 2024-04-11 05:39:59,325:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:40:01,335:INFO: SMT triggers limit function: 236.2 -> 116.2 2024-04-11 05:40:01,336:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.2V (48.2|48.1), C:-176W, P:False, F:12.1h, E:-1.0h, H:168W, L:800W 2024-04-11 05:40:01,347:INFO: INV: AC:293.5W, AC_Prediction: 293.5W, DC:308.7W, DC_prediction: 459.9W (8.4|8.1|101.4|190.8), L:83.2W [1600W] 2024-04-11 05:40:01,356:INFO: SMT: T:ShellyEM3 P:235.0W [ 193.4,78.8,33.7,8.4,236.2 ] Predict: 116.2W 2024-04-11 05:40:01,366:INFO: Direct connected panels (16.5W) can't cover demand (409.7W), trying to get rest from hub. 2024-04-11 05:40:01,366:INFO: Checking if Solarflow is willing to contribute 393.2W ... 2024-04-11 05:40:01,369:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 393.2W - Decision path: 2.1. 2024-04-11 05:40:01,369:INFO: Hub should contribute more (393.0W) than what we currently get from panels (16.5W), we will use the inverter for fast/precise limiting! 2024-04-11 05:40:01,370:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:40:01,372:INFO: Setting inverter output limit to 784W (1 min moving average of 196W x 4) 2024-04-11 05:40:01,375:INFO: Sun: 06:46 - 20:24 Demand: 409.7W, Panel DC: (8.4|8.1), Hub DC: (101.4|190.8), Inverter Limit: 784.0W, Hub Limit: 800.0W 2024-04-11 05:40:01,393:INFO: SMT triggers limit function: 245.12 -> 203.2 2024-04-11 05:40:01,393:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:40:01,412:INFO: SMT triggers limit function: 245.0 -> 203.1 2024-04-11 05:40:01,413:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:40:01,431:INFO: SMT triggers limit function: 245.8 -> 203.6 2024-04-11 05:40:01,432:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:40:01,451:INFO: SMT triggers limit function: 241.4 -> 200.7 2024-04-11 05:40:01,451:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:40:01,473:INFO: SMT triggers limit function: 240.1 -> 199.8 2024-04-11 05:40:01,473:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:40:03,296:INFO: SMT triggers limit function: 242.7 -> 201.5 2024-04-11 05:40:03,297:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:40:03,327:INFO: SMT triggers limit function: 81.5 -> 94.1 2024-04-11 05:40:03,327:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:40:03,356:INFO: SMT triggers limit function: 27.4 -> 58.0 2024-04-11 05:40:03,357:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:40:05,280:INFO: SMT triggers limit function: 4.0 -> 42.4 2024-04-11 05:40:05,280:INFO: Rate limit on trigger function, last call was only 3.9s ago! 2024-04-11 05:40:05,298:INFO: SMT triggers limit function: -16.2 -> 28.9 2024-04-11 05:40:05,299:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:40:05,317:INFO: SMT triggers limit function: -23.0 -> 24.4 2024-04-11 05:40:05,318:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:40:08,938:INFO: DTU triggers limit function: 459.9 : 308.7 2024-04-11 05:40:08,938:INFO: Rate limit on trigger function, last call was only 7.6s ago! 2024-04-11 05:40:12,285:INFO: SMT triggers limit function: -17.5 -> 71.9 2024-04-11 05:40:12,286:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.2V (48.2|48.1), C:-198W, P:False, F:12.1h, E:-1.0h, H:189W, L:800W 2024-04-11 05:40:12,311:INFO: INV: AC:320.8W, AC_Prediction: 432.6W, DC:337.5W, DC_prediction: 455.2W (8.5|8.2|111.4|209.4), L:784.0W [1600W] 2024-04-11 05:40:12,324:INFO: SMT: T:ShellyEM3 P:-14.7W [ 78.8,33.7,8.4,236.2,-17.5 ] Predict: 71.9W 2024-04-11 05:40:12,347:INFO: Direct connected panels (16.7W) can't cover demand (504.5W), trying to get rest from hub. 2024-04-11 05:40:12,348:INFO: Checking if Solarflow is willing to contribute 487.8W ... 2024-04-11 05:40:12,350:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 487.8W - Decision path: 2.1. 2024-04-11 05:40:12,351:INFO: Hub should contribute more (487.0W) than what we currently get from panels (16.7W), we will use the inverter for fast/precise limiting! 2024-04-11 05:40:12,352:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:40:12,355:INFO: Setting inverter output limit to 972W (1 min moving average of 243W x 4) 2024-04-11 05:40:12,359:INFO: Sun: 06:46 - 20:24 Demand: 504.5W, Panel DC: (8.5|8.2), Hub DC: (111.4|209.4), Inverter Limit: 972.0W, Hub Limit: 800.0W 2024-04-11 05:40:12,385:INFO: SMT triggers limit function: -22.180000000000007 -> 9.8 2024-04-11 05:40:12,385:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:40:12,408:INFO: SMT triggers limit function: -22.2 -> 9.8 2024-04-11 05:40:12,409:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:40:16,276:INFO: SMT triggers limit function: -30.3 -> 4.4 2024-04-11 05:40:16,276:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:40:16,294:INFO: SMT triggers limit function: -34.7 -> 1.5 2024-04-11 05:40:16,295:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:40:16,313:INFO: SMT triggers limit function: -36.1 -> 0.6 2024-04-11 05:40:16,314:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:40:17,156:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read 2024-04-11 05:40:20,282:INFO: SMT triggers limit function: -32.9 -> -18.1 2024-04-11 05:40:20,283:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:40:20,312:INFO: SMT triggers limit function: -35.2 -> -20.4 2024-04-11 05:40:20,313:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:40:20,342:INFO: SMT triggers limit function: -36.0 -> -21.2 2024-04-11 05:40:20,343:INFO: Rate limit on trigger function, last call was only 8.1s ago! 2024-04-11 05:40:23,283:INFO: SMT triggers limit function: -37.4 -> -22.6 2024-04-11 05:40:23,284:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:48.2V (48.2|48.1), C:-283W, P:False, F:12.2h, E:-1.0h, H:270W, L:800W 2024-04-11 05:40:23,301:INFO: INV: AC:320.8W, AC_Prediction: 432.6W, DC:337.5W, DC_prediction: 455.2W (8.5|8.2|111.4|209.4), L:784.0W [1600W] 2024-04-11 05:40:23,311:INFO: SMT: T:ShellyEM3 P:-38.1W [ 33.7,8.4,236.2,-17.5,-37.4 ] Predict: -22.6W 2024-04-11 05:40:23,328:INFO: Adjusting inverter limit from 8.5W to 21.7W 2024-04-11 05:40:23,328:INFO: Setting inverter output limit to 84W (1 min moving average of 21W x 4) 2024-04-11 05:40:23,329:INFO: Setting solarflow output limit to 160.0W 2024-04-11 05:40:23,332:INFO: Sun: 06:46 - 20:24 Demand: 0.0W, Panel DC: (8.5|8.2), Hub DC: (111.4|209.4), Inverter Limit: 84.0W, Hub Limit: 160.0W 2024-04-11 05:40:25,269:INFO: Rapid rise in demand detected, clearing buffer! 2024-04-11 05:40:25,270:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:40:38,930:INFO: DTU triggers limit function: 353.8 : 459.9 2024-04-11 05:40:38,931:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:48.0V (48.0|47.9), C:-114W, P:False, F:12.2h, E:-1.0h, H:109W, L:160W 2024-04-11 05:40:38,933:INFO: INV: AC:336.2W, AC_Prediction: 336.2W, DC:353.8W, DC_prediction: 353.8W (8.6|8.3|117.0|219.9), L:83.2W [1600W] 2024-04-11 05:40:38,935:INFO: SMT: T:ShellyEM3 P:258.3W [ 241.7,241.6,253.3,258.3 ] Predict: 258.3W 2024-04-11 05:40:38,936:INFO: Direct connected panels (16.9W) can't cover demand (594.5W), trying to get rest from hub. 2024-04-11 05:40:38,936:INFO: Checking if Solarflow is willing to contribute 577.6W ... 2024-04-11 05:40:38,942:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 500.0W - Decision path: 2.1. 2024-04-11 05:40:38,942:INFO: Hub should contribute more (500.0W) than what we currently get from panels (16.9W), we will use the inverter for fast/precise limiting! 2024-04-11 05:40:38,943:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 160, new limit: 800 2024-04-11 05:40:38,944:INFO: Setting inverter output limit to 1000W (1 min moving average of 250W x 4) 2024-04-11 05:40:38,950:INFO: Sun: 06:46 - 20:24 Demand: 594.5W, Panel DC: (8.6|8.3), Hub DC: (117.0|219.9), Inverter Limit: 1000.0W, Hub Limit: 160.0W 2024-04-11 05:40:48,270:INFO: SMT triggers limit function: 108.80000000000001 -> 31.3 2024-04-11 05:40:48,272:INFO: Rate limit on trigger function, last call was only 9.3s ago! 2024-04-11 05:40:48,303:INFO: SMT triggers limit function: 108.9 -> 31.4 2024-04-11 05:40:48,304:INFO: Rate limit on trigger function, last call was only 9.4s ago! 2024-04-11 05:40:53,959:INFO: DTU triggers limit function: 70.1 : 353.8 2024-04-11 05:40:53,960:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:48.0V (48.0|47.9), C:-116W, P:False, F:12.2h, E:-1.0h, H:111W, L:160W 2024-04-11 05:40:53,988:INFO: INV: AC:35.6W, AC_Prediction: 66.7W, DC:37.3W, DC_prediction: 70.1W (8.8|8.3|7.4|13.0), L:1000.0W [1600W] 2024-04-11 05:40:54,003:INFO: SMT: T:ShellyEM3 P:109.0W [ 241.7,241.6,253.3,108.6,108.9 ] Predict: 31.4W 2024-04-11 05:40:54,030:INFO: Direct connected panels (17.1W) can't cover demand (98.1W), trying to get rest from hub. 2024-04-11 05:40:54,031:INFO: Checking if Solarflow is willing to contribute 81.0W ... 2024-04-11 05:40:54,035:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 81.0W - Decision path: 2.1. 2024-04-11 05:40:54,036:INFO: Hub should contribute more (81.0W) than what we currently get from panels (17.1W), we will use the inverter for fast/precise limiting! 2024-04-11 05:40:54,036:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 160, new limit: 800 2024-04-11 05:40:54,039:INFO: Setting inverter output limit to 600W (1 min moving average of 150W x 4) 2024-04-11 05:40:54,043:INFO: Sun: 06:46 - 20:24 Demand: 98.1W, Panel DC: (8.8|8.3), Hub DC: (7.4|13.0), Inverter Limit: 600.0W, Hub Limit: 160.0W 2024-04-11 05:40:58,246:INFO: SMT triggers limit function: 110.3 -> 32.8 2024-04-11 05:40:58,247:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:40:58,265:INFO: SMT triggers limit function: 106.7 -> 29.2 2024-04-11 05:40:58,265:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:40:58,284:INFO: SMT triggers limit function: 104.66 -> 52.6 2024-04-11 05:40:58,285:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:41:00,259:INFO: SMT triggers limit function: 103.8 -> 52.1 2024-04-11 05:41:00,260:INFO: Rate limit on trigger function, last call was only 6.3s ago! 2024-04-11 05:41:00,291:INFO: SMT triggers limit function: 96.2 -> 47.0 2024-04-11 05:41:00,292:INFO: Rate limit on trigger function, last call was only 6.3s ago! 2024-04-11 05:41:00,321:INFO: SMT triggers limit function: 93.6 -> 45.3 2024-04-11 05:41:00,322:INFO: Rate limit on trigger function, last call was only 6.4s ago! 2024-04-11 05:41:01,281:INFO: SMT triggers limit function: 95.4 -> 46.5 2024-04-11 05:41:01,282:INFO: Rate limit on trigger function, last call was only 7.3s ago! 2024-04-11 05:41:01,301:INFO: SMT triggers limit function: 96.9 -> 47.5 2024-04-11 05:41:01,301:INFO: Rate limit on trigger function, last call was only 7.3s ago! 2024-04-11 05:41:01,320:INFO: SMT triggers limit function: 97.5 -> 47.9 2024-04-11 05:41:01,321:INFO: Rate limit on trigger function, last call was only 7.4s ago! 2024-04-11 05:41:08,924:INFO: DTU triggers limit function: 179.4 : 70.1 2024-04-11 05:41:08,926:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:48.0V (48.0|47.9), C:-153W, P:False, F:12.2h, E:-1.0h, H:146W, L:160W 2024-04-11 05:41:08,927:INFO: INV: AC:170.5W, AC_Prediction: 170.5W, DC:179.4W, DC_prediction: 179.4W (8.9|8.5|56.3|105.8), L:600.0W [1600W] 2024-04-11 05:41:08,944:INFO: SMT: T:ShellyEM3 P:97.7W [ 241.7,241.6,253.3,108.6,106.7,97.5 ] Predict: 47.9W 2024-04-11 05:41:08,959:INFO: Direct connected panels (17.4W) can't cover demand (218.4W), trying to get rest from hub. 2024-04-11 05:41:08,960:INFO: Checking if Solarflow is willing to contribute 201.0W ... 2024-04-11 05:41:08,964:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 201.0W - Decision path: 2.1. 2024-04-11 05:41:08,964:INFO: Hub should contribute more (201.0W) than what we currently get from panels (17.4W), we will use the inverter for fast/precise limiting! 2024-04-11 05:41:08,967:INFO: Setting solarflow output limit to 640.0W 2024-04-11 05:41:08,968:INFO: Setting inverter output limit to 2400W (1 min moving average of 630W x 4) 2024-04-11 05:41:08,973:INFO: Sun: 06:46 - 20:24 Demand: 218.4W, Panel DC: (8.9|8.5), Hub DC: (56.3|105.8), Inverter Limit: 2400.0W, Hub Limit: 640.0W 2024-04-11 05:41:09,254:INFO: SMT triggers limit function: 95.5 -> 46.5 2024-04-11 05:41:09,254:INFO: Rate limit on trigger function, last call was only 0.3s ago! 2024-04-11 05:41:09,283:INFO: SMT triggers limit function: 98.05000000000001 -> 70.4 2024-04-11 05:41:09,284:INFO: Rate limit on trigger function, last call was only 0.4s ago! 2024-04-11 05:41:09,314:INFO: SMT triggers limit function: 98.0 -> 70.4 2024-04-11 05:41:09,314:INFO: Rate limit on trigger function, last call was only 0.4s ago! 2024-04-11 05:41:11,250:INFO: SMT triggers limit function: 96.2 -> 69.6 2024-04-11 05:41:11,251:INFO: Rate limit on trigger function, last call was only 2.3s ago! 2024-04-11 05:41:11,269:INFO: SMT triggers limit function: 86.9 -> 65.3 2024-04-11 05:41:11,269:INFO: Rate limit on trigger function, last call was only 2.3s ago! 2024-04-11 05:41:11,288:INFO: SMT triggers limit function: 83.8 -> 63.8 2024-04-11 05:41:11,288:INFO: Rate limit on trigger function, last call was only 2.4s ago! 2024-04-11 05:41:13,241:INFO: SMT triggers limit function: 84.5 -> 64.2 2024-04-11 05:41:13,241:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:41:13,260:INFO: SMT triggers limit function: 74.7 -> 59.6 2024-04-11 05:41:13,260:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:41:13,279:INFO: SMT triggers limit function: 71.5 -> 58.1 2024-04-11 05:41:13,279:INFO: Rate limit on trigger function, last call was only 4.4s ago! 2024-04-11 05:41:17,158:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read 2024-04-11 05:41:17,245:INFO: SMT triggers limit function: 71.2 -> 58.0 2024-04-11 05:41:17,247:INFO: Rate limit on trigger function, last call was only 8.3s ago! 2024-04-11 05:41:19,268:INFO: SMT triggers limit function: 45.41 -> 59.6 2024-04-11 05:41:19,270:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:48.0V (48.0|47.9), C:-166W, P:False, F:12.2h, E:-1.0h, H:159W, L:640W 2024-04-11 05:41:19,271:INFO: INV: AC:188.3W, AC_Prediction: 188.3W, DC:198.2W, DC_prediction: 198.2W (8.9|8.6|62.8|117.9), L:600.0W [1600W] 2024-04-11 05:41:19,281:INFO: SMT: T:ShellyEM3 P:45.4W [ 241.7,241.6,253.3,108.6,106.7,95.5,51.0,45.4 ] Predict: 59.6W 2024-04-11 05:41:19,291:INFO: Direct connected panels (17.5W) can't cover demand (247.9W), trying to get rest from hub. 2024-04-11 05:41:19,292:INFO: Checking if Solarflow is willing to contribute 230.4W ... 2024-04-11 05:41:19,295:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 230.4W - Decision path: 2.1. 2024-04-11 05:41:19,296:INFO: Hub should contribute more (230.0W) than what we currently get from panels (17.5W), we will use the inverter for fast/precise limiting! 2024-04-11 05:41:19,297:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 640, new limit: 800 2024-04-11 05:41:19,299:INFO: Setting inverter output limit to 2400W (1 min moving average of 630W x 4) 2024-04-11 05:41:19,302:INFO: Sun: 06:46 - 20:24 Demand: 247.9W, Panel DC: (8.9|8.6), Hub DC: (62.8|117.9), Inverter Limit: 2400.0W, Hub Limit: 640.0W 2024-04-11 05:41:27,239:INFO: SMT triggers limit function: 44.3 -> -13.0 2024-04-11 05:41:27,240:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:41:27,272:INFO: SMT triggers limit function: 30.2 -> -22.4 2024-04-11 05:41:27,273:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:41:27,304:INFO: SMT triggers limit function: 25.5 -> -25.5 2024-04-11 05:41:27,305:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:41:29,232:INFO: SMT triggers limit function: 23.6 -> -26.8 2024-04-11 05:41:29,233:INFO: Rate limit on trigger function, last call was only 10.0s ago! 2024-04-11 05:41:29,254:INFO: SMT triggers limit function: 16.0 -> -31.9 2024-04-11 05:41:29,255:INFO: Rate limit on trigger function, last call was only 10.0s ago! 2024-04-11 05:41:29,274:INFO: SMT triggers limit function: 12.050000000000026 -> -11.5 2024-04-11 05:41:29,275:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.0V (48.0|48.0), C:-204W, P:False, F:12.2h, E:-1.0h, H:195W, L:640W 2024-04-11 05:41:29,293:INFO: INV: AC:247.4W, AC_Prediction: 185.6W, DC:260.3W, DC_prediction: 195.4W (9.0|8.7|84.3|158.3), L:2400.0W [1600W] 2024-04-11 05:41:29,303:INFO: SMT: T:ShellyEM3 P:12.1W [ 253.3,108.6,106.7,95.5,51.0,16.0,12.1 ] Predict: -11.5W 2024-04-11 05:41:29,320:INFO: Adjusting inverter limit from 9.0W to 22.7W 2024-04-11 05:41:29,321:INFO: Setting inverter output limit to 88W (1 min moving average of 22W x 4) 2024-04-11 05:41:29,322:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 640, new limit: 0 2024-04-11 05:41:29,325:INFO: Sun: 06:46 - 20:24 Demand: 0.0W, Panel DC: (9.0|8.7), Hub DC: (84.3|158.3), Inverter Limit: 88.0W, Hub Limit: 640.0W 2024-04-11 05:41:31,244:INFO: SMT triggers limit function: 11.7 -> -11.6 2024-04-11 05:41:31,245:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:31,263:INFO: SMT triggers limit function: 147.6 -> 51.5 2024-04-11 05:41:31,264:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:31,283:INFO: SMT triggers limit function: 193.0 -> 72.5 2024-04-11 05:41:31,283:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:31,305:INFO: SMT triggers limit function: 208.1 -> 79.5 2024-04-11 05:41:31,306:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:31,324:INFO: SMT triggers limit function: 213.2 -> 81.9 2024-04-11 05:41:31,324:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:31,343:INFO: SMT triggers limit function: 214.9 -> 82.7 2024-04-11 05:41:31,344:INFO: Rate limit on trigger function, last call was only 2.1s ago! 2024-04-11 05:41:32,227:INFO: SMT triggers limit function: 219.5 -> 84.8 2024-04-11 05:41:32,228:INFO: Rate limit on trigger function, last call was only 3.0s ago! 2024-04-11 05:41:32,246:INFO: SMT triggers limit function: 225.2 -> 87.5 2024-04-11 05:41:32,247:INFO: Rate limit on trigger function, last call was only 3.0s ago! 2024-04-11 05:41:32,266:INFO: SMT triggers limit function: 227.3 -> 88.5 2024-04-11 05:41:32,267:INFO: Rate limit on trigger function, last call was only 3.0s ago! 2024-04-11 05:41:35,237:INFO: SMT triggers limit function: 226.4 -> 88.0 2024-04-11 05:41:35,238:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:41:35,267:INFO: SMT triggers limit function: 227.3 -> 88.5 2024-04-11 05:41:35,268:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:41:35,297:INFO: SMT triggers limit function: 227.2 -> 88.4 2024-04-11 05:41:35,298:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:41:37,224:INFO: SMT triggers limit function: 226.0 -> 127.7 2024-04-11 05:41:37,224:INFO: Rate limit on trigger function, last call was only 7.9s ago! 2024-04-11 05:41:37,243:INFO: SMT triggers limit function: 230.5 -> 130.7 2024-04-11 05:41:37,243:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:41:37,262:INFO: SMT triggers limit function: 232.3 -> 131.9 2024-04-11 05:41:37,262:INFO: Rate limit on trigger function, last call was only 8.0s ago! 2024-04-11 05:41:39,224:INFO: SMT triggers limit function: 234.4 -> 133.3 2024-04-11 05:41:39,225:INFO: Rate limit on trigger function, last call was only 9.9s ago! 2024-04-11 05:41:39,244:INFO: SMT triggers limit function: 230.8 -> 130.9 2024-04-11 05:41:39,245:INFO: Rate limit on trigger function, last call was only 10.0s ago! 2024-04-11 05:41:39,264:INFO: SMT triggers limit function: 229.2 -> 129.8 2024-04-11 05:41:39,264:INFO: Rate limit on trigger function, last call was only 10.0s ago! 2024-04-11 05:41:41,237:INFO: SMT triggers limit function: 224.28 -> 173.7 2024-04-11 05:41:41,239:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.0V (48.0|48.0), C:-129W, P:False, F:12.2h, E:-1.0h, H:123W, L:640W 2024-04-11 05:41:41,240:INFO: INV: AC:62.1W, AC_Prediction: 62.1W, DC:65.2W, DC_prediction: 65.2W (9.1|8.7|16.5|30.9), L:88.0W [1600W] 2024-04-11 05:41:41,256:INFO: SMT: T:ShellyEM3 P:224.3W [ 108.6,106.7,95.5,51.0,16.0,229.2,224.3 ] Predict: 173.7W 2024-04-11 05:41:41,267:INFO: Direct connected panels (17.8W) can't cover demand (235.8W), trying to get rest from hub. 2024-04-11 05:41:41,268:INFO: Checking if Solarflow is willing to contribute 218.0W ... 2024-04-11 05:41:41,271:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 218.0W - Decision path: 2.1. 2024-04-11 05:41:41,272:INFO: Hub should contribute more (218.0W) than what we currently get from panels (17.8W), we will use the inverter for fast/precise limiting! 2024-04-11 05:41:41,273:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 640, new limit: 800 2024-04-11 05:41:41,275:INFO: Setting inverter output limit to 2400W (1 min moving average of 630W x 4) 2024-04-11 05:41:41,278:INFO: Sun: 06:46 - 20:24 Demand: 235.8W, Panel DC: (9.1|8.7), Hub DC: (16.5|30.9), Inverter Limit: 2400.0W, Hub Limit: 640.0W 2024-04-11 05:41:41,300:INFO: SMT triggers limit function: 222.3 -> 172.8 2024-04-11 05:41:41,301:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:41:41,324:INFO: SMT triggers limit function: 222.0 -> 172.6 2024-04-11 05:41:41,325:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:41:43,221:INFO: SMT triggers limit function: 227.1 -> 175.0 2024-04-11 05:41:43,222:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:43,240:INFO: SMT triggers limit function: 95.0 -> 113.6 2024-04-11 05:41:43,241:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:43,260:INFO: SMT triggers limit function: 50.6 -> 93.0 2024-04-11 05:41:43,261:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:41:45,219:INFO: SMT triggers limit function: 30.5 -> 83.7 2024-04-11 05:41:45,219:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:41:45,238:INFO: SMT triggers limit function: 15.7 -> 76.8 2024-04-11 05:41:45,239:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:41:45,257:INFO: SMT triggers limit function: 10.7 -> 74.5 2024-04-11 05:41:45,258:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:41:53,936:INFO: DTU triggers limit function: 65.2 : 179.4 2024-04-11 05:41:53,937:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.0V (48.0|48.0), C:-178W, P:False, F:12.2h, E:-1.0h, H:170W, L:640W 2024-04-11 05:41:53,938:INFO: INV: AC:62.1W, AC_Prediction: 62.1W, DC:65.2W, DC_prediction: 65.2W (9.2|8.7|16.5|30.9), L:2400.0W [1600W] 2024-04-11 05:41:53,952:INFO: SMT: T:ShellyEM3 P:8.2W [ 108.6,106.7,95.5,51.0,16.0,229.2,10.7 ] Predict: 74.5W 2024-04-11 05:41:53,966:INFO: Direct connected panels (17.9W) can't cover demand (136.6W), trying to get rest from hub. 2024-04-11 05:41:53,967:INFO: Checking if Solarflow is willing to contribute 118.7W ... 2024-04-11 05:41:53,970:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 118.7W - Decision path: 2.1. 2024-04-11 05:41:53,971:INFO: Hub should contribute more (118.0W) than what we currently get from panels (17.9W), we will use the inverter for fast/precise limiting! 2024-04-11 05:41:53,973:INFO: Setting solarflow output limit to 800.0W 2024-04-11 05:41:53,974:INFO: Setting inverter output limit to 236W (1 min moving average of 59W x 4) 2024-04-11 05:41:53,977:INFO: Sun: 06:46 - 20:24 Demand: 136.6W, Panel DC: (9.2|8.7), Hub DC: (16.5|30.9), Inverter Limit: 236.0W, Hub Limit: 800.0W 2024-04-11 05:41:56,216:INFO: SMT triggers limit function: 14.1 -> 75.7 2024-04-11 05:41:56,216:INFO: Rate limit on trigger function, last call was only 2.3s ago! 2024-04-11 05:41:56,240:INFO: SMT triggers limit function: 131.01999999999998 -> 101.4 2024-04-11 05:41:56,241:INFO: Rate limit on trigger function, last call was only 2.3s ago! 2024-04-11 05:41:56,266:INFO: SMT triggers limit function: 131.0 -> 101.4 2024-04-11 05:41:56,267:INFO: Rate limit on trigger function, last call was only 2.3s ago! 2024-04-11 05:41:58,204:INFO: SMT triggers limit function: 127.8 -> 99.9 2024-04-11 05:41:58,205:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:41:58,222:INFO: SMT triggers limit function: 101.5 -> 87.7 2024-04-11 05:41:58,223:INFO: Rate limit on trigger function, last call was only 4.3s ago! 2024-04-11 05:42:03,244:INFO: SMT triggers limit function: 142.3 -> 125.0 2024-04-11 05:42:03,245:INFO: Rate limit on trigger function, last call was only 9.3s ago! 2024-04-11 05:42:03,274:INFO: SMT triggers limit function: 158.8 -> 136.0 2024-04-11 05:42:03,275:INFO: Rate limit on trigger function, last call was only 9.3s ago! 2024-04-11 05:42:05,202:INFO: SMT triggers limit function: 170.7 -> 143.9 2024-04-11 05:42:05,203:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.0V (48.0|48.0), C:-191W, P:False, F:12.2h, E:-1.0h, H:182W, L:800W 2024-04-11 05:42:05,203:INFO: INV: AC:275.8W, AC_Prediction: 275.8W, DC:290.1W, DC_prediction: 290.1W (9.2|8.9|94.5|177.5), L:2400.0W [1600W] 2024-04-11 05:42:05,212:INFO: SMT: T:ShellyEM3 P:176.7W [ 95.5,51.0,16.0,229.2,14.1,170.7 ] Predict: 143.9W 2024-04-11 05:42:05,221:INFO: Direct connected panels (18.1W) can't cover demand (419.7W), trying to get rest from hub. 2024-04-11 05:42:05,221:INFO: Checking if Solarflow is willing to contribute 401.6W ... 2024-04-11 05:42:05,223:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 401.6W - Decision path: 2.1. 2024-04-11 05:42:05,224:INFO: Hub should contribute more (401.0W) than what we currently get from panels (18.1W), we will use the inverter for fast/precise limiting! 2024-04-11 05:42:05,224:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:42:05,225:INFO: Setting inverter output limit to 800W (1 min moving average of 200W x 4) 2024-04-11 05:42:05,227:INFO: Sun: 06:46 - 20:24 Demand: 419.7W, Panel DC: (9.2|8.9), Hub DC: (94.5|177.5), Inverter Limit: 800.0W, Hub Limit: 800.0W 2024-04-11 05:42:05,245:INFO: SMT triggers limit function: 174.2 -> 146.3 2024-04-11 05:42:05,245:INFO: Rate limit on trigger function, last call was only 0.0s ago! 2024-04-11 05:42:05,263:INFO: SMT triggers limit function: 175.3 -> 147.0 2024-04-11 05:42:05,264:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:42:07,203:INFO: SMT triggers limit function: 170.5 -> 143.8 2024-04-11 05:42:07,203:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:07,221:INFO: SMT triggers limit function: 19.139999999999993 -> 85.9 2024-04-11 05:42:07,221:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:07,240:INFO: SMT triggers limit function: 19.0 -> 85.9 2024-04-11 05:42:07,240:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:08,938:INFO: DTU triggers limit function: 290.1 : 65.2 2024-04-11 05:42:08,939:INFO: Rate limit on trigger function, last call was only 3.7s ago! 2024-04-11 05:42:10,212:INFO: SMT triggers limit function: 19.5 -> 92.5 2024-04-11 05:42:10,213:INFO: Rate limit on trigger function, last call was only 5.0s ago! 2024-04-11 05:42:10,237:INFO: SMT triggers limit function: 11.2 -> 86.9 2024-04-11 05:42:10,238:INFO: Rate limit on trigger function, last call was only 5.0s ago! 2024-04-11 05:42:10,263:INFO: SMT triggers limit function: 8.6 -> 85.2 2024-04-11 05:42:10,264:INFO: Rate limit on trigger function, last call was only 5.1s ago! 2024-04-11 05:42:17,159:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read 2024-04-11 05:42:19,206:INFO: SMT triggers limit function: 4.5 -> 82.5 2024-04-11 05:42:19,208:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 19% (19|19), V:48.0V (48.0|48.0), C:-214W, P:False, F:12.2h, E:-1.0h, H:204W, L:800W 2024-04-11 05:42:19,209:INFO: INV: AC:267.4W, AC_Prediction: 267.4W, DC:281.4W, DC_prediction: 281.4W (9.4|9.1|91.3|171.6), L:800.0W [1600W] 2024-04-11 05:42:19,223:INFO: SMT: T:ShellyEM3 P:2.4W [ 51.0,16.0,229.2,14.1,170.5,4.5 ] Predict: 82.5W 2024-04-11 05:42:19,236:INFO: Direct connected panels (18.5W) can't cover demand (349.9W), trying to get rest from hub. 2024-04-11 05:42:19,237:INFO: Checking if Solarflow is willing to contribute 331.4W ... 2024-04-11 05:42:19,239:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 331.4W - Decision path: 2.1. 2024-04-11 05:42:19,239:INFO: Hub should contribute more (331.0W) than what we currently get from panels (18.5W), we will use the inverter for fast/precise limiting! 2024-04-11 05:42:19,240:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:42:19,241:INFO: Setting inverter output limit to 660W (1 min moving average of 165W x 4) 2024-04-11 05:42:19,243:INFO: Sun: 06:46 - 20:24 Demand: 349.9W, Panel DC: (9.4|9.1), Hub DC: (91.3|171.6), Inverter Limit: 660.0W, Hub Limit: 800.0W 2024-04-11 05:42:21,225:INFO: SMT triggers limit function: 6.8 -> 17.1 2024-04-11 05:42:21,226:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:21,244:INFO: SMT triggers limit function: 3.2 -> 14.7 2024-04-11 05:42:21,244:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:26,196:INFO: SMT triggers limit function: 1.6 -> 13.7 2024-04-11 05:42:26,196:INFO: Rate limit on trigger function, last call was only 7.0s ago! 2024-04-11 05:42:26,220:INFO: SMT triggers limit function: -3.3 -> 10.4 2024-04-11 05:42:26,221:INFO: Rate limit on trigger function, last call was only 7.0s ago! 2024-04-11 05:42:26,245:INFO: SMT triggers limit function: -5.0 -> 9.3 2024-04-11 05:42:26,246:INFO: Rate limit on trigger function, last call was only 7.0s ago! 2024-04-11 05:42:31,413:INFO: SMT triggers limit function: -5.8 -> -109.3 2024-04-11 05:42:31,415:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:47.9V (47.9|47.9), C:-259W, P:False, F:12.2h, E:-1.0h, H:247W, L:800W 2024-04-11 05:42:31,416:INFO: INV: AC:287.5W, AC_Prediction: 287.5W, DC:302.6W, DC_prediction: 302.6W (9.5|9.2|98.6|185.3), L:659.2W [1600W] 2024-04-11 05:42:31,429:INFO: SMT: T:ShellyEM3 P:-6.2W [ 229.2,14.1,170.5,4.5,-5.8 ] Predict: -109.3W 2024-04-11 05:42:31,441:INFO: Adjusting inverter limit from 9.5W to 23.7W 2024-04-11 05:42:31,442:INFO: Setting inverter output limit to 92W (1 min moving average of 23W x 4) 2024-04-11 05:42:31,442:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 0 2024-04-11 05:42:31,445:INFO: Sun: 06:46 - 20:24 Demand: 0.0W, Panel DC: (9.5|9.2), Hub DC: (98.6|185.3), Inverter Limit: 92.0W, Hub Limit: 800.0W 2024-04-11 05:42:31,468:INFO: SMT triggers limit function: -7.269999999999996 -> -73.3 2024-04-11 05:42:31,469:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:42:31,494:INFO: SMT triggers limit function: -7.1 -> -73.2 2024-04-11 05:42:31,495:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:42:34,183:INFO: SMT triggers limit function: -5.7 -> -72.2 2024-04-11 05:42:34,184:INFO: Rate limit on trigger function, last call was only 2.8s ago! 2024-04-11 05:42:34,201:INFO: SMT triggers limit function: 151.0 -> 32.2 2024-04-11 05:42:34,201:INFO: Rate limit on trigger function, last call was only 2.8s ago! 2024-04-11 05:42:34,219:INFO: SMT triggers limit function: 203.6 -> 67.3 2024-04-11 05:42:34,220:INFO: Rate limit on trigger function, last call was only 2.8s ago! 2024-04-11 05:42:36,187:INFO: SMT triggers limit function: 219.5 -> 77.9 2024-04-11 05:42:36,187:INFO: Rate limit on trigger function, last call was only 4.8s ago! 2024-04-11 05:42:36,204:INFO: SMT triggers limit function: 228.7 -> 84.0 2024-04-11 05:42:36,205:INFO: Rate limit on trigger function, last call was only 4.8s ago! 2024-04-11 05:42:36,223:INFO: SMT triggers limit function: 231.5 -> 85.9 2024-04-11 05:42:36,223:INFO: Rate limit on trigger function, last call was only 4.8s ago! 2024-04-11 05:42:38,194:INFO: SMT triggers limit function: 234.6 -> 88.0 2024-04-11 05:42:38,194:INFO: Rate limit on trigger function, last call was only 6.8s ago! 2024-04-11 05:42:38,222:INFO: SMT triggers limit function: 233.8 -> 87.4 2024-04-11 05:42:38,222:INFO: Rate limit on trigger function, last call was only 6.8s ago! 2024-04-11 05:42:38,244:INFO: SMT triggers limit function: 233.6 -> 87.3 2024-04-11 05:42:38,245:INFO: Rate limit on trigger function, last call was only 6.8s ago! 2024-04-11 05:42:40,197:INFO: SMT triggers limit function: 230.2 -> 185.1 2024-04-11 05:42:40,197:INFO: Rate limit on trigger function, last call was only 8.8s ago! 2024-04-11 05:42:40,224:INFO: SMT triggers limit function: 227.8 -> 182.7 2024-04-11 05:42:40,225:INFO: Rate limit on trigger function, last call was only 8.8s ago! 2024-04-11 05:42:40,245:INFO: SMT triggers limit function: 227.0 -> 181.9 2024-04-11 05:42:40,246:INFO: Rate limit on trigger function, last call was only 8.8s ago! 2024-04-11 05:42:42,182:INFO: SMT triggers limit function: 229.0 -> 183.9 2024-04-11 05:42:42,183:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:47.9V (47.9|47.9), C:-154W, P:False, F:12.2h, E:-1.0h, H:147W, L:800W 2024-04-11 05:42:42,183:INFO: INV: AC:60.0W, AC_Prediction: 60.0W, DC:63.1W, DC_prediction: 63.1W (9.6|9.3|15.4|28.8), L:91.2W [1600W] 2024-04-11 05:42:42,192:INFO: SMT: T:ShellyEM3 P:230.0W [ 14.1,170.5,4.5,-5.8,229.0 ] Predict: 183.9W 2024-04-11 05:42:42,200:INFO: Direct connected panels (18.9W) can't cover demand (243.9W), trying to get rest from hub. 2024-04-11 05:42:42,200:INFO: Checking if Solarflow is willing to contribute 225.0W ... 2024-04-11 05:42:42,202:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 225.0W - Decision path: 2.1. 2024-04-11 05:42:42,202:INFO: Hub should contribute more (225.0W) than what we currently get from panels (18.9W), we will use the inverter for fast/precise limiting! 2024-04-11 05:42:42,203:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit! 2024-04-11 05:42:42,203:INFO: Setting inverter output limit to 448W (1 min moving average of 112W x 4) 2024-04-11 05:42:42,205:INFO: Sun: 06:46 - 20:24 Demand: 243.9W, Panel DC: (9.6|9.3), Hub DC: (15.4|28.8), Inverter Limit: 448.0W, Hub Limit: 800.0W 2024-04-11 05:42:44,200:INFO: SMT triggers limit function: 78.4 -> 130.5 2024-04-11 05:42:44,200:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:44,218:INFO: SMT triggers limit function: 27.7 -> 96.7 2024-04-11 05:42:44,219:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:53,191:INFO: SMT triggers limit function: 14.0 -> 87.5 2024-04-11 05:42:53,193:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:47.9V (47.9|47.9), C:-183W, P:False, F:12.2h, E:-1.0h, H:175W, L:800W 2024-04-11 05:42:53,193:INFO: INV: AC:60.0W, AC_Prediction: 60.0W, DC:63.1W, DC_prediction: 63.1W (9.6|9.3|15.4|28.8), L:91.2W [1600W] 2024-04-11 05:42:53,207:INFO: SMT: T:ShellyEM3 P:7.1W [ 14.1,170.5,4.5,-5.8,229.0,14.0 ] Predict: 87.5W 2024-04-11 05:42:53,220:INFO: Direct connected panels (18.9W) can't cover demand (147.5W), trying to get rest from hub. 2024-04-11 05:42:53,221:INFO: Checking if Solarflow is willing to contribute 128.6W ... 2024-04-11 05:42:53,223:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 128.6W - Decision path: 2.1. 2024-04-11 05:42:53,224:INFO: Hub should contribute more (128.0W) than what we currently get from panels (18.9W), we will use the inverter for fast/precise limiting! 2024-04-11 05:42:53,224:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:42:53,225:INFO: Setting inverter output limit to 256W (1 min moving average of 64W x 4) 2024-04-11 05:42:53,228:INFO: Sun: 06:46 - 20:24 Demand: 147.5W, Panel DC: (9.6|9.3), Hub DC: (15.4|28.8), Inverter Limit: 256.0W, Hub Limit: 800.0W 2024-04-11 05:42:53,252:INFO: SMT triggers limit function: 0.4299999999999997 -> 47.1 2024-04-11 05:42:53,252:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:42:53,270:INFO: SMT triggers limit function: 0.4 -> 47.1 2024-04-11 05:42:53,270:INFO: Rate limit on trigger function, last call was only 0.1s ago! 2024-04-11 05:42:53,930:INFO: DTU triggers limit function: 63.1 : 290.1 2024-04-11 05:42:53,931:INFO: Rate limit on trigger function, last call was only 0.7s ago! 2024-04-11 05:42:55,177:INFO: SMT triggers limit function: -5.2 -> 44.5 2024-04-11 05:42:55,178:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:55,195:INFO: SMT triggers limit function: 45.1 -> 67.8 2024-04-11 05:42:55,195:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:55,213:INFO: SMT triggers limit function: 61.8 -> 75.6 2024-04-11 05:42:55,213:INFO: Rate limit on trigger function, last call was only 2.0s ago! 2024-04-11 05:42:57,178:INFO: SMT triggers limit function: 68.7 -> 55.6 2024-04-11 05:42:57,178:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:42:57,195:INFO: SMT triggers limit function: 84.0 -> 65.8 2024-04-11 05:42:57,196:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:42:57,213:INFO: SMT triggers limit function: 89.2 -> 69.2 2024-04-11 05:42:57,214:INFO: Rate limit on trigger function, last call was only 4.0s ago! 2024-04-11 05:42:59,186:INFO: SMT triggers limit function: 92.0 -> 71.1 2024-04-11 05:42:59,187:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:42:59,211:INFO: SMT triggers limit function: 84.0 -> 65.8 2024-04-11 05:42:59,211:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:42:59,233:INFO: SMT triggers limit function: 81.4 -> 64.0 2024-04-11 05:42:59,233:INFO: Rate limit on trigger function, last call was only 6.0s ago! 2024-04-11 05:43:01,487:INFO: SMT triggers limit function: 79.9 -> 63.0 2024-04-11 05:43:01,487:INFO: Rate limit on trigger function, last call was only 8.3s ago! 2024-04-11 05:43:01,514:INFO: SMT triggers limit function: 79.4 -> 62.7 2024-04-11 05:43:01,515:INFO: Rate limit on trigger function, last call was only 8.3s ago! 2024-04-11 05:43:01,533:INFO: SMT triggers limit function: 79.3 -> 62.6 2024-04-11 05:43:01,533:INFO: Rate limit on trigger function, last call was only 8.3s ago! 2024-04-11 05:43:08,960:INFO: DTU triggers limit function: 179.5 : 63.1 2024-04-11 05:43:08,961:INFO: HUB: S:0.0W [ 0.0 ], B: 19% (19|19), V:47.9V (47.9|47.9), C:-200W, P:False, F:12.2h, E:-1.0h, H:191W, L:800W 2024-04-11 05:43:08,992:INFO: INV: AC:296.1W, AC_Prediction: 170.6W, DC:311.5W, DC_prediction: 179.5W (9.9|9.5|101.5|190.8), L:256.0W [1600W] 2024-04-11 05:43:09,006:INFO: SMT: T:ShellyEM3 P:79.2W [ 170.5,4.5,-5.8,229.0,14.0,79.3 ] Predict: 62.6W 2024-04-11 05:43:09,033:INFO: Direct connected panels (19.4W) can't cover demand (233.2W), trying to get rest from hub. 2024-04-11 05:43:09,034:INFO: Checking if Solarflow is willing to contribute 213.8W ... 2024-04-11 05:43:09,036:INFO: Based on time, solarpower ( 0.0W) minimum charge power (50W) and bypass state (False), hub could contribute 213.8W - Decision path: 2.1. 2024-04-11 05:43:09,037:INFO: Hub should contribute more (213.0W) than what we currently get from panels (19.4W), we will use the inverter for fast/precise limiting! 2024-04-11 05:43:09,037:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800 2024-04-11 05:43:09,038:INFO: Setting inverter output limit to 424W (1 min moving average of 106W x 4) 2024-04-11 05:43:09,040:INFO: Sun: 06:46 - 20:24 Demand: 233.2W, Panel DC: (9.9|9.5), Hub DC: (101.5|190.8), Inverter Limit: 424.0W, Hub Limit: 800.0W ```

Any idea what we can do here?

reinhard-brandstaedter commented 5 months ago

likely a duplicate of what @tuxianerDE is ecperiencing. Can you confirm that this mostly happens during low radiation on any direct connected panels but not when more sun is out?

reinhard-brandstaedter commented 5 months ago

FYI the readon why the limit is raised fast esp in low light is that typically radiation increases the power delivered very fast. To avoid cut off this limit function is used:

image

busaku commented 5 months ago

Hmh no, or better maybe. Herse a screenshot from this night. So no input on the direct connected PV Panels.

image

But yes, the log files are from this morning, low light on direct connected PV Panels :) So, okay i got it but why i drops so fast again?

And is it normal, that the limit_inverter setting will be ignored? (Iam thinking about the battery-health if the inverter limit rise and drops so fast)

reinhard-brandstaedter commented 5 months ago

The "limit_inverter" setting is indeed a leftover from the past. Where a pure limiting of the solarflow output was possible. However this is now obsolete, because with what solarflow-control is doing now can't be done with purely limiting the hub, so the inverter is always involved.

To you chart, can you maybe also provide what was happening at this time on the demand side? So maybe data from your smartmeter as chart? Did it go up/down/below zero?

There is always a fine balance between delivering power as fast as possible when needed and performing not too many limiting steps and not feeding in energy to the grid from battery. Imagine one of the most challenging situations: a induction power stove that pulsates up/down within minutes where an algorithm based on multiple input variables tries to cover demand as fast as possible on these changes...and then there is switching delays as well...

Here is an example: Note that my max_discharge_power is at 400W, thus the difference of the inverterlimit is a bit smaller. Also note that we are trying to set the limit in a way that also considers the multiple channels of the inverter. a limit of 800W on a 4-channel inverter means max. 200W per channel. If only 2 channels are delivering you need to set the limit to 1600W to actually get 800W (400W per channel).

image
busaku commented 5 months ago

Yes, here it is: Blue = Shelly3EM Purple = Zendure to Inverter 0-1 am image

0-0:15 am in detail: image

It looks like the target randomly rised or dropped. No big change in the consumption before the change of zendure->Inverter Bildschirmfoto 2024-04-11 um 12 44 44

In general it seems that the target "consumption" is a little bit low (around -80 watt) Is it possible to adjust the target rate? image

Than, my last question is it possible to set a maximal inverter output level? So if the battery is full and we have full solar, its not allowed to "feed in" more than 600 watt in germany. I would be awesome to put an absolut maximum output level :)

reinhard-brandstaedter commented 5 months ago

Hi @busaku, I added more precision regarding AC/DC conversion using the inverters efficiency telemetry. At least here this eliminates some of the overshooting. Can you try running the latest dev build?

busaku commented 5 months ago

@reinhard-brandstaedter thanks, i will provide you feedback :)

busaku commented 5 months ago

@reinhard-brandstaedter we got an error (sometimes)

2024-04-15 10:07:05,050:INFO: Reading battery target mode: discharging
2024-04-15 10:07:05,051:INFO: Reading last full time: 2024-04-14 20:19:47
2024-04-15 10:07:44,699:INFO: HUB: S:510.9W [ 509.4,509.4,508.3,510.9 ], B: 39% (-1), V:-1.0V (-1.0), C: 494W, P:False, F:13.8h, E:-1.0h, H: -1W, L: -1W
2024-04-15 10:07:44,699:INFO: INV: AC:501.3W, AC_Prediction: 501.3W, DC:527.5W, DC_prediction: 527.5W (264.3|262.4|0.0|0.0), L: 0W [1600W]
2024-04-15 10:07:44,699:INFO: SMT: T:ShellyEM3 P:-150.6W [ -145.1,-145.1,-166.9 ] Predict: -166.9W
2024-04-15 10:07:44,700:INFO: Direct connected panels (500.5W) can cover demand (313.6W)
2024-04-15 10:07:44,700:INFO: Setting solarflow output limit to 0.0W
2024-04-15 10:07:44,701:INFO: Setting inverter output limit to 1008W (1 min moving average of 252W x 4)
2024-04-15 10:07:44,701:INFO: Grid feed in from panels connected directly to inverter: 186.9!
2024-04-15 10:07:44,703:INFO: Sun: 06:38 - 20:30 Demand: 313.6W, Panel DC: (500.5W), Hub DC: (0.0W), Inverter Limit: 1008.0W, Hub Limit: 0.0W
2024-04-15 10:07:44,703:INFO: SMT triggers limit function: -145.1 -> -166.9: executed
2024-04-15 10:07:44,704:INFO: SMT triggers limit function: -143.8 -> -163.8: skipped
2024-04-15 10:07:44,706:INFO: SMT triggers limit function: -142.7 -> -161.2: skipped
2024-04-15 10:07:47,698:INFO: SMT triggers limit function: -141.5 -> -158.6: skipped
2024-04-15 10:07:47,699:INFO: SMT triggers limit function: -139.3 -> -154.9: skipped
2024-04-15 10:07:47,701:INFO: SMT triggers limit function: -137.2 -> -151.7: skipped
2024-04-15 10:07:51,703:INFO: SMT triggers limit function: -135.2 -> -148.6: skipped
2024-04-15 10:07:51,706:INFO: SMT triggers limit function: -130.8 -> -142.8: skipped
2024-04-15 10:07:51,709:INFO: SMT triggers limit function: -126.7 -> -137.6: skipped
2024-04-15 10:07:56,700:INFO: SMT triggers limit function: -116.4 -> -93.4: skipped
2024-04-15 10:07:56,702:INFO: SMT triggers limit function: -112.9 -> -79.7: skipped
2024-04-15 10:07:56,705:INFO: SMT triggers limit function: -109.6 -> -76.6: skipped
2024-04-15 10:08:01,700:INFO: HUB: S:480.4W [ 498.0,498.0,495.6,493.9,492.0,480.4 ], B: 39% (40), V:50.1V (50.1), C: 395W, P:False, F:13.8h, E:-1.0h, H: -1W, L: 0W
2024-04-15 10:08:01,702:INFO: INV: AC:427.1W, AC_Prediction: 427.1W, DC:449.6W, DC_prediction: 449.6W (186.3|186.1|0.0|0.0), L:1008.0W [1600W]
2024-04-15 10:08:01,702:INFO: SMT: T:ShellyEM3 P:-23.0W [ -101.0,-101.0,-106.5,-60.1 ] Predict: -60.1W
2024-04-15 10:08:01,702:INFO: Direct connected panels (353.8W) can cover demand (273.7W)
2024-04-15 10:08:01,703:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 0, new limit: 0
2024-04-15 10:08:01,703:INFO: Setting inverter output limit to 708W (1 min moving average of 177W x 4)
2024-04-15 10:08:01,704:INFO: Grid feed in from panels connected directly to inverter: 80.1!
2024-04-15 10:08:01,705:INFO: Sun: 06:38 - 20:30 Demand: 273.7W, Panel DC: (353.8W), Hub DC: (0.0W), Inverter Limit: 708.0W, Hub Limit: 0.0W
2024-04-15 10:08:01,705:INFO: SMT triggers limit function: -106.5 -> -60.1: executed
2024-04-15 10:08:01,708:INFO: SMT triggers limit function: -104.2 -> -58.9: skipped
2024-04-15 10:08:01,710:INFO: SMT triggers limit function: -102.0 -> -57.9: skipped
2024-04-15 10:08:04,720:INFO: SMT triggers limit function: -82.1 -> -42.7: skipped
2024-04-15 10:08:04,727:INFO: SMT triggers limit function: -79.6 -> -41.2: skipped
2024-04-15 10:08:04,734:INFO: SMT triggers limit function: -77.3 -> -39.9: skipped
2024-04-15 10:08:04,741:INFO: SMT triggers limit function: -75.2 -> -38.7: skipped
2024-04-15 10:08:04,747:INFO: SMT triggers limit function: -73.2 -> -37.7: skipped
2024-04-15 10:08:04,754:INFO: SMT triggers limit function: -71.4 -> -36.7: skipped
2024-04-15 10:08:05,028:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read
2024-04-15 10:08:08,711:INFO: SMT triggers limit function: -57.9 -> -24.9: skipped
2024-04-15 10:08:08,718:INFO: SMT triggers limit function: -55.8 -> -23.4: skipped
2024-04-15 10:08:08,726:INFO: SMT triggers limit function: -53.8 -> -22.1: skipped
2024-04-15 10:08:25,715:INFO: HUB: S:371.1W [ 453.4,453.4,441.7,425.1,395.4,371.1 ], B: 39% (40|38), V:50.2V (50.1|50.2), C: 330W, P:False, F:13.8h, E:-1.0h, H: 0W, L: 0W
2024-04-15 10:08:25,715:INFO: INV: AC:349.3W, AC_Prediction: 349.3W, DC:367.6W, DC_prediction: 367.6W (181.8|181.1|0.0|0.0), L:707.2W [1600W]
2024-04-15 10:08:25,721:INFO: SMT: T:ShellyEM3 P:43.9W [ -60.5,-60.5,-44.6,-16.1,-2.0,17.3 ] Predict: -150.3W
2024-04-15 10:08:25,721:INFO: Direct connected panels (344.8W) can cover demand (342.1W)
2024-04-15 10:08:25,721:INFO: Adjusting inverter limit from 172.7W to 600.4W
2024-04-15 10:08:25,721:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 0, new limit: 0
2024-04-15 10:08:25,722:INFO: Setting inverter output limit to 2400W (1 min moving average of 600W x 4)
2024-04-15 10:08:25,722:INFO: Grid feed in from panels connected directly to inverter: 2.7!
2024-04-15 10:08:25,723:INFO: Sun: 06:38 - 20:30 Demand: 342.1W, Panel DC: (344.8W), Hub DC: (0.0W), Inverter Limit: 2400.0W, Hub Limit: 0.0W
2024-04-15 10:08:25,723:INFO: SMT triggers limit function: -2.0 -> 17.3: executed
2024-04-15 10:08:25,730:INFO: SMT triggers limit function: -0.9 -> 17.9: skipped
2024-04-15 10:08:25,739:INFO: SMT triggers limit function: 0.0 -> 18.3: skipped
2024-04-15 10:08:29,716:INFO: SMT triggers limit function: 3.0 -> 23.8: skipped
2024-04-15 10:08:29,723:INFO: SMT triggers limit function: 3.5 -> 23.3: skipped
2024-04-15 10:08:29,731:INFO: SMT triggers limit function: 4.0 -> 22.9: skipped
2024-04-15 10:08:34,730:INFO: SMT triggers limit function: 10.9 -> 22.2: skipped
2024-04-15 10:09:05,029:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read
2024-04-15 10:09:05,031:INFO: HUB: S:340.1W [ 352.4,352.4,347.5,339.0,339.9,340.1 ], B: 39% (40|38), V:50.0V (50.0|50.1), C: 317W, P:False, F:13.8h, E:-1.0h, H: 0W, L: 0W
2024-04-15 10:09:05,032:INFO: INV: AC:332.4W, AC_Prediction: 332.4W, DC:349.9W, DC_prediction: 349.9W (171.1|170.3|0.0|0.0), L:2400.0W [1600W]
2024-04-15 10:09:05,032:INFO: SMT: T:ShellyEM3 P:30.8W [ 24.0,24.0 ] Predict: 24.0W
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
2024-04-15 10:09:05,032:INFO: Direct connected panels (324.3W) can't cover demand (328.3W), trying to get 4.0W from hub.
    self.run()
  File "/usr/local/lib/python3.11/threading.py", line 1401, in run
    self.function(*self.args, **self.kwargs)
  File "/solarflow/utils.py", line 29, in _run
    self.function(*self.args, **self.kwargs)
  File "/solarflow/solarflow-control.py", line 460, in deviceInfo
    limitHomeInput(client)
  File "/solarflow/solarflow-control.py", line 328, in limitHomeInput
    limit = direct_limit
            ^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'direct_limit' where it is not associated with a value
2024-04-15 10:10:05,030:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read
2024-04-15 10:11:05,031:INFO: Triggering telemetry update: iot/73bkTV/6y0X53pJ/properties/read
2024-04-15 10:11:05,033:INFO: HUB: S:283.0W [ 287.2,287.2,286.6,286.0,284.5,283.0 ], B: 39% (40|39), V:50.0V (49.9|50.0), C: 266W, P:False, F:13.9h, E:-1.0h, H: 0W, L: 0W
2024-04-15 10:11:05,034:INFO: INV: AC:272.5W, AC_Prediction: 272.5W, DC:286.8W, DC_prediction: 286.8W (143.8|143.0|0.0|0.0), L:2400.0W [1600W]
2024-04-15 10:11:05,034:INFO: SMT: T:ShellyEM3 P:69.1W [ 69.0,69.0 ] Predict: 69.0W
2024-04-15 10:11:05,035:INFO: Direct connected panels (272.6W) can't cover demand (321.6W), trying to get 49.0W from hub.
2024-04-15 10:11:05,036:INFO: Based on time, solarpower (283.0W) minimum charge power (50W) and bypass state (False), hub could contribute 49.0W - Decision path: 1.1.
2024-04-15 10:11:05,037:INFO: Setting solarflow output limit to 60.0W
2024-04-15 10:11:05,038:INFO: Solarflow is willing to contribute 49.0W of the requested 49.0!
2024-04-15 10:11:05,038:INFO: Adjusting inverter limit from 136.7W to 533.6W
2024-04-15 10:11:05,039:INFO: Direct connected panel limit is 533W.
2024-04-15 10:11:05,040:INFO: Setting inverter output limit to 2132W (1 min moving average of 533W x 4)
2024-04-15 10:11:05,041:INFO: Sun: 06:38 - 20:30 Demand: 321.6W, Panel DC: (272.6W), Hub DC: (0.0W), Inverter Limit: 2132.0W, Hub Limit: 60.0W
tuxianerDE commented 5 months ago

Do pull again the latest build. There are still some bugs in it like I have documented it #211

tuxianerDE commented 5 months ago

Hey,

are you still seeing the behaviour with the latest master build ? The changes done are now upstream from dev to the master build.

busaku commented 5 months ago

Purple = Net House Power (Shelly) Blue = Zendure to Inverter

So it looks a waaaay smoother :) Thanks for your work, I close this issue

23-0

image

0-1 am

image

1-2 am

image