@layereight i just copied the file again to the folder just to make sure, but the problem is still present while starting pimatic.
pi@raspberrypi:~ $ sudo service pimatic stop
pi@raspberrypi:~ $ sudo service pimatic status
● pimatic.service - LSB: pimatic service
Loaded: loaded (/etc/init.d/pimatic)
Active: inactive (dead) since So 2018-01-21 19:52:37 CET; 2min 3s ago
Process: 19142 ExecStop=/etc/init.d/pimatic stop (code=exited, status=0/SUCCESS)
Process: 2245 ExecStart=/etc/init.d/pimatic start (code=exited, status=0/SUCCESS)
Jan 21 18:48:05 raspberrypi pimatic[2245]: Started.
Jan 21 18:48:05 raspberrypi systemd[1]: Started LSB: pimatic service.
Jan 21 18:49:11 raspberrypi sudo[2477]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/bin/github-changes -o...TIC.md
Jan 21 18:49:11 raspberrypi sudo[2477]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jan 21 18:49:59 raspberrypi sudo[2477]: pam_unix(sudo:session): session closed for user root
Jan 21 19:23:26 raspberrypi systemd[1]: Started LSB: pimatic service.
Jan 21 19:52:34 raspberrypi systemd[1]: Stopping LSB: pimatic service...
Jan 21 19:52:36 raspberrypi pimatic[19142]: Sending SIGTERM to pimatic(2256), waiting for process exit...
Jan 21 19:52:37 raspberrypi pimatic[19142]: Stopped.
Jan 21 19:52:37 raspberrypi systemd[1]: Stopped LSB: pimatic service.
Hint: Some lines were ellipsized, use -l to show in full.
pi@raspberrypi:~ $ sudo pimatic.js status
Not running.
pi@raspberrypi:~ $ cd virtualhomeduino/
pi@raspberrypi:~/virtualhomeduino $ sudo cp vhduino /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin/vhduino
pi@raspberrypi:~/virtualhomeduino $ cd /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin/
pi@raspberrypi:~/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin $ sudo ./vhduino
ready
^C2018-01-21 19:59:43 sigHandler: Unhandled signal 2, terminating
pi@raspberrypi:~/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin $ cd
pi@raspberrypi:~ $ sudo service pimatic start
Logfile
pi@raspberrypi:~ $ tail -f /home/pi/pimatic-app/pimatic-daemon.log
19:24:44.723 [pimatic-homeduino] debug: data: "PING"
19:29:45.143 [pimatic-homeduino] debug: data: "PING"
19:34:45.737 [pimatic-homeduino] debug: data: "PING"
19:39:46.095 [pimatic-homeduino] debug: data: "PING"
19:44:46.296 [pimatic-homeduino] debug: data: "PING"
19:49:47.978 [pimatic-homeduino] debug: data: "PING"
19:52:36.494 [pimatic] info: Flushing database to disk, please wait...
19:52:36.635 [pimatic] info: Flushing database to disk, please wait... Done.
19:52:36.639 [pimatic] info: exiting...
20:00:16.885 2018-01-21 Sunday
20:00:28.742 [pimatic] info: Starting pimatic version 0.9.42
20:00:34.945 [pimatic, ppm] info: 2.15.12
20:00:35.066 [pimatic] info: Loading plugin: "pimatic-cron" (0.8.8)
20:00:36.033 [pimatic] info: Loading plugin: "pimatic-mobile-frontend" (0.9.12)
20:00:37.612 [pimatic] info: Loading plugin: "pimatic-gpio" (0.9.0)
20:00:37.780 [pimatic] info: Loading plugin: "pimatic-ping" (0.9.5)
20:00:37.871 [pimatic] info: Loading plugin: "pimatic-shell-execute" (0.9.11)
20:00:37.959 [pimatic] info: Loading plugin: "pimatic-mythermostat" (0.0.3)
20:00:38.068 [pimatic] info: Loading plugin: "pimatic-denon-avr" (0.9.9)
20:00:39.278 [pimatic] info: Loading plugin: "pimatic-iframe" (0.3.1)
20:00:39.353 [pimatic] info: Loading plugin: "pimatic-dht-sensors" (0.9.3)
20:00:39.410 [pimatic] info: Loading plugin: "pimatic-sunrise" (0.8.7)
20:00:39.479 [pimatic] info: Loading plugin: "pimatic-openweather" (0.9.4)
20:00:39.621 [pimatic] info: Loading plugin: "pimatic-sysinfo" (0.9.4)
20:00:39.917 [pimatic] info: Loading plugin: "pimatic-filebrowser" (0.9.0)
20:00:40.212 [pimatic] info: Loading plugin: "pimatic-filter" (0.9.3)
20:00:40.293 [pimatic] info: Loading plugin: "pimatic-samsung-tv" (0.9.0)
20:00:40.364 [pimatic] info: Loading plugin: "pimatic-links" (0.8.6)
20:00:40.414 [pimatic] info: Loading plugin: "pimatic-upnp-root" (0.9.0)
20:00:40.684 [pimatic] info: Loading plugin: "pimatic-wakeonlan" (0.9.4)
20:00:40.768 [pimatic] info: Loading plugin: "pimatic-homeduino" (0.9.11)
20:00:42.166 [pimatic] info: Loading plugin: "pimatic-telegram" (1.1.6)
20:00:43.931 [pimatic] info: Loading plugin: "pimatic-amazing-dash-button" (0.9.14)
20:00:44.051 [pimatic] info: Loading plugin: "pimatic-chronotherm" (0.9.8-10)
20:00:44.121 [pimatic-cron] info: the time is: Sun Jan 21 2018 20:00:44 GMT+0100 (CET)
20:00:44.955 [pimatic-sunrise] info: Your location is set to lat: 48.759145, long: 9.156588
20:00:47.348 [pimatic] info: New device "🌐 Media Switch"...
...
20:01:20.929 [pimatic-mobile-frontend] info: packing static assets
20:01:25.700 [pimatic-mobile-frontend] info: packing static assets finished
20:01:25.720 [pimatic-mobile-frontend] info: rendering html
20:01:30.123 [pimatic-homeduino] debug: data: "ready"
20:01:30.330 [pimatic-homeduino] info: Connected to homeduino device.
20:01:31.138 [pimatic-homeduino] debug: data: "ACK"
20:01:31.157 [pimatic-homeduino] debug: data: "2018-01-21 20:01:30 sigHandler: Unhandled signal 11, terminating"
unknown message received: 2018-01-21 20:01:30 sigHandler: Unhandled signal 11, terminating
20:01:31.168 [pimatic-homeduino] debug: data: ""
unknown message received:
20:01:32.229 [pimatic-homeduino] debug: Receiving on pin 17
[bot.info] bot started
20:01:40.948 [pimatic-mobile-frontend] info: rendering html finished
20:01:41.239 [pimatic] info: Listening for HTTPS-request on port 443...
20:01:41.253 [pimatic] info: Listening for HTTP-request on port 8080...
Hardware
So i didn’t change anything of the wiring setup which is working fine with the old homeduino binary.
Superheterodyne RXB6
While I checked my software setup I realised that there is the wiring pi installation. Might that cause some problems?
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
pi@raspberrypi:~ $ node -v
v4.6.2
pi@raspberrypi:~ $ npm -v
2.15.11
pi@raspberrypi:~ $ pigpiod -v
60
pi@raspberrypi:~ $ whereis pigpiod
pigpiod: /usr/bin/pigpiod /usr/man/man1/pigpiod.1
pi@raspberrypi:~ $ gpio -v
gpio version: 2.32
Copyright (c) 2012-2015 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty
Unable to determine hardware version. I see: Hardware : BCM2835
,
- expecting BCM2708 or BCM2709.
If this is a genuine Raspberry Pi then please report this
to projects@drogon.net. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.