Connect openhab on a raspberry to and arduino running the serial gateway
-
Hi, I have an arduino uno running the serial gateway sketch and another one with a DHT-11 sensor running that sensor sketch from the demo. Thats working fine. On my computer in the serial monitor from the arduino IDE I see the messages at the gateway from the other node.
Now I installed openhab 1.7.1 on an raspberry pi and connected the "serial uno" via usb to that pi. Using minicom I can see the same messages there as before. I used this tutorial to create demo sensors for openhab. The only parts I changed are:- The childnode is 105 for me
- and the serial port for the arduino is /dev/ttyACM0 (thats what dmesg said)
The problem is that I don't see any updates in the openhab log. No reaction at all to the arduino. I can open the webpage with the demo sitemap but the values there are just -.
Any idea where the error is or how I can get it to work?
-
Ok I found the error. I may or may not have forgotten to add the serial addon
It is strange though that you get no kind of error message without that...
Suggested Topics
-
Boxes and Enclosures
Enclosures / 3D Printing • 29 Mar 2014, 21:02 • PITP2 31 Aug 2014, 19:27 -
OH3, RPi3, GPIO-NRF24 gateway. MySensors binding (ETH or MQTT?)
OpenHAB • 30 Sept 2021, 10:24 • perIpI 1 Oct 2021, 09:19 -
openHAB 2.5 binding and V_VARx
OpenHAB • 25 May 2020, 15:49 • syntacrsc 4 May 2022, 20:47 -
OH3 Serial Gateway Problem
OpenHAB • 15 Feb 2022, 09:48 • seppi9 22 Feb 2022, 13:44 -
MQTT losing messages...
OpenHAB • 8 Jul 2022, 11:27 • ben999 17 Jul 2022, 18:00 -
voltage sensor via esp and mqtt
OpenHAB • 7 Nov 2020, 09:49 • muhammed 7 Nov 2020, 09:49