Coder Social home page Coder Social logo

reinhard-brandstaedter / solarflow-control Goto Github PK

View Code? Open in Web Editor NEW
56.0 56.0 9.0 30.36 MB

A tool to automatically control Zendure's Solarflow hub with more flexibility to match home power demand

Dockerfile 0.59% Shell 0.22% Python 99.19%

solarflow-control's Introduction

About Me - well not everything about me...

Besides my real work, I'm an engineer. I like trying new stuff and automating things that I do not like to do twice or repeatedly. As I'm generally a perfectionist (or at least try to be) I hate it when things do not work to my liking. Then I either try fixing it, or discard it.

On my github profile you will find various things, old an new, work-related or private! Everything I do I like to share! I'm taking feedback but always expect a respecting exchange/give and take.

solarflow-control's People

Contributors

picatextra avatar reinhard-brandstaedter avatar sstidl avatar tuxianerde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solarflow-control's Issues

BUG: Direct panels generate different limits with same input

Observed that the script determines different limits for direct conntected panels at the same level. See below.

I wonder why especially given that the second limit is quiet "narrow" though we are on a exponential curve.

eb 27 11:14:45 babylon solarFlow[11127]: 2024-02-27 11:14:45,407:INFO: #33[31;20mHUB: S:159.4W [ 142.0,142.0,141.0,141.0,140.0,140.0,139.0,139.0,138.0,138.0,137.0,137.0,135.0,135.0,133.0,133.0,131.0,131.0,130.0,130.0,129.0,129.0,128.0,
128.0,123.0,123.0,130.0,130.0,133.0,133.0,138.0,138.0,141.0,141.0,145.0,145.0,149.0,149.0,164.0,164.0,172.0,172.0,174.0,174.0,176.0,176.0,177.0,177.0,179.0,179.0,180.0,180.0,181.0,181.0,182.0,182.0,183.0,183.0 ], B: 89% (90|88|89|90), V:
50.0V (50.0|49.8|50.0|50.0), C: 173W, P:False, F:90.7h, E:48.5h, H: 0W, L: 0W#033[0m
Feb 27 11:14:45 babylon solarFlow[11127]: 2024-02-27 11:14:45,407:INFO: #33[33;20mINV: AC:233.8W, DC:262.8W (131.1|131.7|0.0|0.0), L:840.0W [1500W]#33[0m
Feb 27 11:14:45 babylon solarFlow[11127]: 2024-02-27 11:14:45,408:INFO: #33[33;32mSMT: T:Smartmeter P:-51.0W [ 26.0,26.0,42.0,52.0,61.0,61.0,61.0,61.0,52.0,24.0,-8.0,-15.0,-19.0,-27.0,-46.0,-49.0,-51.0 ]#33[0m
Feb 27 11:14:45 babylon solarFlow[11127]: 2024-02-27 11:14:45,409:INFO: Setting inverter output limit to 720W (1 min moving average of 132W x 4)
Feb 27 11:14:45 babylon solarFlow[11127]: 2024-02-27 11:14:45,409:INFO: Not setting solarflow output limit to 0.0W as it is identical to current limit!
Feb 27 11:14:45 babylon solarFlow[11127]: 2024-02-27 11:14:45,411:INFO: Sun: 07:21 - 18:07 Demand: 0.0W, Panel DC: (131.1|131.7), Hub DC: (0.0|0.0), Inverter Limit: 720.0W, Hub Limit: 0.0W
Feb 27 11:15:00 babylon solarFlow[11127]: 2024-02-27 11:15:00,426:INFO: #33[31;20mHUB: S:166.4W [ 137.0,137.0,135.0,135.0,133.0,133.0,131.0,131.0,130.0,130.0,129.0,129.0,128.0,128.0,123.0,123.0,130.0,130.0,133.0,133.0,138.0,138.0,141.0,
141.0,145.0,145.0,149.0,149.0,164.0,164.0,172.0,172.0,174.0,174.0,176.0,176.0,177.0,177.0,179.0,179.0,180.0,180.0,181.0,181.0,182.0,182.0,183.0,183.0,184.0,184.0,185.0,185.0 ], B: 89% (90|88|89|90), V:50.0V (50.0|49.9|50.0|50.1), C: 175W, P:False, F:90.7h, E:48.5h, H: 0W, L: 0W#033[0m
Feb 27 11:15:00 babylon solarFlow[11127]: 2024-02-27 11:15:00,427:INFO: #33[33;20mINV: AC:233.8W, DC:262.8W (131.1|131.7|0.0|0.0), L:720.0W [1500W]#33[0m
Feb 27 11:15:00 babylon solarFlow[11127]: 2024-02-27 11:15:00,427:INFO: #33[33;32mSMT: T:Smartmeter P:-48.0W [ 61.0,61.0,61.0,61.0,52.0,24.0,-8.0,-15.0,-19.0,-27.0,-46.0,-49.0,-51.0,-51.0,-51.0,-52.0,-48.0 ]#33[0m
Feb 27 11:15:00 babylon solarFlow[11127]: 2024-02-27 11:15:00,428:INFO: Setting inverter output limit to 628W (1 min moving average of 132W x 4)
Feb 27 11:15:00 babylon solarFlow[11127]: 2024-02-27 11:15:00,428:INFO: Not setting solarflow output limit to 0.0W as it is identical to current limit!
Feb 27 11:15:00 babylon solarFlow[11127]: 2024-02-27 11:15:00,430:INFO: Sun: 07:21 - 18:07 Demand: 0.0W, Panel DC: (131.1|131.7), Hub DC: (0.0|0.0), Inverter Limit: 628.0W, Hub Limit: 0.0W
e

High waves in limiting the Inverter

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?

Dev: Direct panel limit does not increased in the morning offset

Hi,

today morning I observed that whilst in offset + direct panels the limit did not get increased whilst the battery was anyways in CT mode.

Attached a screenshot
image

I have also extracted the log, once the offset was over the limit directly jumped (offset value sunrise 240). Expectation would be that the limit gets increased as the direct panels start to increasingly produce power.

Ideally this should be the case both scenarions:

  1. When batteries in CT mode the more we get from the direct panels the better
  2. When not in CT mode but running actively on battery (SoC != 0) the more we can use the direct panels the less we have to use whatever is left of the battery.

solarFlow-directPanelIssue.log

FEATURE: Revised steering logic aligned with time

Overarching rule:

Battery Low:

  • To validate shall we use packSoC or for every single battery? Reason: We cannot distinguish which battery is the top battery, this battery provides power to the hub during night, we probably dont want to drain that completely?

If packSoC/single battery is below configured BATTERY_LOW ensure that solarFlow charges only (SF limit 0).
If direct panels are connected inverters limited is demand + 50W.

Since the inverter steers the limit on all MPPTS equally the following math determine the factor applied to the limit:

  1. how many INVERTER_INPUTS_USED
  2. How many MPPTS are connected to the INPUTS USED?
    -> Should we introduce a new config variable instead? i.e. steering factor? Since the math is not consistent.

Night:
Time window: sunset till sunrise

If CHARGE_THROUGH_THRESHOLD is No (default):

  • Use SolarFlow and steer via Inverter
  • Set SolarFlow to MAX_DISCHARGE_LEVEL
  • Set Inverter Limit to demand-20W (max. MAX_DISCHARGE_LEVEL)

If CHARGE_THROUGH_THRESHOLD is Yes:

  • Set Limit to 0 (Inverter + SF)

Sunrise:
Time window: sunrise till sunrise + offset (i.e. 60min)

If CHARGE_THROUGH_THRESHOLD is No (default):

  • Use SolarFlow and steer via Inverter
  • Set SolarFlow to MAX_DISCHARGE_LEVEL; Reduce SolarFlow by Amount of DIRECT CONNECTED PANELS
  • Set Inverter Limit to demand-20W (max. MAX_DISCHARGE_LEVEL)

If CHARGE_THROUGH_THRESHOLD is Yes:

  • Set SolarFlow output to 0
  • Set Inverter Limit to demand-20W (use residual solar if there is any)
  • set CHARGE_THROUGH_THRESHOLD indicator to YES

