This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
enphaseapi
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
handle the case where we might not be getting data for a while
main
John-Mark Gurney
5 years ago
parent
086796cbde
commit
f3f298bbe6
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
enphase.py
+ 3
- 0
enphase.py
View File
@@ -91,6 +91,9 @@ def thread_production():
e = time.time()
if s > e:
time.sleep(s - time.time())
else:
# catch up s to e:
s += ((e - s) // 10) * 10
def thread_inventory():
global doexit
Write
Preview
Loading…
Cancel
Save