trixing / venus.dbus-fronius-smartmeter

A service for Venus OS, reading smart meter data from a Fronius system and making the values available on dbus.
MIT License
9 stars 3 forks source link

Freezes after ~10 min #4

Open GoClyde opened 1 year ago

GoClyde commented 1 year ago

If I run the script manually via service/run there isn't any problem (see attached picture). If it runs automatically after reboot it works for around 10 minutes and the values will not update anymore. I cannot find any logs.

"svstat /service/dbus-fronius-smartmeter" is returning plausible values (normally increasing with time even with frozen values).

Is there any way to log outputs with automatic run after reboot?

smartmeter_freeze

tnn85 commented 1 year ago

Please also give execution permission to /log/run "chmod 755 /data/venus.dbus-fronius-smartmeter/service/log/run" I had the same problem because this was not mentioned in the Readme

GoClyde commented 1 year ago

Should have write that. Permissions are set as described

29.08.2022 18:20:06 tnn85 @.***>:

Please also give execution permission to /log/run "chmod 755 /data/venus.dbus-fronius-smartmeter/service/log/run" I had the same problem because this was not mentioned in the Readme

— Reply to this email directly, view it on GitHub[https://github.com/trixing/venus.dbus-fronius-smartmeter/issues/4#issuecomment-1230538011], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AUKGPYDO6JTQIQ36CRV7LQTV3TPLLANCNFSM576CDJ7Q]. You are receiving this because you authored the thread.[Verfolgungsbild][https://github.com/notifications/beacon/AUKGPYGNXUCN2J5WSHYYYMDV3TPLLA5CNFSM576CDJ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJFMIKGY.gif]

tnn85 commented 1 year ago

Setting the permissions for /data/venus.dbus-fronius-smartmeter/service/log/run is not described. Only setting permissions for /data/venus.dbus-fronius-smartmeter/service/run is described. Make sure the path is correct as well. In the README the paths are "/data/dbus-fronius-smartmeter/...". However, the correct path is "/data/venus.dbus-fronius-smartmeter/... as the path is hardcoded in some of the scripts.

peregrines2 commented 1 year ago

Same problem here. Manueally running perfect. But not running by itself at all. Tried to adjust the RC.Local, but no success :( This is really confusing me :(