@gohan I missed the * in the wiring of the PA radio and wired it to the GPIO 3.3V pin; I had assumed that since the gateway was getting the one node solidly/all the time and the other nodes not at all, there must have been an issue other than power. I must say, the power issue is mentioned often enough on MySensors.org that I should have tried that solution a long time ago.
Thanks again.
GrantsPi
@GrantsPi
Best posts made by GrantsPi
-
RE: Need help with Raspberry Pi Gateway
Latest posts made by GrantsPi
-
RE: NRF24L01+ problems in 2.1.1 and 2.2.0 Beta
I am glad I'm not the only one having this issue (but hope it will be resolved soon).
I had a RPi3 with the MQTT gateway working well for the past year, until I decided to upgrade to the latest version of Raspbian (and MySensors). I've now tried with a fresh install on both the RPi3 and a RPi2; with the same NRF24 as before (working well in the previous build); I also tried with a different radio using a socket and capacitor.
Looking forward to your progress!mysgw: Starting gateway... mysgw: Protocol version - 2.1.1 mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1 mysgw: TSM:INIT mysgw: TSF:WUR:MS=0 mysgw: !TSM:INIT:TSP FAIL mysgw: TSM:FAIL:CNT=1 mysgw: TSM:FAIL:PDT mysgw: TSM:FAIL:RE-INIT mysgw: TSM:INIT mysgw: !TSM:INIT:TSP FAIL mysgw: TSM:FAIL:CNT=2 mysgw: TSM:FAIL:PDT
-
RE: Need help with Raspberry Pi Gateway
@gohan I missed the * in the wiring of the PA radio and wired it to the GPIO 3.3V pin; I had assumed that since the gateway was getting the one node solidly/all the time and the other nodes not at all, there must have been an issue other than power. I must say, the power issue is mentioned often enough on MySensors.org that I should have tried that solution a long time ago.
Thanks again. -
RE: Need help with Raspberry Pi Gateway
@gohan Thank you! The RPI is powered from the USB port on my ASUS router (I had powered it from a 2.5 amp USB source in the past with no change in result). However, I had been using the NRF24L01 with the antenna; I changed the radio to a NRF24L01+ and -- success! So it must be a power issue after all. I have used the antenna version on the sensors in the past with no problems. I haven't used capacitors yet, I'll try those soon. But for the moment, I'm back in operation.
Thank you! -
Need help with Raspberry Pi Gateway
I have 4 Nano/NRF24 sensor nodes with NODE-ID's defined in the sketches.
They work just fine with a W5100 MQTT Gateway, all nodes are recognized and messages passed to the MQTT broker. However when I instead use a Raspberry Pi, configured as a MQTT gateway, only one of the nodes seems to be recognized. What do I need to do to have all nodes recognized (two sensor nodes have the same 105 NODE_ID)?mysgw: TSF:MSG:READ,105-105-0,s=133,c=1,t=37,pt=2,l=2,sg=0:3 mysgw: Sending message on topic: my103gw-out/105/133/1/0/37 mysgw: TSF:MSG:READ,105-105-255,s=255,c=3,t=7,pt=0,l=0,sg=0: mysgw: TSF:MSG:BC mysgw: TSF:MSG:FPAR REQ,ID=105 mysgw: TSF:CKU:OK,FCTRL mysgw: TSF:MSG:GWL OK mysgw: !TSF:MSG:SEND,0-0-105-105,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 mysgw: TSF:MSG:READ,133-133-255,s=255,c=3,t=7,pt=0,l=0,sg=0: mysgw: TSF:MSG:BC mysgw: TSF:MSG:FPAR REQ,ID=133 mysgw: TSF:CKU:OK,FCTRL mysgw: TSF:MSG:GWL OK mysgw: !TSF:MSG:SEND,0-0-133-133,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 mysgw: TSF:MSG:READ,132-132-255,s=255,c=3,t=7,pt=0,l=0,sg=0: mysgw: TSF:MSG:BC mysgw: TSF:MSG:FPAR REQ,ID=132 mysgw: TSF:CKU:OK,FCTRL mysgw: TSF:MSG:GWL OK mysgw: !TSF:MSG:SEND,0-0-132-132,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 mysgw: TSF:MSG:READ,133-133-255,s=255,c=3,t=7,pt=0,l=0,sg=0: mysgw: TSF:MSG:BC mysgw: TSF:MSG:FPAR REQ,ID=133 mysgw: TSF:CKU:OK,FCTRL mysgw: TSF:MSG:GWL OK mysgw: !TSF:MSG:SEND,0-0-133-133,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 mysgw: TSF:MSG:READ,105-105-0,s=134,c=1,t=0,pt=7,l=5,sg=0:18 mysgw: Sending message on topic: my103gw-out/105/134/1/0/0
-
RE: [Tutorial] Raspberry Pi NRF24l01 direct connection
@Vladut-Grecu - Thanks very much for the tutorial!! After a bit of trial and error I was able to get the Pi reading my two nodes with very good reliability.
I'm now trying to merge this RPi Direct Connection with the openHab With Serial Gateway that TimO was kind enough to post (http://forum.mysensors.org/topic/1194/tutorial-openhab-with-serial-gateway). I had openHab working well on the RPi using an Arduino nano serial gateway using that tutorial.
Running PiGatewaySerial in a terminal window yields the proper readings from the Arduino nodes but when I try to have openHab recognize the serial port "/dev/ttyMySensorsGateway" instead of the "/dev/ttyUSB99@115200" used in the openHab tutorial I get messages from openHab saying it could not open serial port '/dev/ttyMySensorsGateway'...
Just wondering if anyone else has tried to marry the two projects or has any suggestions. (Perhaps I should also post this in TimO's openHab thread...)