You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: