Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • Building an Ethernet Gateway on an Arduino Mega

    31
    0 Votes
    31 Posts
    29k Views
    A
    @spugna85 Hello, I'm putting the code as you indicated, and connecting the nRF24L01 pins: 6 CSN 5 CE Pin 50, 51, 52 and message: 0;0;3;0;9;radio init fail I link capacitor in power, I have done everything. And now???? :anguished:
  • MySensor Gateway restarts continuously

    3
    0 Votes
    3 Posts
    2k Views
    jlehtinenJ
    Some more testing done... connected 5V power source (thanks to SonyEricsson for old mobile charger :wink: ) to 5V pin in arduino nano, but it did not make any difference. Then I realised that maybe the there is similar reset issue with Nano than already reported with Mega, so I connected a capacitor between reset pin and ground in Nano and the restarts stopped! Weird enough, then I removed the capacitor again to see if restarts reoccur, but now mysensor GW works also without capacitor. :astonished: Let's see if thing keep working now... I'm little skeptic when things just magically get fixed. :wink: Few more "facts" about my system: Synology DS212, Domoticz version 2.4623, GW fake Nano 3.0 with CH340G serial chip
  • 0 Votes
    2 Posts
    1k Views
    maxtoxM
    Hello Everybody, checked yesterday and noticed, that if i use JUST STANDARD "TCP W5100) Sketch, it happens (Connection is closing just (2 MICROseconds) after Arduino sends something and just after that it starting to establish a new connection over the next TCP port! Checked everything with WIRESHARK. WHEN I USE STANDARD ETHERNET sketch, from the Standard Arduino Library Example: https://github.com/arduino/Arduino/tree/master/libraries/Ethernet everything is just fine! Should i place it as an Issue?
  • Sensor flooding gateway

    4
    0 Votes
    4 Posts
    1k Views
    A
    @mfalkvidd said: Uncomment Serial.println(tripped); and you'll probably see what is wrong. The print statements are there to help you debug :) Hehe, yes you are right. The problem is the size of my sketch. It's really on the limit, if I just uncomment 1 print statement the sketch is too big. :sweat: So I have to comment out or remove something else in order to uncomment something. :relaxed: @BartE said: @Aloha with this statement on line 120: lastMillis = millis(); You try to put an "unsigned long" (16 bits) in to an integer (8bits) this will change also the next variable in your case "bool lastTripped" Try to change line 71: int lastMillis; into unsigned long lastMillis; Wow, I'm impressed you saw that! It's actually working now. :ok_hand: With one less thing to worry about I might get some good sleep tonight. Thanks! :smile:
  • 0 Votes
    4 Posts
    2k Views
    D
    @mfalkvidd [image: 1456343616541-well-back-to-the-old-drawing-board.png]
  • Signing - Problem with size?

    10
    0 Votes
    10 Posts
    3k Views
    mfalkviddM
    @markush said: I have removed the includes as you recommended, did not help. Can't understand! :question: The compiler only includes code that is actually used. Since you weren't using the parts you removed, the compiler probably already had excluded the code. How well the exclusion works depends on how the code was written. Seems like the MySensors code is written in a way that is nice to the compiler.
  • Parking Sensor problem

    5
    0 Votes
    5 Posts
    1k Views
    mikeg291M
    Problem solved Turned out to be a bad sensor and with mfalkvidd 's suggestion troubleshooting was a lot easier . Thanks
  • can´t upload my sketches anymore!!!

    4
    0 Votes
    4 Posts
    1k Views
    siodS
    I had to re-download and reinstall the complete 1.5 library what solved the issue. Don´t know what happened but that helped! Just the quick and dirty way...
  • Random disconnection of controller (2-15mn) on Wifi gateway (v2.0)

    8
    0 Votes
    8 Posts
    2k Views
    Nca78N
    I have no idea except adding bmp and lcd...
  • Cannot build a gateway or sensor

    2
    0 Votes
    2 Posts
    577 Views
    No one has replied
  • Gateway sends OK when I touch the Antenna

    4
    0 Votes
    4 Posts
    1k Views
    OitzuO
    @ahmedadelhosni said: Hello I am using W5100 with UNO. I am powering the W5100 from UNO ( I know this is not the perfect way but it worked for weeks ). Sometimes the gateway is initialized but it sends fail. I put my hands around the antenna and the gateway works OK. Any explanation what da hell is that :) ? Sounds like pa/lna module on max power. Have a read here: http://forum.mysensors.org/topic/1877/2-x-nrf24l01-pa-lna-with-rf24_pa_max/14
  • Problem implements MySensors lib

    2
    0 Votes
    2 Posts
    1k Views
    A
    close topic
  • insufficient accuracy for internal Vcc measurement

    1
    0 Votes
    1 Posts
    830 Views
    No one has replied
  • Help troubleshoting sketch

    19
    0 Votes
    19 Posts
    4k Views
    Cliff KarlssonC
    Hmm I tried the sketch. It works when using NRF radio, when I change to RFM69 radio it does not work. I tried connection the same RFM69 radio to a 3.3v mini pro and then it works. I am using this RFM69breakout on all my boards with only the RFM69 radio and pin headers soldered. Is there something funky about the breakoutboard? I con't understand why if that is as all other boards work using the same breakout, This is the result when trying the sketch with RFM69 Starting sensor (RRNNA-, 2.0.0-beta) Radio init successful. send: 99-99-0-0 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail: send: 99-99-0-0 s=255,c=0,t=17,pt=0,l=10,sg=0,st=fail:2.0.0-beta send: 99-99-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0 send: 99-99-0-0 s=255,c=3,t=11,pt=0,l=13,sg=0,st=fail:Binary Sensor send: 99-99-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.0 send: 99-99-0-0 s=3,c=0,t=0,pt=0,l=0,sg=0,st=fail: find parent send: 99-99-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 99-99-0-0 s=4,c=0,t=0,pt=0,l=0,sg=0,st=fail: Init complete, id=99, parent=0, distance=255 send: 99-99-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=fail:1 send: 99-99-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,st=fail:1```
  • Repeater node not picking up?

    2
    0 Votes
    2 Posts
    654 Views
    delsD
    Well, turns out it was defective hardware... I replaced both the arduino and the comm module and all works well!
  • Packet 'freezes' WiFi Gateway ESP8266

    10
    0 Votes
    10 Posts
    4k Views
    K
    Hello Novici, thanks a lot for your reply I wrote somethong about it here: http://forum.mysensors.org/topic/3141/big-wish-a-working-system-including-up-to-date-reference/19 so there must be something wrong in the code, if it´s working with the older regular Code, but not with the developer code What i wonder is , that Hek doesn´t get the same problems in his test setup
  • DS18B20 crosstalk?

    1
    0 Votes
    1 Posts
    571 Views
    No one has replied
  • 1 Votes
    13 Posts
    4k Views
    petewillP
    @soif said: My GW don't crash while the second controller get a connection, it just throw away the previous connection. Interesting. My Vera and Node-red must constantly be disconnecting each other. This could be a great clue as to what's going on with my gateway crashing. The strange thing is the myscontroller worked so well before...
  • [SOLVED] Vera Serial or Ethernet Gateway Help

    6
    0 Votes
    6 Posts
    2k Views
    Y
    After spending hours banging my head, I sourced a new Nano http://www.mcmelectronics.com/product/83-16614 It has the FTDI chip. Had it working in 30 min as a serial gateway on my Vera. The Nanos 'recommended' in the mysensors store are crap.
  • [SOLVED] SerialGateway and v2.

    4
    0 Votes
    4 Posts
    1k Views
    L
    OK - I deleted 'MySensors' folder in the library, and downloaded the ZIP once again, and copied the new 'MySensors' into it. Now it works!

14

Online

11.7k

Users

11.2k

Topics

113.1k

Posts