After running Pimatic on Raspbian Jessie for over a year, i recently ran into trouble because of what i thought was a faulty SD-card. Yesterday i decided to start over from scratch so i downloaded the raspbian stretch image and did a fresh pimatic install following this manual https://forum.pimatic.org/topic/2083/v0-9-install-pimatic-v0-9-from-scratch/2 .
First problem i encountered was ‘Error reading DS18B20Sensor’ which i fixed by adding the line ‘dtoverlay=w1-gpio’ to /boot/config.txt.
After that everything worked fine. At least i thought so. After about 17 hours the system froze, just after pimatic closed my window shutter.
This is the entry in pimatic-daemon.log:
17:33:43.791 [pimatic] info: rule sunset-rolladen-down: press button roll3 of device rolladen
The log file suggests the system is rebooting after that:
17:33:43.791 [pimatic] info: rule sunset-rolladen-down: press button roll3 of device rolladen 17:17:11.224 2017-11-03 Friday 17:17:23.139 [pimatic] info: Starting pimatic version 0.9.42 17:17:29.005 [pimatic, ppm] info: 2.15.12
Look at the timestamp: time is going back??
This is from syslog around that time:
Nov 3 13:17:01 raspberrypi CRON[1264]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 3 14:17:01 raspberrypi CRON[1317]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 3 15:17:01 raspberrypi CRON[1344]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 3 16:17:01 raspberrypi CRON[1373]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 3 17:17:01 raspberrypi CRON[1402]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 3 17:17:04 raspberrypi systemd-modules-load[109]: Inserted module 'i2c_dev' Nov 3 17:17:04 raspberrypi fake-hwclock[117]: Fri Nov 3 16:17:01 UTC 2017 Nov 3 17:17:04 raspberrypi systemd[1]: Started Create Static Device Nodes in /dev. Nov 3 17:17:04 raspberrypi systemd-fsck[119]: e2fsck 1.43.4 (31-Jan-2017) Nov 3 17:17:04 raspberrypi systemd[1]: Starting udev Kernel Device Manager... Nov 3 17:17:04 raspberrypi systemd-fsck[119]: /dev/mmcblk0p2: clean, 164257/473888 files, 1230066/1928704 blocks Nov 3 17:17:04 raspberrypi systemd[1]: Started File System Check on Root Device. Nov 3 17:17:04 raspberrypi systemd[1]: Starting Remount Root and Kernel File Systems...
I’m using a Pi 2 Model B v1.1. Is this kernel related and if so where can i find a jessie image? The don’t seem to be offered on raspberrypi.org anymore. Or am i having hardware trouble? Anybody got an idea?