Open mnsami opened 1 year ago
Hi @mnsami,
Just covering the basic questions here.
Hi,
I see that you've added "user=pi" to the systemd file. Does it work without specifying that user? You can also try to add "group=" with the users group.
thanks @matthijsvisser for the help, it is working now, but for some reason the readings stop after some time ? might it be possible that the meter go to sleep mode from time to time ?
If so, how can I prevent that from happening in the future ? any tips and tricks ?
below is the last log entries
2023-05-05 11:35:58 daemon.py __init__: 34 - INFO - initializing daemon]
[2023-05-05 11:36:04 daemon.py __init__: 34 - INFO - initializing daemon]
[2023-05-05 11:36:15 daemon.py __init__: 34 - INFO - initializing daemon]
[2023-05-05 11:36:24 daemon.py __init__: 34 - INFO - initializing daemon]
[2023-05-05 11:36:32 daemon.py __init__: 34 - INFO - initializing daemon]
it looks to me that the daemon was trying to restart then it stopped
I appreciate all the effort you spent for your support and awesomeness !
thanks @matthijsvisser for the help, it is working now, but for some reason the readings stop after some time ? might it be possible that the meter go to sleep mode from time to time ?
If so, how can I prevent that from happening in the future ? any tips and tricks ?
below is the last log entries
2023-05-05 11:35:58 daemon.py __init__: 34 - INFO - initializing daemon] [2023-05-05 11:36:04 daemon.py __init__: 34 - INFO - initializing daemon] [2023-05-05 11:36:15 daemon.py __init__: 34 - INFO - initializing daemon] [2023-05-05 11:36:24 daemon.py __init__: 34 - INFO - initializing daemon] [2023-05-05 11:36:32 daemon.py __init__: 34 - INFO - initializing daemon]
it looks to me that the daemon was trying to restart then it stopped
I appreciate all the effort you spent for your support and awesomeness !
Which meter do you got? The 402 can be manually activated by pressing a button on the meter and will need to be polled by the scripts at least once every 30 minutes to remain active. Other models only require a strong magnet to remain active.
An other thought: is your meterhead fixed in place on the meter? If not, you can try to do so with tape when you've found the right spot.
Hello, I followed your steps for the setup following the blog of Pieter https://www.pieterbrinkman.com/2022/02/01/make-your-city-heating-stadsverwarming-smart-and-connect-it-home-assistant-energy-dashboard/#comment-20805
But whenever I run
sudo systemctl start kamstrup_meter.service
the system freeze and the service doesn't start.I'm not sure what i'm doing wrong.
I have the project checkout in the
/opt
folder, with below permissionsand I have configure the
systemd
service to run as followsBTW, running the script via command line send the output correctly
Thank you in advance