Skip to content

Troubleshooting

2.7k Topics 21.5k Posts

Help! Everything just falls apart

  • RPi ethernet gateway doesn't send messages to the acuator

    6
    0 Votes
    6 Posts
    2k Views
    S
    It's been some time but I tried to pick up this project again, now with some fresh ordered LD1117V33 regulators for my 3.3v needs. I setup a "power supply bread bord" where the LD1117V33 has a parallel 100uF capacitor on the Vin and Vout connected to the common ground. The multimeter agrees on the 3.3v Vout, so far so good. I've tried hooking up the nrf24 chip with the bread bord on the Arduino and on the PI and the results are identical... Everything works as expected until I actively try to send something from the controller throught the gateway to my actuator. In both cases the init goes well; pi@raspberrypi:/usr/src/MySensors $ sudo /usr/local/bin/mysgw -d mysgw: Starting gateway... mysgw: Protocol version - 2.1.1 mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1 mysgw: TSF:LRT:OK mysgw: TSM:INIT mysgw: TSF:WUR:MS=0 mysgw: TSM:INIT:TSP OK mysgw: TSM:INIT:GW MODE mysgw: TSM:READY:ID=0,PAR=0,DIS=0 mysgw: MCO:REG:NOT NEEDED mysgw: Listening for connections on 0.0.0.0:5003 mysgw: MCO:BGN:STP mysgw: MCO:BGN:INIT OK,TSP=1 I start the Arduino which starts sending data as seen on the raspberry pi gateway; mysgw: TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: mysgw: TSF:MSG:BC mysgw: TSF:MSG:FPAR REQ,ID=1 mysgw: TSF:PNG:SEND,TO=0 mysgw: TSF:CKU:OK mysgw: TSF:MSG:GWL OK mysgw: TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1 mysgw: TSF:MSG:PINGED,ID=1,HP=1 mysgw: TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1 mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 mysgw: !TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100 mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0 mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 mysgw: TSF:MSG:READ,1-1-0,s=0,c=0,t=7,pt=0,l=0,sg=0: mysgw: TSF:MSG:READ,1-1-0,s=1,c=0,t=6,pt=0,l=0,sg=0: mysgw: TSF:MSG:READ,1-1-0,s=2,c=0,t=3,pt=0,l=0,sg=0: mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 mysgw: TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1 mysgw: TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:24.0 mysgw: TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:54.0 In the above output I see multiple TSF:MSG:SEND commands passing by without issues and receive data from the Arduino as well. This leads me to the conclusion that there is no power issue on either side and bidirectional communication is established (just like before). As soon as I try to toggle a light switch in OpenHAB the following lines show in the gateway log: mysgw: !TSF:MSG:SEND,0-0-1-1,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0 mysgw: Client 0: mysgw: Client 0: 1;2;1;1;2;0 mysgw: !TSF:MSG:SEND,0-0-1-1,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0 mysgw: Client 0: mysgw: Client 0: 1;2;1;1;2;0 mysgw: !TSF:MSG:SEND,0-0-1-1,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0 mysgw: Client 0: mysgw: Client 0: 1;2;1;1;2;0 mysgw: !TSF:MSG:SEND,0-0-1-1,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0 mysgw: Client 0: mysgw: Client 0: 1;2;1;1;2;0 mysgw: !TSF:MSG:SEND,0-0-1-1,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0 mysgw: Client 0:
  • ESP gateway flashed but it doesn't start

    10
    0 Votes
    10 Posts
    2k Views
    M
    @sundberg84 sure, unstable or noisy or insufficient power causes all kinds of problems, not just to esp8266 but to any device, and it should be the first check to run when things don't work correctly.
  • Connect NodeMCU to its own created network

    4
    0 Votes
    4 Posts
    1k Views
    mfalkviddM
    @sabiha-patan it is always connected to its own created network. There is no way to disconnect.
  • Esp8266Gateway compiling problem

    3
    0 Votes
    3 Posts
    1k Views
    F
    ok, thanks...
  • Attempting communication between OG RPi Model B and RF24L01+

    4
    0 Votes
    4 Posts
    1k Views
    gohanG
    Nrf24 use channels (frequencies), by default mysensors uses 76 if you don't specify anything, so channel is set and you should be covered. Btw, at least a couple of Uno or nano are a must to have them available if you want to do Arduino programming
  • Newline of debug output

    2
    0 Votes
    2 Posts
    1k Views
    gohanG
    If you compile an ethernet gateway, you can use myscontroller to debug
  • What settings for ESP8266 Node?

    2
    0 Votes
    2 Posts
    1k Views
    gohanG
    It depends if you want it connected via wifi or via nrf24, if the second just leave the nrf24 define
  • NRF24L01 and SenseBender Gateway - Trying to get basic comms working

    3
    0 Votes
    3 Posts
    1k Views
    phil2020P
    Hi @Yveaux, Thanks for the pointer. I installed the http://domoticz.com/ controller and see it all working now. I saw some mention elsewhere on this site about the gateway automatically taking care of assigning nodes etc and storing them in a local table, I assumed without any input from a controller, but I suppose it makes sense to have the controller software involved during that step also. Thanks.
  • MYScontroller

    7
    0 Votes
    7 Posts
    2k Views
    zboblamontZ
    @gohan I appreciate your interest, but as I said previously I am more comfortable with migrating the OS and storage to a traditional/?device which can withstand the abuse. I may just have been unlucky in this instance with the micro-SD, but having spent a day trying to get a working system, however frugal, up and running again, I would rather have reliability. I can backup data to the router drive, I can copy a spare micro-SD for the Pi3, that seems to me a safe system...
  • No luck with ethernet Gateway

    8
    0 Votes
    8 Posts
    3k Views
    ?
    Hi frits and others, In your link i finally found out how to downgrade to 1.6.11 and behold! Now it works. Thanks to all of you for being patient with me. Regards Sigolhi
  • 0 Votes
    5 Posts
    2k Views
    mfalkviddM
    @skywatch the Arduino-based serial gateways are more proven. They have been around for a longer time so more people have tried them. But the Raspberry Pi gateway should work. May I suggest that you enable debug logging on the gateway using these instructions? You should then be able to get a clue in /var/log/syslog when/if the gateway stops working again.
  • 0 Votes
    6 Posts
    2k Views
    miljumeM
    I have submitted a bug report on this
  • Strange behaviour with mysensors + RFLink

    18
    0 Votes
    18 Posts
    5k Views
    gohanG
    You can connect nrf24 directly on the rpi, there is no need for the UNO
  • My Node doesn't talk to Gateway!

    5
    0 Votes
    5 Posts
    2k Views
    G
    A small update. well, uploaded the mockmysensor sketch and gateway and nodes are talking flawlessly! I should take note: first, power the antennas directly from source. 2. upload mockmysensors Thanks @gohan !
  • Newbee issue: howto set relay node with using MQTT?

    3
    0 Votes
    3 Posts
    1k Views
    P
    Last night I downloaded a mqtt client on my phone. And guess what: first attempt was working directly. So after I knew at least the node is working, and the topic that I figured out was correct, I returned to mqtt.fx this morning. That was a really facepalm moment. Quite embarrising I must confess...... In mqtt.fx in the publish tab, there is a really great white box right beneath the topic field. And exactly in that great white field I can enter the boolean payload I need. So my help question is answered in the mean time. For now I can continue to explore the mysensors possibilities, and try to let it work together with Openhab. After that, I will look to mycontroller.org to get it glued together by the mqtt layer. Although I’ve read somewere that a pure translation/retransmission between mycontroller to a mqtt broker not seems possible.
  • Wierd temp/Hum

    4
    1
    0 Votes
    4 Posts
    2k Views
    gohanG
    Dht sensors are usually not very quick. I tried nodemanager for one of my nodes but I got sketch size issue so I haven't put too much time into it.
  • nrf24 range issues

    23
    1 Votes
    23 Posts
    10k Views
    pihomeP
    Just to contribute some experience, i had NRF24L01+PA+LNA on my wifi gateway, all my battery powered sensors (NRF24L01+) were communicating fine but my relay node wasn't communicating at all i tried different arduino (nano, mini) different combination of NRF24L01+ and NRF24L01+PA+LNA but no joy, i just change NRF24L01+PA+LNA radio of my gateway and now my battery powered temperature sensors and relay node can talk to gateway. my conclusion if one node isn't working it may not be that node is faulty. so node and gateway should get checked.
  • WiFi Gateway (ESP8266) - reconnect to controller

    esp8266 nrf24l01+ gateway
    3
    0 Votes
    3 Posts
    1k Views
    ThomasDrT
    Hello, there is a possibility to check the connection. I will test with receive command from controller to the gateway and write a timeout to reset the ESP with ESP.reset or ESP.restart. regards ThomasD
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    33 Views
    No one has replied
  • Problems with sensor node

    12
    0 Votes
    12 Posts
    4k Views
    henninneH
    @gohan Cool thanks! Then I will try when I have the gateway available.

3

Online

12.5k

Users

11.2k

Topics

113.5k

Posts