02.01.2020, 08:13
Hi,
I installed smartpi 1.0.0 manually as guided in the documentation, but it does not start measuring anything.
I want to use manual install because I use the system to collect temperature values with RuuviTag as well (ruuvi.com).
Below are some details, what might I have missed during installation?
One difference I noticed compared to the complete image - node-red has not been installed (although I do not need it).
Regards, Tapio
/boot/config.txt has the following lines, the upper one uncommented by me and the lower one as the default.
dtparam=i2c_arm=on
dtparam=i2c1=on
pi@smartpi:~ $ ps -ef | grep smartpi | grep -v grep
avahi 349 1 0 Jan01 ? 00:00:35 avahi-daemon: running [smartpi.local]
root 499 1 0 Jan01 ? 00:00:00 su pi -c /usr/local/bin/smartpiserver
root 501 1 0 Jan01 ? 00:00:02 /bin/bash /usr/local/bin/smartpi_check_umts.sh
pi 601 499 0 Jan01 ? 00:00:46 /usr/local/bin/smartpiserver
pi@smartpi:~ $ sudo systemctl status smartpi
● smartpi.service - SmartPi
Loaded: loaded (/etc/systemd/system/smartpi.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-01-01 17:34:44 EET; 15h ago
Process: 480 ExecStart=/usr/local/bin/smartpi start (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 2200)
Memory: 4.9M
CGroup: /system.slice/smartpi.service
├─ 501 /bin/bash /usr/local/bin/smartpi_check_umts.sh
└─13559 sleep 300
Jan 02 09:01:42 smartpi su[13477]: (to pi) root on none
Jan 02 09:01:42 smartpi su[13477]: pam_unix(su
ession): session opened for user pi by (uid=0)
Jan 02 09:01:42 smartpi su[13484]: (to root) root on none
Jan 02 09:01:42 smartpi su[13484]: pam_unix(su
ession): session opened for user root by (uid=0)
Jan 02 09:01:43 smartpi su[13484]: pam_unix(su
ession): session closed for user root
Jan 02 09:06:43 smartpi su[13549]: (to pi) root on none
Jan 02 09:06:43 smartpi su[13549]: pam_unix(su
ession): session opened for user pi by (uid=0)
Jan 02 09:06:43 smartpi su[13556]: (to root) root on none
Jan 02 09:06:43 smartpi su[13556]: pam_unix(su
ession): session opened for user root by (uid=0)
Jan 02 09:06:43 smartpi su[13556]: pam_unix(su
ession): session closed for user root
I installed smartpi 1.0.0 manually as guided in the documentation, but it does not start measuring anything.
I want to use manual install because I use the system to collect temperature values with RuuviTag as well (ruuvi.com).
Below are some details, what might I have missed during installation?
One difference I noticed compared to the complete image - node-red has not been installed (although I do not need it).
Regards, Tapio
/boot/config.txt has the following lines, the upper one uncommented by me and the lower one as the default.
dtparam=i2c_arm=on
dtparam=i2c1=on
pi@smartpi:~ $ ps -ef | grep smartpi | grep -v grep
avahi 349 1 0 Jan01 ? 00:00:35 avahi-daemon: running [smartpi.local]
root 499 1 0 Jan01 ? 00:00:00 su pi -c /usr/local/bin/smartpiserver
root 501 1 0 Jan01 ? 00:00:02 /bin/bash /usr/local/bin/smartpi_check_umts.sh
pi 601 499 0 Jan01 ? 00:00:46 /usr/local/bin/smartpiserver
pi@smartpi:~ $ sudo systemctl status smartpi
● smartpi.service - SmartPi
Loaded: loaded (/etc/systemd/system/smartpi.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-01-01 17:34:44 EET; 15h ago
Process: 480 ExecStart=/usr/local/bin/smartpi start (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 2200)
Memory: 4.9M
CGroup: /system.slice/smartpi.service
├─ 501 /bin/bash /usr/local/bin/smartpi_check_umts.sh
└─13559 sleep 300
Jan 02 09:01:42 smartpi su[13477]: (to pi) root on none
Jan 02 09:01:42 smartpi su[13477]: pam_unix(su

Jan 02 09:01:42 smartpi su[13484]: (to root) root on none
Jan 02 09:01:42 smartpi su[13484]: pam_unix(su

Jan 02 09:01:43 smartpi su[13484]: pam_unix(su

Jan 02 09:06:43 smartpi su[13549]: (to pi) root on none
Jan 02 09:06:43 smartpi su[13549]: pam_unix(su

Jan 02 09:06:43 smartpi su[13556]: (to root) root on none
Jan 02 09:06:43 smartpi su[13556]: pam_unix(su

Jan 02 09:06:43 smartpi su[13556]: pam_unix(su