Day:
Time window: (sunrise + offset (i.e. 60 min)) till (sunset - offset (i.e. 60 min))

  • SolarFlow should charge up; Discharging from SF should only take place if BATTERY_HIGH or DAY_DISCHARGE_LIMIT or bypass (automatically bs SF) is met (and the CHARGE_THROUGH_INDICATOR is set to No. Otherwise SF is set to be 0W
    Set Inverter Limit to demand + 80W (allowing direct connected panels to steer) This logic also works if no direct panels are connected since it steers above condition.

If packSoC is larger then CHARGE_THROUGH_THRESHOLD or packSoC is larger or equal to DAY_DISCHARGE_LIMIT:
set CHARGE_THROUGH_THRESHOLD indicator to No

Sunset:
Time window: (sunset - offset (i.e. 60 min)) till sunset
If packSoc is greater then CHARGE_THROUGH_THRESHOLD:

  • Use SolarFlow and steer via Inverter
  • Set SolarFlow to MAX_DISCHARGE_LEVEL
  • Set SolarFlow to MAX_DISCHARGE_LEVEL; Reduce SolarFlow by Amount of DIRECT CONNECTED PANELS
  • Set Inverter Limit to demand-20W (max. MAX_DISCHARGE_LEVEL)

If packSoC is smaller then CHARGE_THROUGH_THRESHOLD:

  • Set SolarFlow output to 0
  • Set Inverter Limit to demand-20W (use residual solar if there is any)
  • set CHARGE_THROUGH_THRESHOLD indicator to YES

shellypro3em no data in solarflow-control and solarflow-status

Hey Reinhard,

big thanks for your work.

Could you help me with integrating shellypro3em, I think the problem is other json output format from shelly to mqtt.

Here some sample outputs from mqtt topic shellypro3em/status/em:0.

{"id":0,"a_current":1.201,"a_voltage":230.8,"a_act_power":145.4,"a_aprt_power":277.1,"a_pf":0.68,"a_freq":50.0,"b_current":1.042,"b_voltage":231.1,"b_act_power":90.3,"b_aprt_power":240.8,"b_pf":0.61,"b_freq":50.0,"c_current":1.916,"c_voltage":231.4,"c_act_power":358.3,"c_aprt_power":442.9,"c_pf":0.84,"c_freq":50.0,"n_current":null,"total_current":4.159,"total_act_power":594.006,"total_aprt_power":960.806, "user_calibrated_phase":[]}

and shellypro3em/status/emdata:0

{"id":0,"a_total_act_energy":115973.75,"a_total_act_ret_energy":0.00,"b_total_act_energy":118809.52,"b_total_act_ret_energy":0.00,"c_total_act_energy":110844.76,"c_total_act_ret_energy":1247.42,"total_act":345628.03, "total_act_ret":1247.42}

I hope this helps to rework smartmeters.py to get shellypro3em working.

MIN_CHARGE_POWER set to 0 is not working

Hi @reinhard-brandstaedter,

when setting MIN_CHARGE_POWER to 0 it will jump back to the default of 125. This is a bit unclear to me why it happens, but when you set it either to 1 or -1 (or seems like any other senseable int value), it works.

Following my config.ini and the log output of the config on startup when set to 0:

[config.ini]
min_charge_power = 0

==============
[log output]
2024-02-21 21:52:47,783:INFO: Limit via inverter: True
2024-02-21 21:52:47,783:INFO: Control Parameters:
2024-02-21 21:52:47,784:INFO:   MIN_CHARGE_POWER = 125
2024-02-21 21:52:47,784:INFO:   MAX_DISCHARGE_LEVEL = 800
2024-02-21 21:52:47,784:INFO:   MAX_INVERTER_LIMIT = 800
2024-02-21 21:52:47,784:INFO:   MAX_INVERTER_INPUT = 675

And with any other value (-1 here):

[config.ini]
min_charge_power = -1

==============
[log output]
2024-02-21 21:57:15,154:INFO: Limit via inverter: True
2024-02-21 21:57:15,154:INFO: Control Parameters:
2024-02-21 21:57:15,154:INFO:   MIN_CHARGE_POWER = -1
2024-02-21 21:57:15,154:INFO:   MAX_DISCHARGE_LEVEL = 800
2024-02-21 21:57:15,154:INFO:   MAX_INVERTER_LIMIT = 800
2024-02-21 21:57:15,154:INFO:   MAX_INVERTER_INPUT = 801

App not able to get IP causes it to not trigger hub updates

Hi @reinhard-brandstaedter,

for some reason my container is not always able to connect to รฌfconfig.me` causing it to not init properly as it seems. I have added my long/lat coordinates in the config, yet it does not help as it wants to connect to this service - even when not needed.

Log output:

2024-02-21 22:22:14,493:ERROR: Can't determine my IP. Auto-location detection failed

When this happens, I never see any output where it wants to ask the hub if it can contribute something. I saw this msg previously before I restarted the container in order to provide the output logs for the other issue I opened ๐Ÿ™ˆ

Code in question seems to be this.

Additional "MAX_FEED_IN" config

Hey @reinhard-brandstaedter,

thanks for this amazing project.

I'm seeing the MAX_INVERTER_LIMIT variable, but I was wondering whether it's possible to introduce something like a MAX_FEED_IN, too.

What I'm aiming for is something like this:

MAX_INVERTER_LIMIT = 1000 (Let's pretend this is what my inverter supports)
MAX_FEED_IN = 600

Now what I'm aiming for is that the inverter would give up to 1000W to the house when we know the house is consuming that. If the load in the house is low and we know we're feeding into the grid the inverter limit should be limited in such a way that only MAX_FEED_IN goes to the grid.

Examples using above config values and assuming we have a full battery and >1kW available:

Load: 1000 Inverter Limit: 1000
Load: 800 Inverter Limit: 1000 (feed in: 200)
Load: 400 Inverter Limit: 1000 (feed in: 600)
Load: 100 Invert Limit: 700 (feed in: 600)

I hope this makes sense!

Edit:

The more I think about this, the MAX_FEED_IN would also have to be able to look at the phase the inverter is feeding into. E.g. the Shelly would expose this information.

DEV: Oversteering (DTU Limit too high; shuts down inverter)

I have made the following observation. If the inverter via the DTU is steered to high (like the screenshot attached) the inverter actually almost shuts down.

The current implementation is a multiplication based on the number of channels (in my case 4). However may be the number of MPPTs is the one to be used for the inverter. I checked OpenDTU and they allow for a limit max of 150% of the overall inverter limit i.e. HM-1500 (max. 150% -> 2250W)

My config values:

the max output power of your inverter, used to calculate correct absolute valu es

inverter_max_power = 1100
max_discharge_power = 800
max_inverter_limit = 800

photo1706872212

DEV: System leaving charge through however should not be the case

The logs are indicated that path 3.2.2 is taken and thus leaving charge through, however criteria logically should not be met.

Note: We are in low light (low watt situation), direct panels <10

Actual situation should be:

  • Take direct panels if available
  • Remain in chargethrough and thus set SF to 0 to ensure SF solar power goes to batteries

solarFlow.log

Cooperation and win-win development needs

Hello, reinhard-brandstaedter!
I am an embedded engineer and I have the ability to develop solarflow IoT modules, similar to DTU modules. Can you tell me the current real needs for solarflow products in Germany?
Will you use it with smart sockets or shelly products?
Looking forward to your reply.

Offset Option

Hi,

I might have missed it, but is there an option to set an offset in power control? I often notice that negative total demand ("strom wird verschenkt") isn't corrected quickly enough. In my previous setup, I used hoymileszeroexport.py where I could set the target point with a tolerance range. For instance, I set my target point to 20W with a range of +-15W. With this setup, I hardly ever fed excess energy back into the network.

Thanks for any clarification.

Safe last state on restart

Every time the container restarts (automatically if new image is present on docker hub) important values are lost.
Example:
solarflow.py ->
self.lastFullTS
self.lastEmptyTS

Would be nice if these and perhaps other values get stored somewhere.

Inverter not limited at 600/800W

First of all, thanks for the nice scripts / containers.

But i got the issue while my solarflow battery is full it goes into passthrough mode. After that my 4 connected panels (2 to the sf-hub and 2 directly to the inverter) will produce more then 600W (DE) allowed.
I think nobody will have a problem as long as my smartmeter will not go below / above -600W :D
but there is the issue. i see the limit is hardcoded at 800W but i think its not working / reading the right value from MQTT.

OpenDTU
sf-hub with 4 x 1kWh Battery
4 panels (2 x at sf-hub; 2 x at inverter)
bitShake SmartMeterReader
Hoymiles-HMS-1600-4T

If you need more files / logs i think i can provide u with them. today it will be sunny again and i will surely be above that limit.

2024-04-08 07_35_43-Home Assistant System - Dashboards - Grafana
2024-04-08 07_36_08-Home Assistant System - Dashboards - Grafana

DEV: Battery got set to 0 at night switched off inverter

I observed that during a night run, and a drop in load (dryer finished). The skript determined the new limit.

It set the HUB to 0 and the INV to 40W. Problem is this switched off the inverter. Ideally if such a situation occurs (reason is why because there is still "ground" load). The minimum on battery should be 30W (as the hub requires these 30/60/90 steps) This should only be the case if it is not day or during the offset times, thus only during night time.

solarFlow-stalled.txt

DEV: Rapid change scenario

When setting the max discharge to 600/800 in the config file, the steering for rapid changes in demand (heater; toaster etc) lead to massive output to the grid as it take time to adjust.

Thought: Introduce a config parameter RAPID_CHANGE_THRESHOLD (lets say default is 200W).

If a change in demand >= to this threshold is detected and we are on battery the moving average of the smartmeter gets rest and the inverter output gets set to the new demand directly and thus rapidly reduced as well.

image

App does not trigger any updates on latest master

Hello @reinhard-brandstaedter,

I was testing latest master and noticed, that the app somehow stopped receiving events. Here are the logs to the time frame in the screenshot.
image

2024-03-28 21:20:27,294:INFO: DTU triggers limit function: 402.2 : 438.3
2024-03-28 21:20:27,294:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 65% (64|65), V:46.9V (46.9|46.9), C:-473W, P:False, F:76.6h, E:13.2h, H:451W, L:800W
2024-03-28 21:20:27,298:INFO: INV: AC:422.6W, AC_Prediction: 382.1W, DC:444.8W, DC_prediction: 402.2W (0.0|0.0|225.4|219.4), L:1075.2W [1600W]
2024-03-28 21:20:27,299:INFO: SMT: T:ShellyEM3 P:-1.4W [ -127.0,-114.7,-4.3,-6.0,-0.9 ] Predict: 93.8W
2024-03-28 21:20:27,302:INFO: Direct connected panels (0.0W) can't cover demand (475.9W), trying to get rest from hub.
2024-03-28 21:20:27,303:INFO: Checking if Solarflow is willing to contribute 475.9W ...
2024-03-28 21:20:27,303:INFO: Based on time, solarpower ( 0.0W) minimum charge power (400W) and bypass state (False), hub could contribute 475.9W - Decision path: 2.1.
2024-03-28 21:20:27,303:INFO: Hub should contribute more (475.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-03-28 21:20:27,303:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-03-28 21:20:27,303:INFO: Setting inverter output limit to 948W (1 min moving average of 237W x 4)
2024-03-28 21:20:27,303:INFO: Sun: 05:51 - 18:35 Demand: 475.9W, Panel DC: (0.0|0.0), Hub DC: (225.4|219.4), Inverter Limit: 948.0W, Hub Limit: 800.0W
2024-03-28 21:20:34,292:INFO: DTU triggers limit function: 461.6 : 402.2
2024-03-28 21:20:34,292:INFO: Rate limit on trigger function, last call was only 7.0s ago!
2024-03-28 21:20:58,298:INFO: DTU triggers limit function: 526.1 : 461.6
2024-03-28 21:20:58,298:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 65% (64|65), V:47.0V (46.9|47.0), C:-510W, P:False, F:76.6h, E:13.2h, H:486W, L:800W
2024-03-28 21:20:58,302:INFO: INV: AC:477.3W, AC_Prediction: 501.3W, DC:502.4W, DC_prediction: 526.1W (0.0|0.0|255.3|248.4), L:1075.2W [1600W]
2024-03-28 21:20:58,303:INFO: SMT: T:ShellyEM3 P:-58.2W [ -4.3,-6.0,-1.3,-58.0,-57.6 ] Predict: -88.9W
2024-03-28 21:20:58,306:INFO: Direct connected panels (0.0W) can't cover demand (412.4W), trying to get rest from hub.
2024-03-28 21:20:58,306:INFO: Checking if Solarflow is willing to contribute 412.4W ...
2024-03-28 21:20:58,307:INFO: Based on time, solarpower ( 0.0W) minimum charge power (400W) and bypass state (False), hub could contribute 412.4W - Decision path: 2.1.
2024-03-28 21:20:58,307:INFO: Hub should contribute more (412.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-03-28 21:20:58,307:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-03-28 21:20:58,307:INFO: Setting inverter output limit to 824W (1 min moving average of 206W x 4)
2024-03-28 21:20:58,307:INFO: Sun: 05:51 - 18:35 Demand: 412.4W, Panel DC: (0.0|0.0), Hub DC: (255.3|248.4), Inverter Limit: 824.0W, Hub Limit: 800.0W
2024-03-28 21:21:05,886:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:21:59,293:INFO: DTU triggers limit function: 461.7 : 526.1
2024-03-28 21:21:59,293:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 65% (64|65), V:47.0V (47.0|47.0), C:-449W, P:False, F:76.6h, E:13.2h, H:428W, L:800W
2024-03-28 21:21:59,293:INFO: INV: AC:438.6W, AC_Prediction: 438.6W, DC:461.7W, DC_prediction: 461.7W (0.0|0.0|223.3|217.3), L:824.0W [1600W]
2024-03-28 21:21:59,293:INFO: SMT: T:ShellyEM3 P:-1.6W [ -58.4,-6.4,-3.4,-1.6 ] Predict: -1.6W
2024-03-28 21:21:59,293:INFO: Direct connected panels (0.0W) can't cover demand (437.0W), trying to get rest from hub.
2024-03-28 21:21:59,293:INFO: Checking if Solarflow is willing to contribute 437.0W ...
2024-03-28 21:21:59,294:INFO: Based on time, solarpower ( 0.0W) minimum charge power (400W) and bypass state (False), hub could contribute 437.0W - Decision path: 2.1.
2024-03-28 21:21:59,294:INFO: Hub should contribute more (437.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-03-28 21:21:59,294:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-03-28 21:21:59,294:INFO: Setting inverter output limit to 872W (1 min moving average of 218W x 4)
2024-03-28 21:21:59,294:INFO: Sun: 05:51 - 18:35 Demand: 437.0W, Panel DC: (0.0|0.0), Hub DC: (223.3|217.3), Inverter Limit: 872.0W, Hub Limit: 800.0W
2024-03-28 21:22:05,887:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:23:05,887:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:24:05,887:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:25:05,888:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:26:05,888:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:27:05,888:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:28:05,888:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:29:05,889:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:30:05,889:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:31:05,889:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:32:05,890:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:33:05,890:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:34:05,890:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:35:05,891:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:36:05,891:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:37:05,891:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:38:05,892:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:39:05,892:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:40:05,892:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:41:05,892:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:42:05,893:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:43:05,893:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:44:05,893:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:45:05,894:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:46:05,894:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:47:05,894:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:48:05,895:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:49:05,895:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:50:05,895:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:51:05,895:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:52:05,896:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:53:05,896:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:54:05,896:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:55:05,897:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:56:05,897:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:57:05,897:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:58:05,898:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 21:59:05,898:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:00:05,898:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:01:05,898:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:02:05,899:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:02:57,792:INFO: MQTT Host: XXX
2024-03-28 22:02:57,792:INFO: MQTT User is not set, assuming authentication not needed
2024-03-28 22:02:57,792:INFO: Solarflow Hub: XXX/XXX
2024-03-28 22:02:57,792:INFO: Limit via inverter: True
2024-03-28 22:02:57,792:INFO: Control Parameters:
2024-03-28 22:02:57,792:INFO:   MIN_CHARGE_POWER = 400
2024-03-28 22:02:57,792:INFO:   MAX_DISCHARGE_LEVEL = 800
2024-03-28 22:02:57,792:INFO:   MAX_INVERTER_LIMIT = 800
2024-03-28 22:02:57,792:INFO:   MAX_INVERTER_INPUT = 400
2024-03-28 22:02:57,792:INFO:   SUNRISE_OFFSET = 60
2024-03-28 22:02:57,792:INFO:   SUNSET_OFFSET = 60
2024-03-28 22:02:57,998:INFO: Using AhoyDTU: Base topic: ahoydtu, Limit topic: ahoydtu/ctrl/limit/0, SF Channels: [3, 4]
2024-03-28 22:02:57,998:INFO: Using ShellyEM3: Base topic: shellies/shellyem3
2024-03-28 22:02:57,998:INFO: Connected to MQTT Broker!
2024-03-28 22:02:57,998:INFO: Hub subscribing: /XXX/XXX/properties/report
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/solarInputPower
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/electricLevel
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/outputPackPower
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/packInputPower
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/outputHomePower
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/outputLimit
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/inverseMaxPower
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/masterSoftVersion
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/pass
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/batteries/+/socLevel
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/telemetry/batteries/+/totalVol
2024-03-28 22:02:57,999:INFO: Hub subscribing: solarflow-hub/XXX/control/#
2024-03-28 22:02:58,000:INFO: DTU subscribing: ahoydtu/HM-1600/+/P_DC
2024-03-28 22:02:58,000:INFO: DTU subscribing: ahoydtu/HM-1600/ch0/P_AC
2024-03-28 22:02:58,000:INFO: DTU subscribing: ahoydtu/HM-1600/ch0/active_PowerLimit
2024-03-28 22:02:58,000:INFO: DTU subscribing: ahoydtu/status
2024-03-28 22:02:58,000:INFO: DTU subscribing: solarflow-hub/+/control/dryRun
2024-03-28 22:02:58,000:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/0/power
2024-03-28 22:02:58,000:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/1/power
2024-03-28 22:02:58,000:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/2/power
2024-03-28 22:02:58,001:INFO: Reading last empty time: 2024-03-28 08:10:39
2024-03-28 22:02:58,001:INFO: Reading last full time: 2024-03-25 16:45:03
2024-03-28 22:02:58,001:INFO: Reading battery target mode: charging
2024-03-28 22:02:59,291:INFO: DTU triggers limit function: 461.8 : 0
2024-03-28 22:02:59,291:INFO: HUB: S:-1.0W [ ], B: -1% (-1), V:-1.0V (-1.0), C:-471W, P:False, F:77.3h, E:13.9h, H:449W, L: -1W
2024-03-28 22:02:59,291:INFO: INV: AC:438.8W, AC_Prediction: 438.8W, DC:461.8W, DC_prediction: 461.8W (0.0), L: 0W [1600W]
2024-03-28 22:02:59,291:INFO: SMT: T:ShellyEM3 P:0.0W [ ] Predict: 0.0W
2024-03-28 22:02:59,550:INFO: Rate limit on trigger function, last call was only 0.3s ago!
2024-03-28 22:02:59,551:INFO: Rapid rise in demand detected, clearing buffer!
2024-03-28 22:02:59,551:INFO: Rate limit on trigger function, last call was only 0.3s ago!
2024-03-28 22:02:59,551:INFO: Rapid drop in demand detected, clearing buffer!
2024-03-28 22:02:59,551:INFO: Rate limit on trigger function, last call was only 0.3s ago!
2024-03-28 22:03:58,000:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:04:58,000:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:05:58,001:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:06:58,001:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-28 22:07:58,001:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read

I shut down my PC hoping to trigger any update, but was not successful. After changing back to dev build from a couple of days ago (23.03.) it seems to work again ๐Ÿค”

SF-Control application error

My SF-Control container did fail this morning

2024-02-15 06:29:06,819:INFO: HUB: S:0.0W [ 0.0 ], B: 0% ( 0| 0), C: 0W, P:False, F:-1.0h, E:0.0h, H: 0W, L: 0W
2024-02-15 06:29:06,819:INFO: INV: AC:0.0W, DC:0.3W (), L:1600.0W
2024-02-15 06:29:06,819:INFO: SMT: T:ShellyEM3 P:1059.8W [ 1059.6,1058.4,1057.5,1058.0,1060.9,1060.7 ]
2024-02-15 06:29:06,819:INFO: Direct connected panels can't cover demand 0.0W/1059.8W, trying to get rest from hub.
2024-02-15 06:29:06,819:INFO: Checking if Solarflow is willing to contribute 1059.8W ...
2024-02-15 06:29:06,820:INFO: Based on time, solarpower ( 0.0W) and minimum charge power (1W), hub could contribute 800.0W - Decision path: 2.1.
2024-02-15 06:29:06,820:INFO: Battery hasn't fully charged for -1.0 hours! To ensure it is fully charged at least every 28hrs not discharging now!
2024-02-15 06:29:06,820:INFO: Not setting solarflow output limit to 0.0W as it is identical to current limit!
2024-02-15 06:29:06,821:INFO: Solarflow is willing to contribute 0.0W!
Traceback (most recent call last):
  File "/solarflow/solarflow-control.py", line 407, in <module>
    main(sys.argv[1:])
  File "/solarflow/solarflow-control.py", line 404, in main
    run()
  File "/solarflow/solarflow-control.py", line 339, in run
    limitHomeInput(client)
  File "/solarflow/solarflow-control.py", line 277, in limitHomeInput
    direct_limit = getDirectPanelLimit(inv,hub,smt)
  File "/solarflow/solarflow-control.py", line 188, in getDirectPanelLimit
    return math.ceil(max(inv.getDirectDCPowerValues())) if smt.getPower() < 0 else limitedRise(max(inv.getDirectDCPowerValues()))
ValueError: max() arg is an empty sequence

I noticed as I had my compose file set to restart = "no" and therefore I had no data reported anymore, so I checked the container and its logs.

Just wanted to report, as you might be interested in this.
MaVo

Config Infos and genereal questions

Inside the Readme and config part are a little typos:

# Smartmeter Type: either Smartmeter (generic, Tasmota, Hichi, ...), PowerOpti, Shelly3EM
smartmeter_type = ...

But Shelly3EM needs to be ShellyEM3 inside the config

[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...
rapid_change_diff = 200

We need to set up rapid_change_diff, but its missed inside the condig files. And its not described anywhere, what is that setting for?

Unfortunately it's not allowed to make your own commits, otherwise I would have simply made a PR with the changes :)

And a few general question:
Inside Homeassistant i now have the possibility to change the Bypass.
Is this the same setting as inside the app? Because the app shows me a warning not to switch this setting too often?
So, did solarflow-control "take care" of my inverter and the solarflow-hub?
I mean not to write the Inverter Limit "hard" and doesnt switch the Bypass setting often?

Ist it possible to disable the full charge cycle?

Thanks for your work here, the software seems to fit my needs perfectly <3

ISSUE: Batteries empty during night; wake up power output hub error

Have made the following observation not repeadetly.

Situation:

Batteries are discharging overnight; They are actually empty before dawn.
When the Hub wakes up in the morning with first sufficient light. It discharges some residual energy it found somewhere in the batteries for a few minutes.
When then the sun actually comes around the hub does not start charging again. I have to manually restart the hub.

Assumption:
The hub due to the short burst of energy goes into overheat warning (or some other warning); and that only gets resolved either with the next day (loosing the entire day) OR with the restart like I do it.

To be honest this needs to be fixed in the FW however following thought:

If the system is not in ChargeThrough based on the lastFull timestamp.

Might be worth to set the hub output to 0W (keep it there) when it has reached 0% (or becomes) unreachable and keep it at this level until dawn+offset is reached so that enough solar energy is coming and we dont see another burst.

Not sure if this could be done via the chargeThrough mechanism in a temporary manner? In the attached screenshot one can see the situation. When I restarted (at the end) it does start taking solar energy directly and start charging the batteries.
image

Here also the Solar start, as one can see with the start it directly picked it up.
image

@reinhard-brandstaedter have you seen such behaviour in your environment?

Dev : Hub limit setting gets dropped due to too early interval

Obsereved that during offset the hub limit got set to 0 after drop whilst the grid usage was in the positive so in theory battery could have been used.

Hub does not return with a limit >0; in the logs I obsered that a limit was set to 800, however since the last command was not too long ago enough it got dropped. Problem was though that no further limit function got triggered until a bigger light got switched on. This might work (more or less well) when a person is at home but in absence this might proof inefficient.

hub-missingLimit

solarFlow-limitMissed.log

Shelly3EM or ShellyEM3 - none does work for me

Hi @reinhard-brandstaedter,

first of all, thank you for providing this. I think it will be great - when I get it working.

However, when I try to set up my system I am stuck, as it seems that the config/code are not 100% clear on weather they want the shelly named 3em or em3.
I tried both scenarios- here are the results:

config.ini with smartmeter_type = ShellyEM3

Traceback (most recent call last):
File "/solarflow/solarflow-control.py", line 407, in <module>
main(sys.argv[1:])
File "/solarflow/solarflow-control.py", line 404, in main 
                      run()
File "/solarflow/solarflow-control.py", line 329, in run
                      smt_opts = getOpts(smtType)
File "/solarflow/solarflow-control.py", line 315, in getOpts 
                      opts.update({opt:opt_type(converter(configtype.__name__.lower(),opt))})
File "/usr/local/lib/python3.10/configparser.py", line 810, in _get_conv
                      return self._get(section, conv, option, raw=raw, vars=vars,
File "/usr/local/lib/python3.10/configparser.py", line 805, in _get
                      return conv(self.get(section, option, **kwargs))
                                                                                                                                                                                                                      File "/usr/local/lib/python3.10/configparser.py", line 783, in get
                      d = self._unify_values(section, vars)
File "/usr/local/lib/python3.10/configparser.py", line 1154, in _unify_values
                       raise NoSectionError(section) from None
                       configparser.NoSectionError: No section: 'shellyem3'

config.ini with smartmeter_type = Shelly3EM

Traceback (most recent call last):
File "/solarflow/solarflow-control.py", line 407, in <module>
                       main(sys.argv[1:])
File "/solarflow/solarflow-control.py", line 404, in main
                       run()
File "/solarflow/solarflow-control.py", line 328, in run
                       smtType = getattr(smartmeters, SMT_TYPE)
AttributeError: module 'smartmeters' has no attribute 'Shelly3EM'. Did you mean: 'ShellyEM3'?

Can you mabe check if there is a mistake somewhere? If you need more information, feels free I will answer as much as I can :-)

Regards,
MaVo

INV: Did not increase direct panels though solar radition increased drastically.

I observed that today afternoon the sun - finally - came out behind the cloud. The inverter in this case did not increase the limit to better match the new direct irridation.

I manually entered in openDTU the limit of 100%, which directly increased the output of the INV accordingly. Afterwards the script properly picked the new limit out and steered it - supposedly correctly.

I have attached a graph showing that it is was not due to any interval limitation as the increased power was present long enough to get detected. Further I attached a screenshot from my DTU showing that the limit was maxed out by the output and yet the script did not trigger any acction up until I manually intervened.

SolarPaneloOutput
solarflow-control-directpanel_increase.log

Feed in instead of charging Battery

I keep observing feed in into the grid, even though my battery isn't full.
The battery is at 72% and yet the inverter is set to ~800W with only a ~330W demand.
The battery receives ~350W-ish.
Almost feels like this should be the other way around.

Here are my logs:

2024-04-14 11:05:31,123:INFO: HUB: S:1274.9W [ 1275.1,1275.1,1275.1,1274.8,1275.1,1274.9 ], B: 72% (72), V:50.6V (50.6), C: 345W, P:False, F:20.2h, E:-1.0h, H:910W, L:1000W
2024-04-14 11:05:31,138:INFO: INV: AC:847.6W, AC_Prediction: 846.5W, DC:896.8W, DC_prediction: 895.7W (443.5|450.6), L:835.0W [1000.0W]
2024-04-14 11:05:31,144:INFO: SMT: T:ShellyEM3 P:-512.6W [ -515.6,-515.6,-516.2,-516.9,-516.3,-515.7 ] Predict: -514.6W
2024-04-14 11:05:31,144:INFO: Direct connected panels (0.0W) can't cover demand (331.9W), trying to get rest from hub.
2024-04-14 11:05:31,144:INFO: Checking if Solarflow is willing to contribute 331.9W ...
2024-04-14 11:05:31,145:INFO: Based on time, solarpower (1274.9W) minimum charge power (0W) and bypass state (False), hub could contribute 331.9W - Decision path: 1.2.
2024-04-14 11:05:31,146:INFO: Hub should contribute more (331.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-14 11:05:31,146:INFO: Not setting solarflow output limit to 1000.0W as it is identical to current limit!
2024-04-14 11:05:31,146:INFO: Current inverter AC output (847.6) is higher than configured output limit (800), reducing limit to 831.0
2024-04-14 11:05:31,146:INFO: Not setting inverter output limit as it is identical to current limit!
2024-04-14 11:05:31,147:INFO: Sun: 06:25 - 20:02 Demand: 331.9W, Panel DC: ( 0), Hub DC: (443.5|450.6), Inverter Limit: 831.0W, Hub Limit: 1000.0W

[Question] - Deye Microinverter

First, thanks for this integration!

Is it possible to use this addon with a deye inverter? They expose the data via TCP modbus. Maybe I can help you with the development of this use case ?

MQTT connection loss leads to multiple telemetry update timers

When the connection to the MQTT broker is lost (and reconnected) this triggers a second (or multiple) telemetry update timers.
This can lead to many timers if the connection is lost multiple times and re-established again.
Upon connection loss we should make sure that all timers are stopped in a clean way or no new ones are started.

DEV: INV limit 0 at startup till capacity determined

I observed on the dev branch that at startup the INV limit is set to 0 until the capactiy of the inverter is determined. This is risky as the INV might get stalled and requires a restart.

Ideally the INV at startup the minimum value should be taken (10W) and set for all channels i.e. 40W to ensure that the INV does not get stalled till the capacity is determined.

I have attached the corresponding log.
solarFlow-startupIssue.log

HUB2K support (config error)

Hi @reinhard-brandstaedter,

today my hub2k did arrive, and ofc I installed it asap.
So, its now running, I can see data in the sf-app on my smartphone and I disconnected it from the cloud using BT manager.
I can see a small amount of messages in mqtt explorer, however, the control-app seems to have no idea.

2024-04-05 10:35:58,597:INFO: MQTT User is not set, assuming authentication not needed
2024-04-05 10:35:58,597:INFO: Solarflow Hub: A8yh63/ETFTke36
2024-04-05 10:35:58,598:INFO: Limit via inverter: True
2024-04-05 10:35:58,598:INFO: Control Parameters:
2024-04-05 10:35:58,598:INFO:   MIN_CHARGE_POWER = 100
2024-04-05 10:35:58,598:INFO:   MAX_DISCHARGE_LEVEL = 800
2024-04-05 10:35:58,598:INFO:   MAX_INVERTER_LIMIT = 700
2024-04-05 10:35:58,598:INFO:   MAX_INVERTER_INPUT = 800
2024-04-05 10:35:58,598:INFO:   SUNRISE_OFFSET = 60
2024-04-05 10:35:58,598:INFO:   SUNSET_OFFSET = 60
2024-04-05 10:35:58,803:INFO: Using AhoyDTU: Base topic: ahoydtu, Limit topic: ahoydtu/ctrl/limit/0, SF Channels: [3, 4]
2024-04-05 10:35:58,803:INFO: Using ShellyEM3: Base topic: shellies/shellyem3
2024-04-05 10:35:58,803:INFO: Connected to MQTT Broker!
2024-04-05 10:35:58,803:INFO: Hub subscribing: /A8yh63/ETFTke36/properties/report
2024-04-05 10:35:58,803:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/solarInputPower
2024-04-05 10:35:58,803:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/electricLevel
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/outputPackPower
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/packInputPower
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/outputHomePower
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/outputLimit
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/inverseMaxPower
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/masterSoftVersion
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/pass
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/batteries/+/socLevel
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/telemetry/batteries/+/totalVol
2024-04-05 10:35:58,804:INFO: Hub subscribing: solarflow-hub/ETFTke36/control/#
2024-04-05 10:35:58,805:INFO: DTU subscribing: ahoydtu/HM-1600/+/P_DC
2024-04-05 10:35:58,805:INFO: DTU subscribing: ahoydtu/HM-1600/ch0/P_AC
2024-04-05 10:35:58,805:INFO: DTU subscribing: ahoydtu/HM-1600/ch0/active_PowerLimit
2024-04-05 10:35:58,805:INFO: DTU subscribing: ahoydtu/status
2024-04-05 10:35:58,805:INFO: DTU subscribing: solarflow-hub/+/control/dryRun
2024-04-05 10:35:58,805:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/0/power
2024-04-05 10:35:58,805:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/1/power
2024-04-05 10:35:58,805:INFO: Shelly3EM subscribing: shellies/shellyem3/emeter/2/power
2024-04-05 10:35:59,070:INFO: HUB: S:-1.0W [ ], B: -1% (-1), V:-1.0V (-1.0), C: 0W, P:False, F:-1.0h, E:-1.0h, H: -1W, L: -1W
2024-04-05 10:35:59,070:INFO: INV: AC:438.9W, AC_Prediction: 438.9W, DC:462.1W, DC_prediction: 462.1W (), L: 0W [1600W]
2024-04-05 10:35:59,070:INFO: SMT: T:ShellyEM3 P:51.6W [ 51.6 ] Predict: 51.6W
2024-04-05 10:35:59,071:INFO: Rapid drop in demand detected, clearing buffer!
2024-04-05 10:35:59,071:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-05 10:36:00,887:INFO: DTU triggers limit function: 462.1 : 0
2024-04-05 10:36:00,887:INFO: Rate limit on trigger function, last call was only 1.8s ago!
2024-04-05 10:36:58,805:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-04-05 10:37:08,914:INFO: SMT triggers limit function: -6.2 -> -72.8
2024-04-05 10:37:08,914:INFO: HUB: S:-1.0W [ ], B: -1% (-1), V:-1.0V (-1.0), C: 0W, P:False, F:-1.0h, E:-1.0h, H: -1W, L: -1W
2024-04-05 10:37:08,918:INFO: INV: AC:437.5W, AC_Prediction: 437.5W, DC:460.7W, DC_prediction: 460.7W (0.1|0.1|234.0|227.9), L: 0W [1600W]
2024-04-05 10:37:08,920:INFO: SMT: T:ShellyEM3 P:53.9W [ -116.0,-109.7,-126.8,-128.5,-125.6,-123.8,-6.2 ] Predict: -72.8W

I found how to set the product_id in the config file and did it. I also additionally had to modify the solarflow.py file in the container, as it contains the hard coded prod-id of the smaller hub.

However, I cannot see much more + the app is currently not working. What data can I provide you to help me find the mistake I made? ๐Ÿ˜‡
This is what mqtt explorer puts out atm.
image

EDIT - output from bt-manager -i command:

python3 solarflow-bt-manager.py -i
2024-04-05 12:03:07,779:INFO: Found device: 94:C9:60:AD:EE:F9: ZenH1_26
2024-04-05 12:03:10,967:INFO: Services:
2024-04-05 12:03:10,968:INFO: 00112233-4455-6677-8899-aabbccddeeff (Handle: 18): Unknown
2024-04-05 12:03:10,968:INFO: 0000a002-0000-1000-8000-00805f9b34fb (Handle: 12): Vendor specific
2024-04-05 12:03:10,968:INFO: 00001801-0000-1000-8000-00805f9b34fb (Handle: 1): Generic Attribute Profile
2024-04-05 12:03:10,989:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1120, 'outputPackPower': 765, 'outputHomePower': 314}}
2024-04-05 12:03:11,449:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 539, 'solarPower1': 581}}
2024-04-05 12:03:11,669:INFO: {'method': 'read_reply', 'deviceId': 'ETFTke36', 'success': 1, 'properties': {'getAll': 1}}
2024-04-05 12:03:11,810:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'packNum': 2}, 'packData': [{'sn': 'CO4HLKYLM601288'}, {'sn': 'CO4HLHALKP05056'}]}
2024-04-05 12:03:11,989:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'masterSwitch': 1, 'electricLevel': 99, 'wifiState': 0}}
2024-04-05 12:03:12,210:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'buzzerSwitch': 1, 'socSet': 1000, 'solarInputPower': 1114}}
2024-04-05 12:03:12,409:INFO: {'messageId': '123', 'method': 'error', 'deviceId': 'ETFTke36', 'timestamp': 2256460, 'offData': 1, 'data': []}
2024-04-05 12:03:12,490:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'packInputPower': 0, 'outputPackPower': 756, 'outputHomePower': 317}}
2024-04-05 12:03:12,729:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'outputLimit': 800, 'inputLimit': 0, 'remainOutTime': 59940}}
2024-04-05 12:03:12,829:INFO: {'deviceId': 'ETFTke36', 'method': 'BLESPP'}
2024-04-05 12:03:13,069:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'remainInputTime': 59940, 'packState': 1, 'hubState': 0}}
2024-04-05 12:03:13,130:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'masterSoftVersion': 12296, 'masterhaerVersion': 0, 'inputMode': 0}}
2024-04-05 12:03:13,309:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'blueOta': 1, 'pvBrand': 1, 'pass': 0}}
2024-04-05 12:03:13,710:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'minSoc': 100, 'inverseMaxPower': 800, 'autoModel': 0}}
2024-04-05 12:03:13,729:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'gridPower': 0, 'smartMode': 0, 'smartPower': 0}}
2024-04-05 12:03:14,030:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'passMode': 0, 'autoRecover': 1, 'solarPower2': 533}}
2024-04-05 12:03:14,190:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower1': 571, 'heatState': 0}, 'packData': [{'power': 479, 'sn': 'CO4HLKYLM601288'}]}
2024-04-05 12:03:14,370:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1100, 'outputPackPower': 737, 'outputHomePower': 323}}
2024-04-05 12:03:14,610:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 529}, 'packData': [{'socLevel': 99, 'state': 1, 'sn': 'CO4HLKYLM601288'}]}
2024-04-05 12:03:14,790:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {}, 'packData': [{'maxTemp': 2891, 'totalVol': 5050, 'maxVol': 337, 'sn': 'CO4HLKYLM601288'}]}
2024-04-05 12:03:15,150:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {}, 'packData': [{'minVol': 336, 'softVersion': 4104, 'sn': 'CO4HLKYLM601288'}]}
2024-04-05 12:03:15,209:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1091, 'outputPackPower': 726, 'outputHomePower': 326}}
2024-04-05 12:03:15,530:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 525, 'solarPower1': 566}, 'packData': [{'power': 433, 'sn': 'CO4HLHALKP05056'}]}
2024-04-05 12:03:15,690:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {}, 'packData': [{'socLevel': 99, 'state': 1, 'maxTemp': 2891, 'sn': 'CO4HLHALKP05056'}]}
2024-04-05 12:03:15,870:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {}, 'packData': [{'totalVol': 5040, 'maxVol': 336, 'minVol': 336, 'sn': 'CO4HLHALKP05056'}]}
2024-04-05 12:03:16,070:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {}, 'packData': [{'softVersion': 4104, 'sn': 'CO4HLHALKP05056'}]}
2024-04-05 12:03:16,290:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1085, 'outputPackPower': 717, 'outputHomePower': 329}}
2024-04-05 12:03:16,529:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 522, 'solarPower1': 563}}
2024-04-05 12:03:16,771:INFO: {'messageId': '123', 'method': 'getInfo-rsp', 'deviceId': 'ETFTke36', 'timestamp': 2256464, 'deviceSn': 'HO1HLMJMAP01026', 'firmwares': [{'type': 'MASTER', 'version': 12296}, {'type': 'BMS', 'version': -1}, {'type': 'BMS_AB2000', 'version': 4104}]}
2024-04-05 12:03:16,771:INFO: The SF device ID is: ETFTke36
2024-04-05 12:03:16,772:INFO: The SF device SN is: HO1HLMJMAP01026
2024-04-05 12:03:17,350:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1077, 'outputPackPower': 708, 'outputHomePower': 331}}
2024-04-05 12:03:17,529:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 518, 'solarPower1': 559}}
2024-04-05 12:03:18,390:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1071, 'outputPackPower': 699, 'outputHomePower': 334}}
2024-04-05 12:03:18,549:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 516, 'solarPower1': 555}}
2024-04-05 12:03:19,410:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1067, 'outputPackPower': 693, 'outputHomePower': 336}}
2024-04-05 12:03:19,589:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 514, 'solarPower1': 553}}
2024-04-05 12:03:20,510:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1063, 'outputPackPower': 687, 'outputHomePower': 339}}
2024-04-05 12:03:20,609:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 512, 'solarPower1': 551}}
2024-04-05 12:03:21,430:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1062, 'outputPackPower': 684, 'outputHomePower': 341}}
2024-04-05 12:03:21,609:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 511}}
2024-04-05 12:03:22,450:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'outputPackPower': 682, 'outputHomePower': 343}}
2024-04-05 12:03:23,450:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'outputPackPower': 680, 'outputHomePower': 345}}
2024-04-05 12:03:24,450:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1064, 'outputPackPower': 679, 'outputHomePower': 348}}
2024-04-05 12:03:24,650:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 512, 'solarPower1': 552}}
2024-04-05 12:03:25,550:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1067, 'outputHomePower': 351, 'solarPower2': 513}}
2024-04-05 12:03:25,669:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower1': 554}}
2024-04-05 12:03:26,530:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1071, 'outputPackPower': 681, 'outputHomePower': 353}}
2024-04-05 12:03:26,690:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 515, 'solarPower1': 556}}
2024-04-05 12:03:27,530:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1075, 'outputPackPower': 683, 'outputHomePower': 355}}
2024-04-05 12:03:27,730:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 517, 'solarPower1': 558}}
2024-04-05 12:03:28,550:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1079, 'outputPackPower': 684, 'outputHomePower': 358}}
2024-04-05 12:03:28,850:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 519, 'solarPower1': 560}}
2024-04-05 12:03:29,590:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1083, 'outputPackPower': 686, 'outputHomePower': 360}}
2024-04-05 12:03:29,790:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 521, 'solarPower1': 562}}
2024-04-05 12:03:30,571:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarInputPower': 1087, 'outputPackPower': 687, 'outputHomePower': 363}}
2024-04-05 12:03:30,810:INFO: {'method': 'report', 'deviceId': 'ETFTke36', 'properties': {'solarPower2': 523, 'solarPower1': 564}}

MaVo

DEV: System in ChargeThrough mode however system actually discharging

Following observation:

During the morning the SF output gets set to 450W and inverter is limited to 0W.

However according to the logs and the inverter itself it actually does let energy flow from the SF as the direct connected panels are - yet - too week. Log is attached.
solarFlow.log

Though is would it make sense as long as the ChargeThrough is active to set the SF to actually 0 output to be on the safeside and let the rest handled via the inverter as it is for the direct connected panels?

fully charged timeframe

Hi Guys,

is it possible to set the 32hrs someware as a variable? maybe i missed it, sorry

Regards,
Azra

2024-03-19 09:37:14,884:INFO: Battery hasn't fully charged for 41.0 hours! To ensure it is fully charged at least every 32hrs not discharging now!

batteries hardcoded i guess

Hey,

i think the last update with homeassistent don't work right.
image

the batterie seriellnumber ist hardcodet i think in the config.

BUG(?) - Battery low is not used?!

Hello @reinhard-brandstaedter,

I still have issues with my batteries. They really struggle to get their calibration right as it seems. I had them loaded fully now 2 times and also discharged at least 2 times, still when they are at 100% the battery level makes sense when being discharged, however when charging they still think 0,8kWh is ~97% (my batteries have ~4kWh of capacity). But this is not the problem for your app.

Today, as my batteries where thinking they are fuller then they actually are, the control script did only charge with 50% due to the wrongly reported values (as it will charge slower when over 95% filled) - which also is nothing I criticise on this app. However, as the batteries drastically drained as the sun was down I saw, that my batteries were reported with only 7% remaining energy and they still were discharged.
Why's this the case? There is a control parameter which is defined as BATTERY_LOW and is set to 10%. Where is this actually used? I did not find it ๐Ÿค”

Can you help me understand this?

MaVo

Hub in bypass does not allow 100% power output

Hello @reinhard-brandstaedter,

today I noticed a behaviour, I never saw before.
My battery is full and I am in bypass mode. However, the SF-control app does limit my home output to ~600W (80% of inverter capacity).

2024-04-06 08:26:42,222:INFO: HUB: S:629.7W [ 629.2,631.2,631.3,629.3,628.7 ], B:100% (100|100), V:50.5V (50.5|50.5), C: 0W, P:True, F:0.0h, E:-1.0h, H:660W, L:800W
2024-04-06 08:26:42,225:INFO: INV: AC:634.0W, AC_Prediction: 632.5W, DC:667.4W, DC_prediction: 666.2W (0.0|0.0|338.7|329.7), L:1264.0W [1600W]
2024-04-06 08:26:42,227:INFO: SMT: T:ShellyEM3 P:-115.6W [ -369.6,-372.8,-209.5,-257.9,-129.6,-156.2,-115.7 ] Predict: -93.6W
2024-04-06 08:26:42,230:INFO: Direct connected panels (0.0W) can't cover demand (538.9W), trying to get rest from hub.
2024-04-06 08:26:42,230:INFO: Checking if Solarflow is willing to contribute 538.9W ...
2024-04-06 08:26:42,230:INFO: Adjusting inverter limit from 629.7W to 635.3W
2024-04-06 08:26:42,230:INFO: Based on time, solarpower (629.7W) minimum charge power (0W) and bypass state (True), hub could contribute 635.0W - Decision path: 1.1.
2024-04-06 08:26:42,230:INFO: Hub should contribute more (635.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-06 08:26:42,230:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-04-06 08:26:42,230:INFO: Not setting inverter output limit as it is identical to current limit!
2024-04-06 08:26:42,231:INFO: Sun: 06:30 - 19:51 Demand: 538.9W, Panel DC: (0.0|0.0), Hub DC: (338.7|329.7), Inverter Limit: 1268.0W, Hub Limit: 800.0W
2024-04-06 08:26:42,234:INFO: SMT triggers limit function: -142.3 -> -106.0
2024-04-06 08:26:42,234:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:26:42,238:INFO: SMT triggers limit function: -150.3 -> -109.7
2024-04-06 08:26:42,238:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:26:42,413:INFO: SMT triggers limit function: -153.4 -> -111.1
2024-04-06 08:26:42,413:INFO: Rate limit on trigger function, last call was only 0.2s ago!
2024-04-06 08:26:42,416:INFO: SMT triggers limit function: -139.6 -> -104.7
2024-04-06 08:26:42,416:INFO: Rate limit on trigger function, last call was only 0.2s ago!
2024-04-06 08:26:42,420:INFO: SMT triggers limit function: -134.5 -> -102.3
2024-04-06 08:26:42,420:INFO: Rate limit on trigger function, last call was only 0.2s ago!
2024-04-06 08:26:44,232:INFO: SMT triggers limit function: -132.6 -> -101.4
2024-04-06 08:26:44,233:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:26:44,236:INFO: SMT triggers limit function: -138.2 -> -104.0
2024-04-06 08:26:44,237:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:26:44,240:INFO: SMT triggers limit function: -141.6 -> -105.6
2024-04-06 08:26:44,240:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:26:46,245:INFO: SMT triggers limit function: -142.9 -> -67.7
2024-04-06 08:26:46,245:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:26:46,248:INFO: SMT triggers limit function: -160.41000000000003 -> -110.8
2024-04-06 08:26:46,248:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:26:46,252:INFO: SMT triggers limit function: -158.8 -> -110.0
2024-04-06 08:26:46,252:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:26:46,409:INFO: SMT triggers limit function: -157.8 -> -109.5
2024-04-06 08:26:46,409:INFO: Rate limit on trigger function, last call was only 4.2s ago!
2024-04-06 08:26:46,412:INFO: SMT triggers limit function: -162.7 -> -111.8
2024-04-06 08:26:46,413:INFO: Rate limit on trigger function, last call was only 4.2s ago!
2024-04-06 08:26:46,416:INFO: SMT triggers limit function: -161.9 -> -111.4
2024-04-06 08:26:46,417:INFO: Rate limit on trigger function, last call was only 4.2s ago!
2024-04-06 08:26:48,257:INFO: SMT triggers limit function: -161.5 -> -111.3
2024-04-06 08:26:48,258:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:26:48,261:INFO: SMT triggers limit function: -161.2 -> -111.1
2024-04-06 08:26:48,261:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:26:48,265:INFO: SMT triggers limit function: -162.1 -> -111.5
2024-04-06 08:26:48,266:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:26:50,360:INFO: SMT triggers limit function: -162.7 -> -111.8
2024-04-06 08:26:50,360:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:26:50,363:INFO: SMT triggers limit function: -165.5 -> -113.1
2024-04-06 08:26:50,364:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:26:50,367:INFO: SMT triggers limit function: -166.5 -> -113.6
2024-04-06 08:26:50,367:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:26:52,403:INFO: SMT triggers limit function: -166.9 -> -113.8
2024-04-06 08:26:52,403:INFO: HUB: S:629.7W [ 631.2,631.3,629.3,628.7,629.8 ], B:100% (100|100), V:50.5V (50.5|50.5), C: 0W, P:True, F:0.0h, E:-1.0h, H:661W, L:800W
2024-04-06 08:26:52,407:INFO: INV: AC:632.0W, AC_Prediction: 631.4W, DC:665.3W, DC_prediction: 664.5W (0.0|0.0|337.1|328.2), L:1264.0W [1600W]
2024-04-06 08:26:52,408:INFO: SMT: T:ShellyEM3 P:-167.1W [ -372.8,-209.5,-257.9,-129.6,-156.2,-142.9,-166.9 ] Predict: -113.8W
2024-04-06 08:26:52,411:INFO: Direct connected panels (0.0W) can't cover demand (517.6W), trying to get rest from hub.
2024-04-06 08:26:52,412:INFO: Checking if Solarflow is willing to contribute 517.6W ...
2024-04-06 08:26:52,412:INFO: Adjusting inverter limit from 629.7W to 635.3W
2024-04-06 08:26:52,412:INFO: Based on time, solarpower (629.7W) minimum charge power (0W) and bypass state (True), hub could contribute 635.0W - Decision path: 1.1.
2024-04-06 08:26:52,412:INFO: Hub should contribute more (635.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-06 08:26:52,412:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-04-06 08:26:52,412:INFO: Not setting inverter output limit as it is identical to current limit!
2024-04-06 08:26:52,413:INFO: Sun: 06:30 - 19:51 Demand: 517.6W, Panel DC: (0.0|0.0), Hub DC: (337.1|328.2), Inverter Limit: 1268.0W, Hub Limit: 800.0W
2024-04-06 08:26:52,416:INFO: SMT triggers limit function: -165.8 -> -113.3
2024-04-06 08:26:52,416:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:26:52,420:INFO: SMT triggers limit function: -166.7 -> -113.7
2024-04-06 08:26:52,420:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:26:54,415:INFO: SMT triggers limit function: -166.5 -> -113.6
2024-04-06 08:26:54,415:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:26:54,418:INFO: SMT triggers limit function: -160.6 -> -110.8
2024-04-06 08:26:54,419:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:26:54,423:INFO: SMT triggers limit function: -159.7 -> -110.4
2024-04-06 08:26:54,423:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:26:56,427:INFO: SMT triggers limit function: -159.6 -> -119.2
2024-04-06 08:26:56,427:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:26:56,431:INFO: SMT triggers limit function: -173.01999999999998 -> -144.2
2024-04-06 08:26:56,431:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:26:56,435:INFO: SMT triggers limit function: -173.5 -> -144.4
2024-04-06 08:26:56,435:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:26:58,440:INFO: SMT triggers limit function: -173.7 -> -144.5
2024-04-06 08:26:58,440:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:26:58,444:INFO: SMT triggers limit function: -160.0 -> -138.1
2024-04-06 08:26:58,444:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:26:58,447:INFO: SMT triggers limit function: -151.8 -> -134.3
2024-04-06 08:26:58,447:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:27:00,451:INFO: SMT triggers limit function: -149.5 -> -133.2
2024-04-06 08:27:00,451:INFO: Rate limit on trigger function, last call was only 8.0s ago!
2024-04-06 08:27:00,455:INFO: SMT triggers limit function: -160.7 -> -138.4
2024-04-06 08:27:00,455:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:27:00,459:INFO: SMT triggers limit function: -164.0 -> -140.0
2024-04-06 08:27:00,459:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:27:02,464:INFO: SMT triggers limit function: -165.0 -> -140.4
2024-04-06 08:27:02,464:INFO: HUB: S:630.0W [ 631.3,629.3,628.7,630.6,630.4 ], B:100% (100|100), V:50.5V (50.5|50.5), C: 0W, P:True, F:0.0h, E:-1.0h, H:658W, L:800W
2024-04-06 08:27:02,467:INFO: INV: AC:632.1W, AC_Prediction: 632.8W, DC:665.8W, DC_prediction: 665.3W (0.0|0.0|337.1|328.2), L:1264.0W [1600W]
2024-04-06 08:27:02,469:INFO: SMT: T:ShellyEM3 P:-165.5W [ -209.5,-257.9,-129.6,-156.2,-142.9,-159.6,-165.0 ] Predict: -140.4W
2024-04-06 08:27:02,472:INFO: Direct connected panels (0.0W) can't cover demand (492.4W), trying to get rest from hub.
2024-04-06 08:27:02,472:INFO: Checking if Solarflow is willing to contribute 492.4W ...
2024-04-06 08:27:02,472:INFO: Adjusting inverter limit from 630.0W to 635.4W
2024-04-06 08:27:02,473:INFO: Based on time, solarpower (630.0W) minimum charge power (0W) and bypass state (True), hub could contribute 635.0W - Decision path: 1.1.
2024-04-06 08:27:02,473:INFO: Hub should contribute more (635.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-06 08:27:02,473:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-04-06 08:27:02,473:INFO: Not setting inverter output limit as it is identical to current limit!
2024-04-06 08:27:02,473:INFO: Sun: 06:30 - 19:51 Demand: 492.4W, Panel DC: (0.0|0.0), Hub DC: (337.1|328.2), Inverter Limit: 1268.0W, Hub Limit: 800.0W
2024-04-06 08:27:02,477:INFO: SMT triggers limit function: -166.5 -> -141.1
2024-04-06 08:27:02,477:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:27:02,480:INFO: SMT triggers limit function: -167.5 -> -141.6
2024-04-06 08:27:02,480:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:27:04,475:INFO: SMT triggers limit function: -167.9 -> -141.8
2024-04-06 08:27:04,475:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:27:04,479:INFO: SMT triggers limit function: -161.2 -> -138.7
2024-04-06 08:27:04,479:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:27:04,482:INFO: SMT triggers limit function: -161.7 -> -138.9
2024-04-06 08:27:04,482:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:27:05,091:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-04-06 08:27:06,488:INFO: SMT triggers limit function: -161.8 -> -127.6
2024-04-06 08:27:06,488:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:27:06,492:INFO: SMT triggers limit function: -151.47999999999996 -> -138.7
2024-04-06 08:27:06,492:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:27:06,496:INFO: SMT triggers limit function: -151.3 -> -138.6
2024-04-06 08:27:06,496:INFO: Rate limit on trigger function, last call was only 4.0s ago!
2024-04-06 08:27:08,331:INFO: Battery is full: 100
2024-04-06 08:27:08,332:INFO: Reading last full time: 2024-04-06 08:27:08
2024-04-06 08:27:08,332:INFO: Reading battery target mode: discharging
2024-04-06 08:27:08,500:INFO: SMT triggers limit function: -152.0 -> -138.9
2024-04-06 08:27:08,501:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:27:08,505:INFO: SMT triggers limit function: -167.3 -> -146.0
2024-04-06 08:27:08,505:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:27:08,510:INFO: SMT triggers limit function: -172.9 -> -148.6
2024-04-06 08:27:08,510:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:27:10,512:INFO: SMT triggers limit function: -174.4 -> -149.3
2024-04-06 08:27:10,513:INFO: Rate limit on trigger function, last call was only 8.0s ago!
2024-04-06 08:27:10,516:INFO: SMT triggers limit function: -158.5 -> -142.0
2024-04-06 08:27:10,516:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:27:10,520:INFO: SMT triggers limit function: -153.1 -> -139.4
2024-04-06 08:27:10,520:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:27:12,525:INFO: SMT triggers limit function: -151.1 -> -138.5
2024-04-06 08:27:12,525:INFO: HUB: S:629.9W [ 629.3,628.7,630.6,630.1 ], B:100% (100|100), V:50.5V (50.5|50.5), C: 0W, P:True, F:0.0h, E:-1.0h, H:658W, L:800W
2024-04-06 08:27:12,528:INFO: INV: AC:635.7W, AC_Prediction: 635.8W, DC:669.0W, DC_prediction: 667.2W (0.0|0.0|339.2|330.3), L:1264.0W [1600W]
2024-04-06 08:27:12,530:INFO: SMT: T:ShellyEM3 P:-150.2W [ -257.9,-129.6,-156.2,-142.9,-159.6,-161.8,-151.1 ] Predict: -138.5W
2024-04-06 08:27:12,533:INFO: Direct connected panels (0.0W) can't cover demand (497.3W), trying to get rest from hub.
2024-04-06 08:27:12,533:INFO: Checking if Solarflow is willing to contribute 497.3W ...
2024-04-06 08:27:12,534:INFO: Adjusting inverter limit from 629.9W to 635.4W
2024-04-06 08:27:12,534:INFO: Based on time, solarpower (629.9W) minimum charge power (0W) and bypass state (True), hub could contribute 635.0W - Decision path: 1.1.
2024-04-06 08:27:12,534:INFO: Hub should contribute more (635.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-06 08:27:12,534:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-04-06 08:27:12,534:INFO: Not setting inverter output limit as it is identical to current limit!
2024-04-06 08:27:12,534:INFO: Sun: 06:30 - 19:51 Demand: 497.3W, Panel DC: (0.0|0.0), Hub DC: (339.2|330.3), Inverter Limit: 1268.0W, Hub Limit: 800.0W
2024-04-06 08:27:12,538:INFO: SMT triggers limit function: -163.1 -> -144.1
2024-04-06 08:27:12,538:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:27:12,542:INFO: SMT triggers limit function: -163.9 -> -144.5
2024-04-06 08:27:12,543:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:27:14,538:INFO: SMT triggers limit function: -164.0 -> -144.5
2024-04-06 08:27:14,538:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:27:14,541:INFO: SMT triggers limit function: -162.1 -> -143.6
2024-04-06 08:27:14,542:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:27:14,545:INFO: SMT triggers limit function: -161.3 -> -143.3
2024-04-06 08:27:14,545:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:27:18,565:INFO: SMT triggers limit function: -145.7 -> -159.4
2024-04-06 08:27:18,565:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:27:18,569:INFO: SMT triggers limit function: -143.0 -> -158.2
2024-04-06 08:27:18,569:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:27:20,574:INFO: SMT triggers limit function: -141.4 -> -157.4
2024-04-06 08:27:20,574:INFO: Rate limit on trigger function, last call was only 8.0s ago!

#######
#######
HERE I ADDED THE WATER HEATER TO ADD A CONSUMER - for testing
#######
#######

2024-04-06 08:32:32,740:INFO: SMT triggers limit function: -211.3 -> -200.8
2024-04-06 08:32:32,740:INFO: HUB: S:673.6W [ 662.9,661.5,719.4,697.7,668.3,661.5,659.4 ], B:100% (100|100), V:50.4V (50.4|50.4), C: 0W, P:True, F:0.0h, E:-1.0h, H:690W, L:800W
2024-04-06 08:32:32,740:INFO: INV: AC:656.2W, AC_Prediction: 656.2W, DC:690.7W, DC_prediction: 690.7W (0.0|0.0|351.0|341.8), L:1600.0W [1600W]
2024-04-06 08:32:32,742:INFO: SMT: T:ShellyEM3 P:-212.4W [ -190.1,-271.3,-198.4,-204.4,-195.6,-198.2,-211.3 ] Predict: -200.8W
2024-04-06 08:32:32,744:INFO: Direct connected panels (0.0W) can't cover demand (455.4W), trying to get rest from hub.
2024-04-06 08:32:32,744:INFO: Checking if Solarflow is willing to contribute 455.4W ...
2024-04-06 08:32:32,744:INFO: Adjusting inverter limit from 673.6W to 652.4W
2024-04-06 08:32:32,744:INFO: Based on time, solarpower (673.6W) minimum charge power (0W) and bypass state (True), hub could contribute 652.0W - Decision path: 1.1.
2024-04-06 08:32:32,744:INFO: Hub should contribute more (652.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-06 08:32:32,744:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-04-06 08:32:32,744:INFO: Setting inverter output limit to 1304W (1 min moving average of 326W x 4)
2024-04-06 08:32:32,745:INFO: Sun: 06:30 - 19:51 Demand: 455.4W, Panel DC: (0.0|0.0), Hub DC: (351.0|341.8), Inverter Limit: 1304.0W, Hub Limit: 800.0W
2024-04-06 08:32:34,448:INFO: SMT triggers limit function: -212.2 -> -201.2
2024-04-06 08:32:34,448:INFO: Rate limit on trigger function, last call was only 1.7s ago!
2024-04-06 08:32:34,752:INFO: SMT triggers limit function: -213.3 -> -201.7
2024-04-06 08:32:34,753:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:32:34,756:INFO: SMT triggers limit function: -213.7 -> -201.9
2024-04-06 08:32:34,756:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:32:34,760:INFO: SMT triggers limit function: -213.8 -> -201.9
2024-04-06 08:32:34,760:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:32:36,441:INFO: SMT triggers limit function: -213.2 -> -201.6
2024-04-06 08:32:36,441:INFO: Rate limit on trigger function, last call was only 3.7s ago!
2024-04-06 08:32:38,777:INFO: SMT triggers limit function: -195.7 -> -171.9
2024-04-06 08:32:38,777:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:32:38,781:INFO: SMT triggers limit function: -197.19 -> -183.6
2024-04-06 08:32:38,781:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:32:38,784:INFO: SMT triggers limit function: -197.1 -> -183.6
2024-04-06 08:32:38,784:INFO: Rate limit on trigger function, last call was only 6.0s ago!
2024-04-06 08:32:40,266:INFO: DTU triggers limit function: 632.5 : 714.1
2024-04-06 08:32:40,267:INFO: Rate limit on trigger function, last call was only 7.5s ago!
2024-04-06 08:32:40,791:INFO: SMT triggers limit function: -197.1 -> -183.6
2024-04-06 08:32:40,791:INFO: Rate limit on trigger function, last call was only 8.1s ago!
2024-04-06 08:32:44,816:INFO: SMT triggers limit function: -202.8 -> -186.2
2024-04-06 08:32:44,816:INFO: HUB: S:668.6W [ 661.5,719.4,697.7,668.3,661.5,659.8,655.5 ], B:100% (100|100), V:50.4V (50.4|50.4), C: 0W, P:True, F:0.0h, E:-1.0h, H:686W, L:800W
2024-04-06 08:32:44,820:INFO: INV: AC:656.3W, AC_Prediction: 612.2W, DC:690.8W, DC_prediction: 656.1W (0.0|0.0|350.0|340.8), L:1600.0W [1600W]
2024-04-06 08:32:44,822:INFO: SMT: T:ShellyEM3 P:-209.4W [ -271.3,-198.4,-204.4,-195.6,-198.2,-195.7,-202.8 ] Predict: -186.2W
2024-04-06 08:32:44,825:INFO: Direct connected panels (0.0W) can't cover demand (426.0W), trying to get rest from hub.
2024-04-06 08:32:44,825:INFO: Checking if Solarflow is willing to contribute 426.0W ...
2024-04-06 08:32:44,825:INFO: Adjusting inverter limit from 668.6W to 650.6W
2024-04-06 08:32:44,825:INFO: Based on time, solarpower (668.6W) minimum charge power (0W) and bypass state (True), hub could contribute 650.0W - Decision path: 1.1.
2024-04-06 08:32:44,825:INFO: Hub should contribute more (650.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-06 08:32:44,825:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-04-06 08:32:44,825:INFO: Setting inverter output limit to 1300W (1 min moving average of 325W x 4)
2024-04-06 08:32:44,826:INFO: Sun: 06:30 - 19:51 Demand: 426.0W, Panel DC: (0.0|0.0), Hub DC: (350.0|340.8), Inverter Limit: 1300.0W, Hub Limit: 800.0W
2024-04-06 08:32:44,829:INFO: SMT triggers limit function: -209.0 -> -189.1
2024-04-06 08:32:44,830:INFO: Rate limit on trigger function, last call was only 0.0s ago!
2024-04-06 08:32:45,912:INFO: Battery is full: 100
2024-04-06 08:32:45,953:INFO: Reading last full time: 2024-04-06 08:32:45
2024-04-06 08:32:45,953:INFO: Reading battery target mode: discharging
2024-04-06 08:32:46,826:INFO: SMT triggers limit function: -210.8 -> -189.9
2024-04-06 08:32:46,827:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:32:46,830:INFO: SMT triggers limit function: -202.0 -> -185.9
2024-04-06 08:32:46,830:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:32:46,834:INFO: SMT triggers limit function: -199.5 -> -184.7
2024-04-06 08:32:46,834:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-04-06 08:32:51,266:INFO: DTU triggers limit function: 694.3 : 632.5
2024-04-06 08:32:51,266:INFO: Rate limit on trigger function, last call was only 6.4s ago!
2024-04-06 08:33:03,451:INFO: Rapid rise in demand detected, clearing buffer!
2024-04-06 08:33:03,451:INFO: HUB: S:659.8W [ 697.7,668.3,661.5,659.8,654.8,656.2,657.7 ], B:100% (100|100), V:50.4V (50.4|50.4), C: 0W, P:True, F:0.0h, E:-1.0h, H:686W, L:800W
2024-04-06 08:33:03,454:INFO: INV: AC:660.4W, AC_Prediction: 662.3W, DC:695.1W, DC_prediction: 697.1W (0.0|0.0|352.1|343.0), L:1307.2W [1600W]
2024-04-06 08:33:03,454:INFO: SMT: T:ShellyEM3 P:1918.1W [ 1000.0 ] Predict: 1000.0W
2024-04-06 08:33:03,456:INFO: Direct connected panels (0.0W) can't cover demand (1662.3W), trying to get rest from hub.
2024-04-06 08:33:03,456:INFO: Checking if Solarflow is willing to contribute 1662.3W ...
2024-04-06 08:33:03,456:INFO: Adjusting inverter limit from 659.8W to 647.2W
2024-04-06 08:33:03,456:INFO: Based on time, solarpower (659.8W) minimum charge power (0W) and bypass state (True), hub could contribute 647.0W - Decision path: 2.2.
2024-04-06 08:33:03,456:INFO: Hub should contribute more (647.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-04-06 08:33:03,456:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-04-06 08:33:03,457:INFO: Setting inverter output limit to 1292W (1 min moving average of 323W x 4)
2024-04-06 08:33:03,457:INFO: Sun: 06:30 - 19:51 Demand: 1662.3W, Panel DC: (0.0|0.0), Hub DC: (352.1|343.0), Inverter Limit: 1292.0W, Hub Limit: 800.0W
2024-04-06 08:33:05,093:INFO: Triggering telemetry update: iot/A8yh63/ETFTke36/properties/read
2024-04-06 08:33:08,215:INFO: Battery is full: 100
2024-04-06 08:33:08,215:INFO: Reading last full time: 2024-04-06 08:33:08
2024-04-06 08:33:08,256:INFO: Reading battery target mode: discharging

When I disable the app and set the inverter to 100%, it will deliver the 100%. However, the app as soon as it runs will fight this again.
Here's my config.

[control]
# min charge 0 is fine, as I want to feed the home whenever possible
min_charge_power = 0
# change also, discharge can be actually 800W
max_discharge_power = 800
max_inverter_limit = 800
# I don't want 0-feed-in
limit_inverter = true
inverter_min_limit = 5

Any Idea why this is happening?

Cheers,
MaVo

Home Assistant Addon

Hey all,

I'm planning to run the docker container as a Home Assistant Add-on directly on my Home Assistant Yellow โ€“ as I understood an add-on is anyway just a super slim layer of metadata on top of docker containers.

Before I dive into that I wanted to open the discussion already.

  1. Has anyone done this before and can share something?
  2. Are there any reasons I'm missing why this is either a bad idea or not possible
  3. Once I've got it working I'd love to contribute the setup back, ideally getting this into Home Assistant as an Add-On without the need to fork.

Let me know what you think!

"Keep-Alive" for update triggers

Hi @reinhard-brandstaedter,

I noticed, that in cases the demand prediction was wrong in one or the other way but then the demand stays stable, it happens that the output does not match whats actually reqiured.
Here is an output of the log for the time:

2024-03-31 20:59:24,683:INFO: DTU triggers limit function: 415.6 : 498.5
2024-03-31 20:59:24,683:INFO: HUB: S:0.0W [ 0.0 ], B: 66% (64|68), V:49.0V (49.0|49.0), C:-495W, P:False, F:3.6h, E:39.1h, H:472W, L:800W
2024-03-31 20:59:24,687:INFO: INV: AC:450.8W, AC_Prediction: 391.4W, DC:474.4W, DC_prediction: 415.6W (0.0|0.0|240.4|234.0), L:1043.2W [1600W]
2024-03-31 20:59:24,687:INFO: SMT: T:ShellyEM3 P:3.1W [ -77.0,-77.2,2.7 ] Predict: 2.7W
2024-03-31 20:59:24,689:INFO: Direct connected panels (0.0W) can't cover demand (394.1W), trying to get rest from hub.
2024-03-31 20:59:24,689:INFO: Checking if Solarflow is willing to contribute 394.1W ...
2024-03-31 20:59:24,689:INFO: Based on time, solarpower ( 0.0W) minimum charge power (400W) and bypass state (False), hub could contribute 394.1W - Decision path: 2.1.
2024-03-31 20:59:24,689:INFO: Hub should contribute more (394.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-03-31 20:59:24,689:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-03-31 20:59:24,689:INFO: Setting inverter output limit to 788W (1 min moving average of 197W x 4)
2024-03-31 20:59:24,690:INFO: Sun: 06:44 - 19:41 Demand: 394.1W, Panel DC: (0.0|0.0), Hub DC: (240.4|234.0), Inverter Limit: 788.0W, Hub Limit: 800.0W
2024-03-31 20:59:32,675:INFO: DTU triggers limit function: 376.7 : 415.6
2024-03-31 20:59:32,675:INFO: Rate limit on trigger function, last call was only 8.0s ago!
2024-03-31 20:59:36,563:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-31 20:59:49,671:INFO: DTU triggers limit function: 407.1 : 376.7
2024-03-31 20:59:49,671:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 66% (64|68), V:49.0V (49.1|49.0), C:-445W, P:False, F:3.6h, E:39.1h, H:423W, L:800W
2024-03-31 20:59:49,675:INFO: INV: AC:407.5W, AC_Prediction: 386.2W, DC:428.8W, DC_prediction: 407.1W (0.0|0.0|217.3|211.5), L:1043.2W [1600W]
2024-03-31 20:59:49,675:INFO: SMT: T:ShellyEM3 P:47.9W [ -77.2,2.7,42.9,48.6 ] Predict: 48.6W
2024-03-31 20:59:49,676:INFO: Direct connected panels (0.0W) can't cover demand (434.8W), trying to get rest from hub.
2024-03-31 20:59:49,676:INFO: Checking if Solarflow is willing to contribute 434.8W ...
2024-03-31 20:59:49,677:INFO: Based on time, solarpower ( 0.0W) minimum charge power (400W) and bypass state (False), hub could contribute 434.8W - Decision path: 2.1.
2024-03-31 20:59:49,677:INFO: Hub should contribute more (434.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-03-31 20:59:49,677:INFO: Not setting solarflow output limit to 800.0W as it is identical to current limit!
2024-03-31 20:59:49,677:INFO: Setting inverter output limit to 868W (1 min moving average of 217W x 4)
2024-03-31 20:59:49,677:INFO: Sun: 06:44 - 19:41 Demand: 434.8W, Panel DC: (0.0|0.0), Hub DC: (217.3|211.5), Inverter Limit: 868.0W, Hub Limit: 800.0W
2024-03-31 20:59:51,623:INFO: SMT triggers limit function: 44.879999999999995 -> 128.0
2024-03-31 20:59:51,623:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-03-31 20:59:51,627:INFO: SMT triggers limit function: 20.2 -> 103.4
2024-03-31 20:59:51,627:INFO: Rate limit on trigger function, last call was only 2.0s ago!
2024-03-31 20:59:59,672:INFO: DTU triggers limit function: 440.1 : 407.1
2024-03-31 20:59:59,672:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 66% (64|68), V:49.0V (49.1|49.0), C:-453W, P:False, F:3.6h, E:39.1h, H:433W, L:800W
2024-03-31 20:59:59,675:INFO: INV: AC:434.7W, AC_Prediction: 417.5W, DC:457.6W, DC_prediction: 440.1W (0.0|0.0|231.9|225.7), L:1043.2W [1600W]
2024-03-31 20:59:59,677:INFO: SMT: T:ShellyEM3 P:7.9W [ -77.2,2.7,42.9,48.0,20.2 ] Predict: 103.4W
2024-03-31 20:59:59,680:INFO: Direct connected panels (0.0W) can't cover demand (520.9W), trying to get rest from hub.
2024-03-31 20:59:59,680:INFO: Checking if Solarflow is willing to contribute 520.9W ...
2024-03-31 20:59:59,680:INFO: Based on time, solarpower ( 0.0W) minimum charge power (400W) and bypass state (False), hub could contribute 520.9W - Decision path: 2.1.
2024-03-31 20:59:59,680:INFO: Hub should contribute more (520.0W) than what we currently get from panels (0.0W), we will use the inverter for fast/precise limiting!
2024-03-31 20:59:59,680:INFO: Hub has just recently adjusted limit, need to wait until it is set again! Current limit: 800, new limit: 800
2024-03-31 20:59:59,680:INFO: Not setting inverter output limit as it is identical to current limit!
2024-03-31 20:59:59,681:INFO: Sun: 06:44 - 19:41 Demand: 520.9W, Panel DC: (0.0|0.0), Hub DC: (231.9|225.7), Inverter Limit: 1040.0W, Hub Limit: 800.0W
2024-03-31 21:00:36,564:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-31 21:01:36,564:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-31 21:02:36,564:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read

In this timeframe, the actual net power consumption (demand - battery discharge) of the house was ~80W lower. But as it was steady, the app did not notice the mismatch.

What I think can help is some sort of the way the app worked before. But maybe trigger only every 30s or so (as it otherwise would be a rollback to previous versions I guess^^).

Or maybe you can have some kind of a stack of a fixed size where the commands go in, so that you can process them in order (fifo) and drop older messages when the size is exceeded so that you have the most recent ones.

Best,
MaVo

Inverter limit not set on ahoy dtu?

Hey @reinhard-brandstaedter,

I am looking at the logs once again, seeing something odd.
You kinda saw it in one of my other issues already, but now it seems to be a "problem" as it appears to ignore the limit for my setup.

2024-03-18 15:11:15,994:INFO: Direct connected panels can't cover demand 193.9W/277.7W, trying to get rest from hub.
2024-03-18 15:11:15,994:INFO: Checking if Solarflow is willing to contribute 83.8W ...
2024-03-18 15:11:15,995:INFO: Based on time, solarpower (312.2W) minimum charge power (200W) and bypass state (False), hub could contribute 83.8W - Decision path: 1.1.
2024-03-18 15:11:15,995:INFO: Setting solarflow output limit to 81.0W
2024-03-18 15:11:15,995:INFO: Solarflow is willing to contribute 81.0W!
2024-03-18 15:11:15,995:INFO: Adjusting inverter limit from 155.5W to 261.1W
2024-03-18 15:11:15,995:INFO: Direct connected panel limit is 261W.
2024-03-18 15:11:15,995:INFO: Setting inverter output limit to 10W (1 min moving average of 261W x 4)
2024-03-18 15:11:15,995:INFO: Sun: 06:14 - 18:18 Demand: 277.7W, Panel DC: (38.4|155.5), Hub DC: (27.7|27.4), Inverter Limit: 10.0W, Hub Limit: 81.0W
2024-03-18 15:11:16,618:INFO: DTU triggers limit function: 214.4 : 220.4
2024-03-18 15:11:16,618:INFO: HUB: S:312.2W [ 291.0,301.0,303.0,304.0,306.0,308.0,309.0,310.0,311.0,312.0,313.0,314.0,315.0,316.0,315.0,315.0 ], B: 99% (99|99), V:50.5V (50.5|50.5), C: 288W, P:False, F:118.8h, E:8.7h, H: 11W, L: 80W
2024-03-18 15:11:16,622:INFO: INV: AC:236.6W, AC_Prediction: 203.1W, DC:249.0W, DC_prediction: 214.4W (38.4|155.5|27.7|27.4), L: 0W [ 0W]

The weird line is actually this one 2024-03-18 15:11:15,995:INFO: Setting inverter output limit to 10W (1 min moving average of 261W x 4). It, for some reason, falls back to it lower limit of 10 which I do not really understand.

I am using an AhoyDTU. I cannot find any indication in the UI of the DTU, that there is any limit set after all.
image
It actually should not have a max AC-power of 1k, if its using the limits set by law...?

Thanks again,
MaVo

Rapid change on shellyem3

New day, new issue.

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
    self.loop_forever(retry_first_connection=True)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
    rc = self._loop(timeout)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1164, in _loop
    rc = self.loop_read()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1556, in loop_read
    rc = self._packet_read()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 2439, in _packet_read
    rc = self._packet_handle()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3033, in _packet_handle
    return self._handle_publish()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3327, in _handle_publish
    self._handle_on_message(message)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
    on_message(self, self._userdata, message)
  File "/solarflow/solarflow-control.py", line 133, in on_message
    smartmeter.handleMsg(msg)
  File "/solarflow/smartmeters.py", line 64, in handleMsg
    self.updPower()
  File "/solarflow/smartmeters.py", line 47, in updPower
    if diff > self.rapid_change_diff:
AttributeError: 'ShellyEM3' object has no attribute 'rapid_change_diff'

Happened after updating to the feb 20 build of the app ๐Ÿค”
Config ini as the value for rapid change as well, fyi.

Hub2k configuration

Hello @reinhard-brandstaedter,

after sorting out the initial hickups I had I'd still like to raise the problems I found, hoping you can incorporate them into the software properly.

What I did in order to get the hub2k to work is:

There is one more thing - as I for times with a lot of sun I'd like to set the min_charge to 0, but this still does not work and it will fall back to the default. Can I somehow convince you to have the default on 0 as well, so that 0 actually works?

Cheers, MaVo

"Ghost"-Demand drop to 0, causing battery to lower discharge when demand is actually still the same

Hello @reinhard-brandstaedter,

me again with another one. Do you have an idea, why I see sudden drops in demand (actually to 0 as reported) when my home consumption is actually not really changed?

Here is an example, the chart shows the reported power on the three phases of my shellyem3 (turquoise, orange and yellow lines) and the output to home from the batteries (as its dark and the batteries have plenty of juice thx to the sun today) in blue and also the combined consumption of all three shelly phases (purple line).
image

Here is the corresponding log output from the time. Note the difference in reported output when "it happens".

2024-03-18 19:49:22,559:INFO: DTU triggers limit function: 488.0 : 493.2
2024-03-18 19:49:22,560:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.5V (48.5|48.5), C:-502W, P:False, F:123.4h, E:13.3h, H:479W, L:474W
2024-03-18 19:49:22,563:INFO: INV: AC:468.5W, AC_Prediction: 463.4W, DC:493.2W, DC_prediction: 488.0W (0.0|0.0|249.6|243.6), L:1600.0W [ 0W]
2024-03-18 19:49:22,565:INFO: SMT: T:ShellyEM3 P:13.8W [ 34.9,34.5,6.3,6.3,8.5,8.6,8.4,10.8,13.8 ] Predict: 12.2W
2024-03-18 19:49:22,569:INFO: Direct connected panels can't cover demand 0.0W/475.6W, trying to get rest from hub.
2024-03-18 19:49:22,569:INFO: Checking if Solarflow is willing to contribute 475.6W ...
2024-03-18 19:49:22,569:INFO: Based on time, solarpower ( 0.0W) minimum charge power (200W) and bypass state (False), hub could contribute 475.6W - Decision path: 2.1.
2024-03-18 19:49:22,569:INFO: Not setting solarflow output limit to 474.0W as it is identical to current limit!
2024-03-18 19:49:22,569:INFO: Solarflow is willing to contribute 474.0W!
2024-03-18 19:49:22,569:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:49:22,569:INFO: Direct connected panel limit is 5W.
2024-03-18 19:49:22,569:INFO: Setting inverter output limit to 10W (1 min moving average of 464W x 4)
2024-03-18 19:49:22,570:INFO: Sun: 06:14 - 18:18 Demand: 475.6W, Panel DC: (0.0|0.0), Hub DC: (249.6|243.6), Inverter Limit: 10.0W, Hub Limit: 474.0W

2024-03-18 19:49:37,053:INFO: SMT triggers limit function: -13.8 : 6.1
2024-03-18 19:49:37,053:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.5V (48.5|48.5), C:-501W, P:False, F:123.4h, E:13.3h, H:478W, L:474W
2024-03-18 19:49:37,056:INFO: INV: AC:468.3W, AC_Prediction: 464.4W, DC:492.9W, DC_prediction: 489.4W (0.0|0.0|249.5|243.4), L:1600.0W [ 0W]
2024-03-18 19:49:37,058:INFO: SMT: T:ShellyEM3 P:-86.1W [ 8.4,10.8,13.8,14.0,9.0,9.1,9.1,-86.1 ] Predict: -13.8W
2024-03-18 19:49:37,062:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:49:37,062:INFO: Setting solarflow output limit to 379.0W
2024-03-18 19:49:37,062:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (249.5|243.4), Inverter Limit: 10.0W, Hub Limit: 379.0W

2024-03-18 19:49:41,049:INFO: SMT triggers limit function: -23.9 : -13.8
2024-03-18 19:49:41,049:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.5V (48.5|48.5), C:-502W, P:False, F:123.4h, E:13.3h, H:479W, L:379W
2024-03-18 19:49:41,052:INFO: INV: AC:469.1W, AC_Prediction: 465.7W, DC:493.7W, DC_prediction: 490.9W (0.0|0.0|249.9|243.8), L:1600.0W [ 0W]
2024-03-18 19:49:41,054:INFO: SMT: T:ShellyEM3 P:-83.1W [ 8.4,10.8,13.8,14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1 ] Predict: -23.9W
2024-03-18 19:49:41,057:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:49:41,058:INFO: Setting solarflow output limit to 310.0W
2024-03-18 19:49:41,058:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (249.9|243.8), Inverter Limit: 10.0W, Hub Limit: 310.0W

2024-03-18 19:49:45,564:INFO: DTU triggers limit function: 494.0 : 488.0
2024-03-18 19:49:45,565:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.5V (48.5|48.5), C:-496W, P:False, F:123.4h, E:13.3h, H:473W, L:310W
2024-03-18 19:49:45,568:INFO: INV: AC:443.4W, AC_Prediction: 469.4W, DC:466.7W, DC_prediction: 494.0W (0.0|0.0|236.0|230.7), L:1600.0W [ 0W]
2024-03-18 19:49:45,570:INFO: SMT: T:ShellyEM3 P:1.9W [ 8.4,10.8,13.8,14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9 ] Predict: -19.7W
2024-03-18 19:49:45,573:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:49:45,574:INFO: Setting solarflow output limit to 258.0W
2024-03-18 19:49:45,574:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (236.0|230.7), Inverter Limit: 10.0W, Hub Limit: 258.0W

2024-03-18 19:49:50,561:INFO: DTU triggers limit function: 500.1 : 494.0
2024-03-18 19:49:50,561:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C:-476W, P:False, F:123.4h, E:13.3h, H:454W, L:258W
2024-03-18 19:49:50,565:INFO: INV: AC:402.4W, AC_Prediction: 475.1W, DC:423.4W, DC_prediction: 500.1W (0.0|0.0|214.4|209.0), L:1600.0W [ 0W]
2024-03-18 19:49:50,567:INFO: SMT: T:ShellyEM3 P:86.2W [ 8.4,10.8,13.8,14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2 ] Predict: -24.6W
2024-03-18 19:49:50,570:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:49:50,570:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:49:50,570:INFO: Setting solarflow output limit to 218.0W
2024-03-18 19:49:50,571:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (214.4|209.0), Inverter Limit: 10.0W, Hub Limit: 218.0W

2024-03-18 19:49:53,561:INFO: DTU triggers limit function: 506.0 : 500.1
2024-03-18 19:49:53,561:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C:-459W, P:False, F:123.4h, E:13.3h, H:438W, L:218W
2024-03-18 19:49:53,564:INFO: INV: AC:373.9W, AC_Prediction: 480.7W, DC:393.5W, DC_prediction: 506.0W (0.0|0.0|199.1|194.4), L:1600.0W [ 0W]
2024-03-18 19:49:53,566:INFO: SMT: T:ShellyEM3 P:132.7W [ 8.4,10.8,13.8,14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7 ] Predict: -26.6W
2024-03-18 19:49:53,569:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:49:53,570:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:49:53,570:INFO: Setting solarflow output limit to 187.0W
2024-03-18 19:49:53,570:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (199.1|194.4), Inverter Limit: 10.0W, Hub Limit: 187.0W

2024-03-18 19:49:56,559:INFO: DTU triggers limit function: 511.9 : 506.0
2024-03-18 19:49:56,560:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C:-446W, P:False, F:123.4h, E:13.3h, H:425W, L:187W
2024-03-18 19:49:56,563:INFO: INV: AC:344.5W, AC_Prediction: 486.3W, DC:362.5W, DC_prediction: 511.9W (0.0|0.0|183.6|178.9), L:1600.0W [ 0W]
2024-03-18 19:49:56,565:INFO: SMT: T:ShellyEM3 P:157.7W [ 14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7 ] Predict: -30.2W
2024-03-18 19:49:56,568:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:49:56,568:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:49:56,569:INFO: Setting solarflow output limit to 146.0W
2024-03-18 19:49:56,569:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (183.6|178.9), Inverter Limit: 10.0W, Hub Limit: 146.0W

2024-03-18 19:50:01,559:INFO: DTU triggers limit function: 519.0 : 511.9
2024-03-18 19:50:01,559:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C:-406W, P:False, F:123.4h, E:13.3h, H:387W, L:146W
2024-03-18 19:50:01,564:INFO: INV: AC:282.4W, AC_Prediction: 493.2W, DC:297.2W, DC_prediction: 519.0W (0.0|0.0|150.4|146.8), L:1600.0W [ 0W]
2024-03-18 19:50:01,567:INFO: SMT: T:ShellyEM3 P:204.0W [ 14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0 ] Predict: -23.7W
2024-03-18 19:50:01,572:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:01,572:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:01,572:INFO: Setting solarflow output limit to 126.0W
2024-03-18 19:50:01,573:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (150.4|146.8), Inverter Limit: 10.0W, Hub Limit: 126.0W

2024-03-18 19:50:04,561:INFO: DTU triggers limit function: 524.3 : 519.0
2024-03-18 19:50:04,561:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C:-376W, P:False, F:123.4h, E:13.3h, H:359W, L:126W
2024-03-18 19:50:04,564:INFO: INV: AC:267.9W, AC_Prediction: 498.1W, DC:282.0W, DC_prediction: 524.3W (0.0|0.0|142.6|139.4), L:1600.0W [ 0W]
2024-03-18 19:50:04,566:INFO: SMT: T:ShellyEM3 P:218.1W [ 14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1 ] Predict: -22.4W
2024-03-18 19:50:04,570:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:04,570:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:04,570:INFO: Setting solarflow output limit to 110.0W
2024-03-18 19:50:04,570:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (142.6|139.4), Inverter Limit: 10.0W, Hub Limit: 110.0W

2024-03-18 19:50:15,454:INFO: Triggering telemetry update: iot/73bkTV/vSU06042/properties/read
2024-03-18 19:50:17,561:INFO: DTU triggers limit function: 518.7 : 524.3
2024-03-18 19:50:17,561:INFO: HUB: S:0.0W [ 0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C:-269W, P:False, F:123.4h, E:13.3h, H:257W, L:110W
2024-03-18 19:50:17,565:INFO: INV: AC:171.1W, AC_Prediction: 496.4W, DC:180.0W, DC_prediction: 518.7W (0.0|0.0|91.0|89.0), L:1600.0W [ 0W]
2024-03-18 19:50:17,567:INFO: SMT: T:ShellyEM3 P:324.2W [ 14.0,9.0,9.1,9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2 ] Predict: -16.8W
2024-03-18 19:50:17,570:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:17,570:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:17,570:INFO: Setting solarflow output limit to 97.0W
2024-03-18 19:50:17,571:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (91.0|89.0), Inverter Limit: 10.0W, Hub Limit: 97.0W

2024-03-18 19:50:25,037:INFO: SMT triggers limit function: -5.8 : -23.9
2024-03-18 19:50:25,038:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C:-195W, P:False, F:123.5h, E:13.4h, H:186W, L: 97W
2024-03-18 19:50:25,041:INFO: INV: AC:107.9W, AC_Prediction: 496.9W, DC:113.5W, DC_prediction: 520.1W (0.0|0.0|57.3|56.2), L:1600.0W [ 0W]
2024-03-18 19:50:25,043:INFO: SMT: T:ShellyEM3 P:389.9W [ 9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9 ] Predict: -5.8W
2024-03-18 19:50:25,046:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:25,046:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:25,046:INFO: Setting solarflow output limit to 73.0W
2024-03-18 19:50:25,047:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (57.3|56.2), Inverter Limit: 10.0W, Hub Limit: 73.0W

2024-03-18 19:50:33,561:INFO: DTU triggers limit function: 510.7 : 518.7
2024-03-18 19:50:33,561:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -98W, P:False, F:123.5h, E:13.4h, H: 94W, L: 73W
2024-03-18 19:50:33,564:INFO: INV: AC:4.7W, AC_Prediction: 483.6W, DC:4.9W, DC_prediction: 510.7W (0.0|0.0|2.3|2.6), L:1600.0W [ 0W]
2024-03-18 19:50:33,566:INFO: SMT: T:ShellyEM3 P:483.4W [ 9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4 ] Predict: -6.2W
2024-03-18 19:50:33,569:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:33,570:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:33,570:INFO: Setting solarflow output limit to 65.0W
2024-03-18 19:50:33,570:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (2.3|2.6), Inverter Limit: 10.0W, Hub Limit: 65.0W

2024-03-18 19:50:34,560:INFO: DTU triggers limit function: 499.1 : 510.7
2024-03-18 19:50:34,560:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -88W, P:False, F:123.5h, E:13.4h, H: 84W, L: 73W
2024-03-18 19:50:34,564:INFO: INV: AC:4.8W, AC_Prediction: 472.5W, DC:5.0W, DC_prediction: 499.1W (0.0|0.0|2.4|2.6), L:1600.0W [ 0W]
2024-03-18 19:50:34,567:INFO: SMT: T:ShellyEM3 P:483.4W [ 9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4 ] Predict: -6.2W
2024-03-18 19:50:34,571:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:34,571:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:34,571:INFO: Setting solarflow output limit to 58.0W
2024-03-18 19:50:34,572:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (2.4|2.6), Inverter Limit: 10.0W, Hub Limit: 58.0W

2024-03-18 19:50:36,560:INFO: DTU triggers limit function: 492.2 : 499.1
2024-03-18 19:50:36,560:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -68W, P:False, F:123.5h, E:13.4h, H: 65W, L: 58W
2024-03-18 19:50:36,564:INFO: INV: AC:4.8W, AC_Prediction: 465.9W, DC:5.0W, DC_prediction: 492.2W (0.0|0.0|2.4|2.6), L:1600.0W [ 0W]
2024-03-18 19:50:36,566:INFO: SMT: T:ShellyEM3 P:483.4W [ 9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4 ] Predict: -6.2W
2024-03-18 19:50:36,569:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:36,569:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:36,570:INFO: Setting solarflow output limit to 52.0W
2024-03-18 19:50:36,570:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (2.4|2.6), Inverter Limit: 10.0W, Hub Limit: 52.0W

2024-03-18 19:50:37,559:INFO: DTU triggers limit function: 484.2 : 492.2
2024-03-18 19:50:37,559:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -60W, P:False, F:123.5h, E:13.4h, H: 58W, L: 52W
2024-03-18 19:50:37,563:INFO: INV: AC:4.8W, AC_Prediction: 458.3W, DC:5.0W, DC_prediction: 484.2W (0.0|0.0|2.4|2.6), L:1600.0W [ 0W]
2024-03-18 19:50:37,565:INFO: SMT: T:ShellyEM3 P:483.4W [ 9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4 ] Predict: -6.2W
2024-03-18 19:50:37,569:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:37,569:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:37,569:INFO: Setting solarflow output limit to 37.0W
2024-03-18 19:50:37,570:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (2.4|2.6), Inverter Limit: 10.0W, Hub Limit: 37.0W

2024-03-18 19:50:38,560:INFO: DTU triggers limit function: 475.3 : 484.2
2024-03-18 19:50:38,560:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -53W, P:False, F:123.5h, E:13.4h, H: 51W, L: 37W
2024-03-18 19:50:38,564:INFO: INV: AC:4.8W, AC_Prediction: 449.9W, DC:5.0W, DC_prediction: 475.3W (0.0|0.0|2.4|2.6), L:1600.0W [ 0W]
2024-03-18 19:50:38,566:INFO: SMT: T:ShellyEM3 P:483.4W [ 9.1,-86.1,-83.3,-83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4 ] Predict: -6.2W
2024-03-18 19:50:38,570:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:38,570:INFO: Setting inverter output limit to 10W (1 min moving average of 10W x 4)
2024-03-18 19:50:38,570:INFO: Setting solarflow output limit to 34.0W
2024-03-18 19:50:38,570:INFO: Sun: 06:14 - 18:18 Demand: 0.0W, Panel DC: (0.0|0.0), Hub DC: (2.4|2.6), Inverter Limit: 10.0W, Hub Limit: 34.0W

2024-03-18 19:50:39,036:INFO: SMT triggers limit function: 16.4 : -5.8
2024-03-18 19:50:39,037:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -53W, P:False, F:123.5h, E:13.4h, H: 51W, L: 37W
2024-03-18 19:50:39,040:INFO: INV: AC:4.8W, AC_Prediction: 440.7W, DC:5.0W, DC_prediction: 465.5W (0.0|0.0|2.4|2.6), L:1600.0W [ 0W]
2024-03-18 19:50:39,042:INFO: SMT: T:ShellyEM3 P:483.6W [ -83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4,483.6 ] Predict: 16.4W
2024-03-18 19:50:39,045:INFO: Direct connected panels can't cover demand 0.0W/457.1W, trying to get rest from hub.
2024-03-18 19:50:39,045:INFO: Checking if Solarflow is willing to contribute 457.1W ...
2024-03-18 19:50:39,046:INFO: Based on time, solarpower ( 0.0W) minimum charge power (200W) and bypass state (False), hub could contribute 457.1W - Decision path: 2.1.
2024-03-18 19:50:39,046:INFO: Setting solarflow output limit to 72.0W
2024-03-18 19:50:39,046:INFO: Solarflow is willing to contribute 72.0W!
2024-03-18 19:50:39,046:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:39,046:INFO: Direct connected panel limit is 5W.
2024-03-18 19:50:39,046:INFO: Setting inverter output limit to 10W (1 min moving average of 62W x 4)
2024-03-18 19:50:39,046:INFO: Sun: 06:14 - 18:18 Demand: 457.1W, Panel DC: (0.0|0.0), Hub DC: (2.4|2.6), Inverter Limit: 10.0W, Hub Limit: 72.0W

2024-03-18 19:50:39,559:INFO: DTU triggers limit function: 465.5 : 475.3
2024-03-18 19:50:39,560:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -47W, P:False, F:123.5h, E:13.4h, H: 45W, L: 72W
2024-03-18 19:50:39,564:INFO: INV: AC:4.8W, AC_Prediction: 440.7W, DC:5.0W, DC_prediction: 465.5W (0.0|0.0|2.4|2.6), L:1600.0W [ 0W]
2024-03-18 19:50:39,566:INFO: SMT: T:ShellyEM3 P:432.6W [ -83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4,483.6,474.1,432.6 ] Predict: 18.2W
2024-03-18 19:50:39,570:INFO: Direct connected panels can't cover demand 0.0W/458.9W, trying to get rest from hub.
2024-03-18 19:50:39,570:INFO: Checking if Solarflow is willing to contribute 458.9W ...
2024-03-18 19:50:39,570:INFO: Based on time, solarpower ( 0.0W) minimum charge power (200W) and bypass state (False), hub could contribute 458.9W - Decision path: 2.1.
2024-03-18 19:50:39,570:INFO: Setting solarflow output limit to 106.0W
2024-03-18 19:50:39,570:INFO: Solarflow is willing to contribute 106.0W!
2024-03-18 19:50:39,571:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:39,571:INFO: Direct connected panel limit is 5W.
2024-03-18 19:50:39,571:INFO: Setting inverter output limit to 10W (1 min moving average of 96W x 4)
2024-03-18 19:50:39,571:INFO: Sun: 06:14 - 18:18 Demand: 458.9W, Panel DC: (0.0|0.0), Hub DC: (2.4|2.6), Inverter Limit: 10.0W, Hub Limit: 106.0W

2024-03-18 19:50:41,561:INFO: DTU triggers limit function: 454.2 : 465.5
2024-03-18 19:50:41,561:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -39W, P:False, F:123.5h, E:13.4h, H: 38W, L:106W
2024-03-18 19:50:41,568:INFO: INV: AC:12.1W, AC_Prediction: 430.4W, DC:25.8W, DC_prediction: 454.2W (0.0|0.0|12.8|13.0), L:1600.0W [ 0W]
2024-03-18 19:50:41,571:INFO: SMT: T:ShellyEM3 P:405.0W [ -83.1,-107.1,-87.3,-87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4,483.6,474.1,432.6,432.7,419.9,405.0 ] Predict: 23.2W
2024-03-18 19:50:41,575:INFO: Direct connected panels can't cover demand 0.0W/453.6W, trying to get rest from hub.
2024-03-18 19:50:41,575:INFO: Checking if Solarflow is willing to contribute 453.6W ...
2024-03-18 19:50:41,575:INFO: Based on time, solarpower ( 0.0W) minimum charge power (200W) and bypass state (False), hub could contribute 453.6W - Decision path: 2.1.
2024-03-18 19:50:41,576:INFO: Setting solarflow output limit to 134.0W
2024-03-18 19:50:41,576:INFO: Solarflow is willing to contribute 134.0W!
2024-03-18 19:50:41,576:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:41,576:INFO: Direct connected panel limit is 5W.
2024-03-18 19:50:41,576:INFO: Setting inverter output limit to 10W (1 min moving average of 124W x 4)
2024-03-18 19:50:41,576:INFO: Sun: 06:14 - 18:18 Demand: 453.6W, Panel DC: (0.0|0.0), Hub DC: (12.8|13.0), Inverter Limit: 10.0W, Hub Limit: 134.0W

2024-03-18 19:50:42,037:INFO: SMT triggers limit function: 56.0 : 16.4
2024-03-18 19:50:42,037:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -39W, P:False, F:123.5h, E:13.4h, H: 38W, L:106W
2024-03-18 19:50:42,041:INFO: INV: AC:45.7W, AC_Prediction: 418.4W, DC:48.1W, DC_prediction: 441.5W (0.0|0.0|24.2|23.9), L:1600.0W [ 0W]
2024-03-18 19:50:42,043:INFO: SMT: T:ShellyEM3 P:404.8W [ -87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4,483.6,474.1,432.6,432.7,419.9,405.0,404.8 ] Predict: 56.0W
2024-03-18 19:50:42,047:INFO: Direct connected panels can't cover demand 0.0W/474.4W, trying to get rest from hub.
2024-03-18 19:50:42,047:INFO: Checking if Solarflow is willing to contribute 474.4W ...
2024-03-18 19:50:42,047:INFO: Based on time, solarpower ( 0.0W) minimum charge power (200W) and bypass state (False), hub could contribute 474.4W - Decision path: 2.1.
2024-03-18 19:50:42,048:INFO: Setting solarflow output limit to 162.0W
2024-03-18 19:50:42,048:INFO: Solarflow is willing to contribute 162.0W!
2024-03-18 19:50:42,048:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:42,048:INFO: Direct connected panel limit is 5W.
2024-03-18 19:50:42,048:INFO: Setting inverter output limit to 10W (1 min moving average of 152W x 4)
2024-03-18 19:50:42,048:INFO: Sun: 06:14 - 18:18 Demand: 474.4W, Panel DC: (0.0|0.0), Hub DC: (24.2|23.9), Inverter Limit: 10.0W, Hub Limit: 162.0W

2024-03-18 19:50:42,561:INFO: DTU triggers limit function: 441.5 : 454.2
2024-03-18 19:50:42,561:INFO: HUB: S:0.0W [ 0.0,0.0 ], B: 81% (80|83), V:48.6V (48.6|48.6), C: -39W, P:False, F:123.5h, E:13.4h, H: 38W, L:106W
2024-03-18 19:50:42,565:INFO: INV: AC:45.7W, AC_Prediction: 418.4W, DC:48.1W, DC_prediction: 441.5W (0.0|0.0|24.2|23.9), L:1600.0W [ 0W]
2024-03-18 19:50:42,567:INFO: SMT: T:ShellyEM3 P:424.0W [ -87.3,-36.2,1.9,1.4,92.5,102.6,102.5,90.5,97.9,97.9,69.0,86.2,86.4,113.8,132.7,132.5,136.8,148.5,148.7,149.1,157.7,157.6,145.4,154.2,154.1,142.0,171.4,171.3,190.5,204.0,204.0,195.5,218.1,218.0,218.3,227.9,228.1,227.4,247.2,247.0,250.8,283.0,283.1,267.1,274.9,275.0,287.7,308.8,309.0,304.9,324.2,324.1,322.9,345.5,345.5,352.7,368.9,368.9,360.3,389.9,389.9,386.5,432.3,432.3,432.3,432.3,432.3,423.2,460.5,460.8,458.5,453.4,452.9,478.6,483.4,483.6,474.1,432.6,432.7,419.9,405.0,404.8,418.1,424.0 ] Predict: 59.2W
2024-03-18 19:50:42,570:INFO: Direct connected panels can't cover demand 0.0W/477.6W, trying to get rest from hub.
2024-03-18 19:50:42,570:INFO: Checking if Solarflow is willing to contribute 477.6W ...
2024-03-18 19:50:42,571:INFO: Based on time, solarpower ( 0.0W) minimum charge power (200W) and bypass state (False), hub could contribute 477.6W - Decision path: 2.1.
2024-03-18 19:50:42,571:INFO: Setting solarflow output limit to 186.0W
2024-03-18 19:50:42,571:INFO: Solarflow is willing to contribute 186.0W!
2024-03-18 19:50:42,571:INFO: Adjusting inverter limit from 0.0W to 5.0W
2024-03-18 19:50:42,571:INFO: Direct connected panel limit is 5W.
2024-03-18 19:50:42,571:INFO: Setting inverter output limit to 10W (1 min moving average of 176W x 4)
2024-03-18 19:50:42,572:INFO: Sun: 06:14 - 18:18 Demand: 477.6W, Panel DC: (0.0|0.0), Hub DC: (24.2|23.9), Inverter Limit: 10.0W, Hub Limit: 186.0W

RFE: Config files to configure different values

Feature request:
Instead of variables to pass it might make sense to use a config file as we have different areas that get configured i.e. MQTT/Inverter/SolarFlow/global etc.

That might help structuring configuration parameters for new joiners and allow for more ease of integration when turing the services into daemons on unix.

Battery full - solar production dropped when no direct connected panel exists

Hi @reinhard-brandstaedter,

its me again, with another question.
Today, I faced the situation, that I have full sunshine and should get (and got right before the battery was full) around 500W from the solar panels (almost same weather as yesterday, so I can take the values from there). My battery was empty a few days ago, so charge-through was kicking in and did its job. It finished around 12:30 mid day today.
Since then, my solar production did drop severely (one panel seems to be sleeping at all and the other one only produces 50ish watts. My home consumption was around 350W but the SF-output value was only set by your app to 30W as it reported such low solar production - although as mentioned I had full sunshine...
I "fixed" it by connecting one of my 3 panels to the inverter directly again. But its actually a mystery to me what happened.

As I will use the hub2000 when it arrives and I wanted to test how the app works with only hub connected panels, I connected 2 of my current panels by using a Y-adapter into PV-input 1 of the hub and the last panel onto PV-input 2. This is ok as I have 2 Panels which in current season barely exceed 400W together which is no problem for the hub - and it was anyway only a test. I was using this setup for almost a week, so its not a setup-issue I'd say.

Is this a problem of the application that it kinda needs a direct connected panel somehow?
Do you need any more information from my end to "debug" this?

MaVo

BUG: a too low charge-through interval can prevent battery from fully discharging

When the full_charge_interval is set too low it could happen that the discharging stops before the battery is fully empty. I.e. if the discharging is happening over multiple days (not fully discharged during night, a bit charged throughout the day, discharged again) and then the full_charge_interval is reached the discharging will stop.
This is not intended as we want to have full charge/discharge cycles, a solution to this could be to introduce an indicator for the "mode" we should be in:

  • "discharging" - once the battery is full, this indicates we can still discharge even the full_charge_interval as already been exceeded
  • "charging" - once the battery is empty, this indicates we want to get to 100% again and will only discharge if the full_charge_level has not yet exceeded

BUG: when limiting SF via inverter only it can happen that the limit/output is fluctuating

This scenario happened today when there was constant load in the house during late sunset. The limiting started to fluctuate heavily between invverter and solarflow limit. Resulting in a rather harmonic swing.

image

Upon investigation I suspect that this has to do with the very low (but still positive DC values of direct panels). Once the DTU reported absolute 0 for DC panels this went back to normal by itself.

Question: Configuration settings

Hi @reinhard-brandstaedter,
as mentioned in my last ticket, I'll probably open one more. I do not yet understand the configuration fully, so I kindly ask for some clarification ๐Ÿ™‡

Setup:

  • 4 Solar Modules (400W each)
  • SF with 2 Batteries (AB2000 - not yet delivered, but should arrive soon)
  • 2 Modules will be connected to the Hub
  • 2 Modules will be connected to inverter directly

Goals:

  • Prefer home power delivery from panels with a given, fixed battery charge value
  • Zero feed in is not important to me. I am fine to export stuff atm, as throwing it away in my view is wasting potential to have green energy in the grid.

Questions:

  • Why is setting a minimum input for the batteries influencing the maximum inverter output? Or where's my issue on thinking?
  • What will this config do when set to a value (e. g. 50)?
  • How to configure the system to achieve my goals?

Current config:

  • limit_inverter = true (its set to true as a test for the time being to see how it behaves - should be set to false in order to have feed in possible, correct?)
  • max_discharge_power = 800 - as I want to drain the battery when home needs the power
  • max_inverter_limit = 800 - as I want to have maximum output to home when required (direct solar power might be that high and/or sf hub can provide the power from batteries)
  • min_charge_power = 200 - I like to have some fixed input to the batteries

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.