Could this be the solution? https://forum.pimatic.org/topic/3212/solved-homeduino-friert-das-system-ein
-
Help, homeduino not working anymore [Solved]
-
Hey @SaxnPaule ,
as also already stated earlier in this thread, downgrading the kernel can only be a temporary fix. It won’t help in the long-run. Good news is that with @DaanNL’s great work we already have a fix.
We are currently waiting for the project’s maintainers to merge back the changes into the original project. Unfortunately, there was no feedback from the maintainers yet. But once the changes get approved the whole pimatic community will benefit from the fix.
Also see:
In the meantime you could test the fixed version of the virtualhomeduino as described in https://github.com/layereight/virtualhomeduino#testing and give us feedback whether it works for you.
-
Hallo zusammen,
habe soeben mein pi3 auf den neuen Kernel (4.9.35-v7+) aktualisiert und habe den Fix von https://github.com/layereight/virtualhomeduino angewendet.
Das Schalten von Funksteckdosen funktioniert auch mit dem neuen Kernel perfekt.
Allerdings funktioniert der Receiver nicht, in den Nachrichten unter “debug” wird hier nichts angezeigt (wenn ich z.B. mit einer 433 Fernbedienung schalte). Habt ihr noch einen Idee?
Den Receiver PIN habe ich dementsprechend geändert.Danke schon mal im Voraus.
Schöne Grüße
Chris -
@christoph-ch
Das Problem hat sich nach dem zweiten Neustart automatisch gelöst. -
@christoph-ch
Das heißt, bei dir werden empfangene Signal per Debug ausgegeben? Das funktioniert bei mir nämlich auch nicht. -
@christoph-ch and @carlptr,
I also made the observation that some receivers are just bad quality. Also see https://forum.pimatic.org/topic/487/hardware-tip-433-mhz-receiver-for-pimatic. In some cases distance between receiver and remote matters a lot.
I’ve got some pieces of the XY-MK-5V receiver and it is pretty bad. I need to come real close with the remote to see some debug output. I’m talking about centimeters here.
-
Hey there, i have the same problem and dont know how to solve it. My RPI2 freezes and the homeduino plugin doesnt work. I made a new install with Stretch and since this din’t work for me i tried an older Jessie Version but its the same problem. Here is my last log on Stretch after update, upgrade and installed the fix as described. I don’t want to make a new install of pimatic again since this is the 4th time.
pi@raspberrypi:~ $ pigpiod -v 64 pi@raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.3 (stretch) Release: 9.3 Codename: stretch pi@raspberrypi:~ $ node -v v4.8.3 pi@raspberrypi:~ $ npm -v 2.15.11 pi@raspberrypi:~ $ tail -f /home/pi/pimatic-app/pimatic-daemon.log 08:27:51.428 [pimatic-mobile-frontend] info: packing static assets 08:27:53.798 [pimatic-mobile-frontend] info: packing static assets finished 08:27:53.815 [pimatic-mobile-frontend] info: rendering html 08:27:58.801 [pimatic-maxcul] debug: incoming raw data from CUL: V 1.66 CUL868 08:27:58.808 [pimatic-maxcul] info: CUL FW Version: V 1.66 CUL868 08:28:10.255 [pimatic-mobile-frontend] info: rendering html finished 08:28:10.447 [pimatic] info: Listening for HTTP-request on port 5001... 08:28:10.468 [pimatic-maxcul] debug: enable MAX! Mode of the CUL868 08:30:02.940 [pimatic-homeduino] debug: Sending Protocol: switch4 unit:18 id:8 state:true all:false Pin:18 Repeats:20 08:30:03.853 [pimatic-homeduino] debug: data: "ACK" 08:30:49.905 [pimatic] info: Restarting... 08:30:49.923 [pimatic] info: Flushing database to disk, please wait... 08:30:50.083 [pimatic] info: Flushing database to disk, please wait... Done. 08:30:51.737 [pimatic] info: exiting... 08:30:54.171 2018-02-20 Tuesday 08:31:03.464 [pimatic] info: Starting pimatic version 0.9.42 08:31:07.755 [pimatic, ppm] info: 2.15.12 08:31:07.838 [pimatic] info: Loading plugin: "pimatic-cron" (0.8.8) 08:31:08.617 [pimatic] info: Loading plugin: "pimatic-mobile-frontend" (0.9.12) 08:31:09.879 [pimatic] info: Loading plugin: "pimatic-bh1750" (0.2.0) 08:31:09.966 [pimatic] info: Loading plugin: "pimatic-gpio" (0.9.0) 08:31:10.118 [pimatic] info: Loading plugin: "pimatic-homeduino" (0.9.11) 08:31:11.164 [pimatic] info: Loading plugin: "pimatic-maxcul" (1.0.3) 08:31:11.534 [pimatic] info: Loading plugin: "pimatic-netcheck" (1.1.0) 08:31:11.808 [pimatic] info: Loading plugin: "pimatic-openweather" (0.9.4) 08:31:11.916 [pimatic] info: Loading plugin: "pimatic-pushover" (0.9.4) 08:31:11.989 [pimatic] info: Loading plugin: "pimatic-shell-execute" (0.9.11) 08:31:12.055 [pimatic] info: Loading plugin: "pimatic-sunrise" (0.8.7) 08:31:12.119 [pimatic] info: Loading plugin: "pimatic-sysinfo" (0.9.4) 08:31:12.425 [pimatic] info: Loading plugin: "pimatic-wakeonlan" (0.9.4) 08:31:12.487 [pimatic-cron] info: the time is: Tue Feb 20 2018 08:31:12 GMT+0100 (CET) 08:31:13.182 [pimatic-maxcul] info: using serial device /dev/ttyACM0@38400 08:31:13.548 [pimatic-sunrise] info: Your location is set to lat: 51.339695, long: 12.373075 08:31:13.800 [pimatic-maxcul] info: serialPort /dev/ttyACM0 is open! 08:31:13.993 [pimatic] info: New device "Lampe Wohnzimmer Sofa"... 08:31:14.060 [pimatic] info: New device "TV"... 08:31:14.109 [pimatic] info: New device "Staubsauger"... 08:31:14.147 [pimatic] info: New device "Deckenlampe Wohnzimmer"... 08:31:14.182 [pimatic] info: New device "Deckenlampe Flur"... 08:31:14.223 [pimatic] info: New device "Deckenlampe Bad"... 08:31:14.265 [pimatic] info: New device "Deckenlampe Schlafzimmer"... 08:31:14.298 [pimatic] info: New device "Deckenlampe Alles"... 08:31:14.385 [pimatic] info: New device "System"... 08:31:14.550 [pimatic] info: New device "Aktuelles Wetter"... 08:31:14.655 [pimatic] info: New device "Heutige Vorhersage"... 08:31:14.715 [pimatic] info: New device "Alles"... 08:31:14.759 [pimatic] info: New device "PC"... 08:31:14.783 [pimatic] info: New device "Raspberry Pi"... 08:31:14.852 [pimatic] info: New device "PCWOL"... 08:31:14.918 [pimatic] info: New device "Sunrise & Sunset"... 08:31:15.510 [pimatic] info: New device "Lichtsensor"... 08:31:15.531 [pimatic] warn: No plugin found for device "dash-button-alles-aus" of class "AmazingDashButton"! 08:31:15.566 [pimatic] info: New device "Auto Sunset"... 08:31:15.614 [pimatic] info: New device "Pimatic"... 08:31:15.672 [pimatic] info: New device "Heizung Wohnzimmer Links"... 08:31:15.722 [pimatic] info: New device "Heizung Wohnzimmer Rechts"... 08:31:15.782 [pimatic] info: New device "Heizung Bad"... 08:31:15.860 [pimatic] info: New device "Heizung Schlafzimmer"... 08:31:15.901 [pimatic] warn: No plugin found for device "dash-button-alles-aus-2" of class "AmazingDashButton"! 08:31:15.956 [pimatic] info: New device "Sleeptimer"... 08:31:15.999 [pimatic] info: New device "Smartphone"... 08:31:16.042 [pimatic] info: New device "PC"... 08:31:16.069 [pimatic] info: New device "Chromecast"... 08:31:16.096 [pimatic] info: New device "Fritzbox"... 08:31:16.123 [pimatic] info: New device "FireTV Stick"... 08:31:19.474 [pimatic] error: Could not force add rule, because error has no rule attribute. 08:31:19.608 [pimatic] error: Could not parse rule "pc-off is pressed then execute "curl –silent –output http://svri4hjkv5brxycj.myfritz.net:7760/suspend"": The rule must start with "when" and contain a "then" part! 08:31:19.612 [pimatic] error: Could not parse rule "when dash-button-alles-aus is closed or when dash-button-alles-aus-2 is closed then press all-off": Could not find an provider that decides next predicate of "dash-button-alles-aus is closed or when dash-button-alles-aus-2 is closed". 08:31:19.721 [pimatic-maxcul] debug: templates loaded 08:31:19.859 [pimatic-maxcul] debug: check CUL Firmware version 08:31:19.883 [pimatic-maxcul] debug: Requested CUL Version... 08:31:19.883 [pimatic-maxcul] debug:> 08:31:19.899 [pimatic-homeduino] debug: data: "hardware not supported" unknown message received: hardware not supported 08:31:19.904 [pimatic-homeduino] debug: data: "garbage collected wiringX library" unknown message received: garbage collected wiringX library 08:31:19.907 [pimatic-homeduino] debug: data: "ready" 08:31:19.940 [pimatic-homeduino] info: Connected to homeduino device. 08:31:19.980 [pimatic-homeduino] debug: data: "ACK" 08:31:20.377 [pimatic-homeduino] debug: Receiving on pin 17 08:31:20.683 [pimatic-mobile-frontend] info: packing static assets 08:31:22.890 [pimatic-mobile-frontend] info: packing static assets finished 08:31:22.905 [pimatic-mobile-frontend] info: rendering html 08:31:26.977 [pimatic-maxcul] debug: incoming raw data from CUL: V 1.66 CUL868 08:31:26.984 [pimatic-maxcul] info: CUL FW Version: V 1.66 CUL868
-
Sorry @S7EN,
but your logs tell me that you do not have the fix in place:
08:31:19.899 [pimatic-homeduino] debug: data: "hardware not supported" unknown message received: hardware not supported 08:31:19.904 [pimatic-homeduino] debug: data: "garbage collected wiringX library" unknown message received: garbage collected wiringX library
It clearly shows that you are still using the old
vhduino
binary. Maybe you missed something during your setup.Do it like so: https://github.com/layereight/virtualhomeduino#testing
-
Hey, i made the steps again and everything works fine yet. Thank you
-
Hey @S7EN,
happy to hear that.
-
Is there something special todo for the rasberry pi3?
pimatic:
{ "plugin": "gpio", "debug": true, "active": true }, { "plugin": "homeduino", "driver": "gpio", "driverOptions": {}, "receiverPin": 1, "transmitterPin": 0, "debug": true, "active": true }
pilight (working)
"settings": { "log-level": 0, "pid-file": "/var/run/pilight.pid", "log-file": "/var/log/pilight.log", "webserver-enable": 1, "webserver-root": "/usr/local/share/pilight/webgui", "webserver-http-port": 5001, "webserver-cache": 1, "**gpio-platform**": "raspberrypi3" }, "hardware": { "433gpio": { "sender": 0, "receiver": 1 } }
I cant send or receive any 433mhz signal
-
Hey @Andy-Voigt,
there’s nothing special about the pi3. But when you applied the patch from https://github.com/layereight/virtualhomeduino maybe you overlooked that the configuration of the pin numbering changed.
The configuration uses GPIO pin numbers instead of wiringPI pin numbers now.
See:
In your case it would be:
- 0 = 17
- 1 = 18
-
Guys,
since I changed my config for DHT22 to vhduino, I am receiving the error(s):
error [pimatic-homeduino,HomeduinoDHTSensor]: Error getting attribute value innenklima.humidity: unknown_command
error [pimatic-homeduino,HomeduinoDHTSensor]: Error getting attribute value innenklima.temperature: unknown_commandI changed the PIN numbers from wiringPI to GPIO.
Any ideas what I did wrong?
-
Hi,
About I week ago I messed up my previous Raspberry installation. It had Pimatic running with Homeduino and with a RF433 transmitter and receiver connected to the GPIO pins. This was all working until I did something wrong when installing a new plugin (Tradfri lights).
So this week I started from scratch with a newly formatted SD-card and a fresh install of Raspbian. Because I also need to run a separate Node app that needs a newer version of Node, I chose to do things properly this time and installed nvm. And then I also installed the latest version of Pimatic with nvm running Node v4.6.2.
Then after installing the Homeduino plugin again I ran into my first problem. I also got the “hardware not supported” and “garbage collected wiringX library” errors. After some searching I found this topic and followed the instructions carefully.
After this I ran into the second problem. Apparently, Pigpio needs to run as root, but you can’t use sudo when using nvm. So I did some more searching and found a solution here: https://stackoverflow.com/questions/21215059/cant-use-nvm-from-root-or-sudo
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/node" "/usr/local/bin/node" sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/npm" "/usr/local/bin/npm"
That solved the second issue. Now I can run Pimatic without any errors. Great! So all is fine, except for one thing… The rf433-part is not working. It’s as if the transmitter and receiver are not connected at all! The wiring is unchanged and worked before and Pimatic runs with no errors, but nothing happens when I send a message.
Does someone have a clue what is wrong? Maybe @layereight or @DaanNL ?
Logs from Pimatic:
pi@pi:~/pimatic-app $ sudo node node_modules/pimatic/pimatic.js 13:19:43.894 2018-09-01 Saturday 13:19:49.278 [pimatic] Starting pimatic version 0.9.43 13:19:49.290 [pimatic] Node.js version 4.6.2 13:19:49.291 [pimatic] OpenSSL version 1.0.2j 13:19:49.828 [pimatic] settings.debug is true, showing debug output for pimatic core. 13:19:51.756 [pimatic, ppm] 2.15.12 13:19:51.809 [pimatic] Loading plugin: "pimatic-cron" (0.8.8) 13:19:52.283 [pimatic] Loading plugin: "pimatic-mobile-frontend" (0.9.12) 13:19:53.020 [pimatic] Loading plugin: "pimatic-homeduino" (0.9.11) 13:19:53.024 [pimatic] debug is true in plugin config, showing debug output for pimatic-homeduino. 13:19:53.670 [pimatic] Loading plugin: "pimatic-sunrise" (0.9.2) 13:19:53.831 [pimatic] Loading plugin: "pimatic-smartmeter2" (0.0.18) 13:19:53.869 [pimatic] Loading plugin: "pimatic-tradfri" (0.1.17) 13:19:53.874 [pimatic] debug is true in plugin config, showing debug output for pimatic-tradfri. 13:19:54.065 [pimatic-cron] the time is: Sat Sep 01 2018 13:19:54 GMT+0200 (CEST) 13:19:54.452 [pimatic-sunrise] Your location is set to lat: 52.367027, long: 6.668492 13:19:54.501 [pimatic-tradfri] Plugin initialization... serialport options { portName: '/dev/serial/by-id/usb-FTDI_P1_Converter_Cable_P12H655V-if00-port0', baudRate: 115200, dataBits: 7, parity: 'even', stopBits: 1, flowControl: true } 13:19:55.104 [pimatic] New device "Smartmeter"... 13:19:55.109 [pimatic] The device type Smartmeterdevice2 does not implement a destroy function 13:19:55.188 [pimatic] New device "Totaal Electriciteit"... 13:19:55.225 [pimatic] New device "Totaal Gas"... 13:19:55.252 [pimatic] New device "Actueel Electriciteit"... 13:19:55.323 [pimatic] New device "Electriciteit Dag Verbruik"... 13:19:55.352 [pimatic] New device "Electriciteit Uur Verbruik"... 13:19:55.382 [pimatic] New device "Gas Dag Verbruik"... 13:19:55.413 [pimatic] New device "Gas Uur Verbruik"... 13:19:55.447 [pimatic] New device "Electriciteit Dag Kosten"... 13:19:55.480 [pimatic] New device "Electriciteit Uur Kosten"... 13:19:55.501 [pimatic] New device "Gas Dag Kosten"... 13:19:55.532 [pimatic] New device "Gas Uur Kosten"... 13:19:55.570 [pimatic] New device "TV Meubel"... 13:19:55.604 [pimatic] New device "Vloerlamp"... 13:19:55.628 [pimatic] New device "LED lamp"... 13:19:55.659 [pimatic] New device "Alles aan/uit"... 13:19:55.700 [pimatic] New device "Weerstation1"... 13:19:55.743 [pimatic] New device "Weerstation2"... 13:19:55.769 [pimatic] New device "Bolletjes"... 13:19:55.798 [pimatic] New device "Boiler"... 13:19:55.837 [pimatic] New device "Contactsensor woonkamer"... 13:19:55.870 [pimatic] New device "Contactsensor achterdeur"... 13:19:55.900 [pimatic] New device "Contactsensor voordeur"... 13:19:55.930 [pimatic] New device "Kleurtjeslamp"... 13:19:55.965 [pimatic] New device "Weerstation3"... 13:19:55.999 [pimatic] New device "TradfriHub"... 13:19:56.020 [pimatic] New device "TRADFRI wireless dimmer"... 13:19:56.050 [pimatic] New device "Barretje keuken 1"... 13:19:56.079 [pimatic] New device "Barretje keuken 2"... 13:19:56.101 [pimatic] New device "TRADFRI remote control"... 13:19:56.132 [pimatic] New device "Tafel 1"... 13:19:56.155 [pimatic] New device "Tafel 2"... 13:19:56.180 [pimatic] New device "Keuken"... 13:19:56.202 [pimatic] New device "Tafel"... 13:19:56.228 [pimatic] New device "Scenes Keuken"... 13:19:56.277 [pimatic] New device "Scenes Tafel"... 13:19:59.046 [pimatic-tradfri] tradfri cfg: Gateway IP: 192.168.2.10 - Serial port is open 13:19:59.880 [pimatic-mobile-frontend] packing static assets 13:20:01.747 [pimatic-mobile-frontend] packing static assets finished 13:20:01.756 [pimatic-mobile-frontend] rendering html 13:20:11.710 [pimatic-mobile-frontend] rendering html finished 13:20:11.836 [pimatic] Listening for HTTP-request on port 8080... 13:20:11.843 [pimatic-tradfri] ...connection error! CLEANUP 13:20:11.854 [pimatic-tradfri] Try to connect to Tradfri 13:20:11.889 [pimatic-homeduino] data: "ready" 13:20:12.242 [pimatic-homeduino] Connected to homeduino device. 13:20:12.288 [pimatic-homeduino] data: "ACK" 13:20:12.508 [pimatic-homeduino] Receiving on pin 17 13:20:12.869 [pimatic-tradfri] Gateway online - Firmware: 1.4.15 13:20:12.872 [pimatic-tradfri] Tradfri plugin ready 13:20:12.877 [pimatic-tradfri] TRY Obeserving now the device Barretje keuken 1 13:20:12.880 [pimatic-tradfri] TRY Obeserving now the device Barretje keuken 2 13:20:12.883 [pimatic-tradfri] TRY Obeserving now the device Tafel 1 13:20:12.884 [pimatic-tradfri] TRY Obeserving now the device Tafel 2 13:20:12.921 [pimatic-tradfri] Obeserving now the device Barretje keuken 1 13:20:12.929 [pimatic-tradfri] Obeserving now the device Barretje keuken 2 13:20:12.944 [pimatic-tradfri] Obeserving now the device Tafel 1 13:20:12.953 [pimatic-tradfri] Obeserving now the device Tafel 2 13:20:12.969 [pimatic-tradfri] Obeserving now the group Keuken 13:20:12.986 [pimatic-tradfri] Obeserving now the group Tafel 13:20:43.590 [pimatic-homeduino] Sending Protocol: switch2 houseCode:24 unitCode:2 all:false state:false Pin:18 Repeats:7 13:20:43.888 [pimatic-homeduino] data: "ACK" 13:21:04.965 [pimatic-homeduino] Sending Protocol: switch1 id:22641066 unit:1 all:false state:false Pin:18 Repeats:7 13:21:05.535 [pimatic-homeduino] data: "ACK" 13:26:11.903 [pimatic-homeduino] data: "PING" 13:31:11.917 [pimatic-homeduino] data: "PING" 13:36:11.929 [pimatic-homeduino] data: "PING" 13:41:11.941 [pimatic-homeduino] data: "PING" 13:46:11.950 [pimatic-homeduino] data: "PING" 13:51:11.960 [pimatic-homeduino] data: "PING" 13:56:11.973 [pimatic-homeduino] data: "PING" 14:00:00.104 [pimatic] Suppressing rule smartmeter2_hour_usage_costs execute because it was executed recently. 14:00:00.113 [pimatic] Suppressing rule smartmeter2_hour_usage_costs execute because it was executed recently.
And logs from my RPi:
pi@pi:~ $ gpio gpio: At your service! Type: gpio -h for full details and gpio readall for a quick printout of your connector details pi@pi:~ $ gpio -v gpio version: 2.46 Copyright (c) 2012-2018 Gordon Henderson This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty Raspberry Pi Details: Type: Pi 3, Revision: 02, Memory: 1024MB, Maker: Sony * Device tree is enabled. *--> Raspberry Pi 3 Model B Rev 1.2 * This Raspberry Pi supports user-level GPIO access. pi@pi:~ $ gpio readall +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 2 | 8 | SDA.1 | IN | 1 | 3 || 4 | | | 5v | | | | 3 | 9 | SCL.1 | IN | 1 | 5 || 6 | | | 0v | | | | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT5 | TxD | 15 | 14 | | | | 0v | | | 9 || 10 | 1 | ALT5 | RxD | 16 | 15 | | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | OUT | GPIO. 1 | 1 | 18 | | 27 | 2 | GPIO. 2 | OUT | 0 | 13 || 14 | | | 0v | | | | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 | | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 | | 10 | 12 | MOSI | IN | 0 | 19 || 20 | | | 0v | | | | 9 | 13 | MISO | IN | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 | | 11 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | IN | CE0 | 10 | 8 | | | | 0v | | | 25 || 26 | 1 | IN | CE1 | 11 | 7 | | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 | | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | | | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 | | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | | | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 | | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 | | | | 0v | | | 39 || 40 | 0 | OUT | GPIO.29 | 29 | 21 | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+ pi@pi:~ $ pinout ,--------------------------------. | oooooooooooooooooooo J8 +==== | 1ooooooooooooooooooo | USB | +==== | Pi Model 3B V1.2 | | +----+ +==== | |D| |SoC | | USB | |S| | | +==== | |I| +----+ | | |C| +====== | |S| | Net | pwr |HDMI| |I||A| +====== `-| |--------| |----|V|-------' Revision : a02082 SoC : BCM2837 RAM : 1024Mb Storage : MicroSD USB ports : 4 (excluding power) Ethernet ports : 1 Wi-fi : True Bluetooth : True Camera ports (CSI) : 1 Display ports (DSI): 1 J8: 3V3 (1) (2) 5V GPIO2 (3) (4) 5V GPIO3 (5) (6) GND GPIO4 (7) (8) GPIO14 GND (9) (10) GPIO15 GPIO17 (11) (12) GPIO18 GPIO27 (13) (14) GND GPIO22 (15) (16) GPIO23 3V3 (17) (18) GPIO24 GPIO10 (19) (20) GND GPIO9 (21) (22) GPIO25 GPIO11 (23) (24) GPIO8 GND (25) (26) GPIO7 GPIO0 (27) (28) GPIO1 GPIO5 (29) (30) GND GPIO6 (31) (32) GPIO12 GPIO13 (33) (34) GND GPIO19 (35) (36) GPIO16 GPIO26 (37) (38) GPIO20 GND (39) (40) GPIO21 For further information, please refer to https://pinout.xyz/ pi@pi:~ $ uname -r 4.14.62-v7+ pi@pi:~ $ pigpiod -v 64 pi@pi:~ $ cd virtualhomeduino pi@pi:~/virtualhomeduino $ sudo ./vhduino ready ^C2018-09-01 14:07:44 sigHandler: Unhandled signal 2, terminating pi@pi:~/virtualhomeduino $ cd pi@pi:~ $ cd pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin pi@pi:~/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin $ sudo ./vhduino ready ^C2018-09-01 14:08:44 sigHandler: Unhandled signal 2, terminating pi@pi:~/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin $ cd pi@pi:~ $ node -v v4.6.2 pi@pi:~ $ npm -v 2.15.11 pi@pi:~ $
Thanks a lot in advance!
-
Hey @WouterNieuwerth,
your Homeduino problem is exactly what this thread is all about. When you startet from scratch with a recent raspbian you will have a newer kernel. The Homeduino plugin is not compatible with newer kernels. That’s why @DaanNL created a fix.
Just follow the steps in https://github.com/layereight/virtualhomeduino#testing. Keep your hardware wired as-is. But you have to change the config of the Homeduino plugin. The configuration uses GPIO pin numbers instead of wiringPI pin numbers now.
See:
-
This post is deleted!
-
Hi @layereight,
Thanks for the reply. Unfortunately, that’s exactly what I did, but the fix doesn’t work in my case. It fixed the error message, but not the problem so to say.
The hardware is wired as-is and the pin numbers changed to the new configuration. As you can see in the logs the Homeduino plugin says it’s ready to send and receive, but when I send something nothing happens (other then the extra line in the log) and when I use the regular remote Homeduino receives nothing. This was all working before.
Last night I tried again and did another complete reinstall including the fix described in this topic (just in case I made an error somewhere), but it’s still not working.
I noticed that the kernel on my device is version 4.14.62-v7+. Could it be that the fix is not compatible with this version?
Thanks!
Wouter. -
@wouternieuwerth what do you mean by “wired as is”? This sounds like a wiring issue. The fix relies on pigpio, this should be compatible with your kernel. Do you have a spare nodemcu? You could maybe try “ESPimaticRF”.
-
Hi @gleno0h,
Thank you for your reply! I’m sorry if my English caused some confusion, but what I meant is that the wiring is unchanged to how it was before (when it was working). So I’m pretty confident about the wiring.
I’ll have a look at ESPimaticRF. Thanks for the suggestion!
-
@wouternieuwerth and which pins are you using (please count them from your board) and post your homeduino config please.