New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not reporting to PVOutput #3
Comments
Data seems to be present in the sqlfile... sqlite> select * from pw; sqlite> select * from View_pw; |
Could it be some form of timezone problem? |
Got it working now, seemed to be time zone related and also cron doesn't seem to be working, may need to change into the local directory or something for it to run. My Pi box was in UTC where as my PVO is in NZ time |
Hi icepicknz Glad to hear you sorted it out. Cheers |
Logger is running
root@piaware-dayna:~/Powerwall2PVOutput-master# ps -auxwww | grep PW
root 14356 0.7 1.7 20332 13252 pts/0 S 19:31 0:32 python /root/Powerwall2PVOutput-master/PW_Datalogger.py
Crontab is installed
root@piaware-dayna:
/Powerwall2PVOutput-master# crontab -l | grep PW/Powerwall2PVOutput-master#*/5 * * * * python /root/Powerwall2PVOutput-master/PW_PVOExport.py
root@piaware-dayna:
root@piaware-dayna:
/Powerwall2PVOutput-master# tail pvo.log/Powerwall2PVOutput-master#2018-05-24 19:30:13,161 - Start PVOutput datalogger
2018-05-24 19:31:00,815 - Start PVOutput datalogger
2018-05-24 20:26:23,400 - Start PVOutput export
2018-05-24 20:26:24,224 - No data returned
2018-05-24 20:26:24,229 - End PVOutput export
2018-05-24 20:27:47,693 - Start PVOutput export
2018-05-24 20:27:48,235 - No data returned
2018-05-24 20:27:48,241 - End PVOutput export
root@piaware-dayna:
Yet nothing showing up
root@piaware-dayna:~/Powerwall2PVOutput-master# cat PW_Config.py
#!/usr/bin/env python
pvo_host= "pvoutput.org"
pvo_key = "XYZ"
pvo_systemid = "55404"
PowerwallIP = "192.168.33.5"
extData = True
log_file = "pvo.log"
#only needed if using datalogger
sqlite_file = "pw.sqlite"
retain_days = "30" #days to retain data in db, use 0 to not delete
Any ideas?
The text was updated successfully, but these errors were encountered: