SerialGateway problem with install
-
Hi , I try use serial gateway on my rpi
I use this instruction, https://forum.mysensors.org/topic/6694/openhab-2-4-mysensors-serial-gateway-how-to-install
but when I start mysgw, gateway not run correctlypi@raspberrypi:~/MySensors $ sudo ./bin/mysgw Oct 21 21:18:10 INFO Starting gateway... Oct 21 21:18:10 INFO Protocol version - 2.3.2-beta Oct 21 21:18:10 DEBUG Serial port /dev/ttyUSB0 (115200 baud) created Oct 21 21:18:10 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=8,VER=2.3.2-beta Oct 21 21:18:10 DEBUG TSF:LRT:OK Oct 21 21:18:10 DEBUG TSM:INIT Oct 21 21:18:10 DEBUG TSF:WUR:MS=0 Oct 21 21:18:10 DEBUG !TSM:INIT:TSP FAIL Oct 21 21:18:10 DEBUG TSM:FAIL:CNT=1 Oct 21 21:18:10 DEBUG TSM:FAIL:DIS Oct 21 21:18:10 DEBUG TSF:TDI:TSL Oct 21 21:18:14 NOTICE Received SIGINT
In Arduino IDE Serial port, gateway work correctly in rpi using minicom too.
-
@vidin said in SerialGateway problem with install:
!TSM:INIT:TSP FAIL
This means communication with the radio has failed. Triple check your wiring and gateway configuration, then try a different radio module.
-
Radio connection is realy ok, when I switch console to minicom init is ok and i find my nodes.
-
I do not understood your setup.
I see ttyUSB0, but your gateway runs on RPi - so nothing connected in USB.
I suppose radio module connected directly to your RPi. Or if your radio is connected to Arduino, load serial gateway sketch to that Arduino, not in RPi.
-
I use this hardware, I dont connect radio directly to my RPi, but throught Arduino..
https://www.mysensors.org/build/serial_gateway
-
So I think you do not need mysgw on RPi. I do not use openHAB, but Domoticz, but it must be similar.
Load serial gateway sketch to Arduino with radio module, connect this Arduino to USB port of your RPi and select serial gateway in openHAB.
-
-
It's very old instruction, OpenHab not support MySensors, I have to compile library someone has working step for this?
-
Suggested Topics
-
Boxes and Enclosures
Enclosures / 3D Printing • 29 Mar 2014, 21:02 • PITP2 31 Aug 2014, 19:27 -
openHAB 2.2 binding
OpenHAB • 18 Jul 2017, 12:49 • TimO 23 Dec 2020, 14:32 -
voltage sensor via esp and mqtt
OpenHAB • 7 Nov 2020, 09:49 • muhammed 7 Nov 2020, 09:49 -
openHAB 4 MySensors Binding
OpenHAB • 1 Aug 2023, 22:19 • ben999 7 Feb 2024, 14:25 -
OH2.5.9 / ethernet gateway / autodiscovery?
OpenHAB • 20 Oct 2020, 15:31 • Stefferd 22 Oct 2020, 13:38 -
OH3 - MySensors Binding
OpenHAB • 17 Dec 2020, 16:35 • Peter Loeffler 3 Dec 2023, 09:37