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 correctly
pi@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.
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..
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?