I installed following the instructions. After a bit of fiddling it works OK, I can see variables in Domoticz changing and the values match my Omnik PV.
One thing remains: I get a lot of messages in /var/,mail/mail and /var/mail/pi.
Turns out it has a problem finding the "six" module.
When I run LiveStats.py from the console, it runs flawless when the command is issued without sudo: "python LiveStats.py". Values show up on the console.
When I run it as "sudo python LiveStats.py", it fails and complains about "six".
So apparently when run from the crontab, it also runs with sudo rights.
I tried removing and re-installing the six package, but no result.
Any ideas? How can I correct this?
For the moment, I log on to my Pi every few days to get rid of the mail files. I could automate this in a cronjob, but it feels wrong.
I installed following the instructions. After a bit of fiddling it works OK, I can see variables in Domoticz changing and the values match my Omnik PV. One thing remains: I get a lot of messages in /var/,mail/mail and /var/mail/pi. Turns out it has a problem finding the "six" module. When I run LiveStats.py from the console, it runs flawless when the command is issued without sudo: "python LiveStats.py". Values show up on the console. When I run it as "sudo python LiveStats.py", it fails and complains about "six". So apparently when run from the crontab, it also runs with sudo rights.
I tried removing and re-installing the six package, but no result. Any ideas? How can I correct this? For the moment, I log on to my Pi every few days to get rid of the mail files. I could automate this in a cronjob, but it feels wrong.