Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • This topic is deleted!

    31
    0 Votes
    31 Posts
    4k Views
  • st:fail sometimes and sometimes OK

    24
    0 Votes
    24 Posts
    7k Views
    M
    @rvendrame said: Once I had similar problems, a 4.7nF cap and gw.wait(100) after each transmit did the trick for me... Hope it helps somehow. I also got to this solution when experienced the same 'st:fail' issue. The arduino's delay wont help, because it wont receive anything from radio during the delay. As i got mutch less or no error with ack = false, I thing its linked to receiving some ACK packets. I have no deeper information or debugging possibilities at the moment.
  • How to properly debug Serial Gateway nRF24L01+ ?

    4
    0 Votes
    4 Posts
    4k Views
    karl261K
    @hek Thanks a lot! That really helped. Finally had time to look into it. So for other people I will try to write down what I did. I tested this for one of my sensors. I am using Mysensors 1.5 master branch. MyTransportNRF24: I commented out the "private:" to make the rf24 function public. RF24_config.h: I commented out the "#define MINIMAL" to make some more functions available in RF24.cpp. then I added to my sketch: "#include <printf.h>" in the beginning, I found the file somewhere on the net. in the void setup() function I added "printf_begin();" I do not fully understand this, but it seems to define stdio. Because I read in RF24.h printf.h /** * Print a giant block of debugging information to stdout * * @warning Does nothing if stdout is not defined. See fdevopen in stdio.h */ void printDetails(void); in the void loop(); I added "radio.rf24.printDetails();" ... and after several months of research it is finally printing some debug output. For example: PA Power = PA_HIGH I wonder why this is so difficult to use and there is so little info about debugging. Hope it helps someone!
  • DallasTemperatureSensor not sending info to domoticz

    4
    0 Votes
    4 Posts
    1k Views
    dennis_henkD
    Solved, Always check the wires....
  • MY_GATEWAY_MAX_CLIENTS ?

    2
    0 Votes
    2 Posts
    1k Views
    hekH
    No. You shouldn't have to. That's the max number of clients allowed to connect simultaneously and I guess 1 is enough.
  • Mysensors node losing connection until reflashed?! (Domonticz controller)

    5
    0 Votes
    5 Posts
    2k Views
    sundberg84S
    Strange... Im running 1.6.0beta Ethernet gateway and Domoticz 2.3250 and it works great. @bp_968 A gateway serial log would be best (Domoticz doesnt say that much.) Connect it to a computer and run the serial log on arduino IDE.
  • 0 Votes
    3 Posts
    2k Views
    hekH
    I think I read somewhere that codebender will support the ESP soon. But still you're right, we'll need to update the library over at codebender once the next version is released. I would have hoped to have a more standard library structure by then also... so we can have it in the new Arduino IDE library manager as well.
  • ESP8266 wifi gatway reboots

    2
    0 Votes
    2 Posts
    995 Views
    hekH
    Might be a powering issue. Do you get the same results with the dev-branch version?
  • Trouble with ethernet gateway

    5
    0 Votes
    5 Posts
    2k Views
    dakkyD
    hmm this helped ... i think oO did a lot of stuff and suddenly iw works :confused: really strange Thanks
  • Repeater vs st=Fail

    16
    0 Votes
    16 Posts
    4k Views
    D
    @m26872 ok :-(
  • MQTTGateway does not seem to start broker

    8
    0 Votes
    8 Posts
    2k Views
    M
    You very welcome! I am happy that my work is useful for somebody else, you are the first with a feedback, so I am also happy about this. I hope my examples are simple and clear enough to build any sensor combination you need.
  • Actuators receiving extra data

    13
    0 Votes
    13 Posts
    3k Views
    hekH
    Fixed by @tekka now https://github.com/mysensors/Arduino/pull/317
  • REQUEST: Tutorial/Step-by-step to install MySys bootloader

    6
    1 Votes
    6 Posts
    3k Views
    N
    @drock1985 once you flashed node with mysbootloader you cannot use Arduino IDE to upload sketches anymore. You have to do it via Myscontroller app (OTA).
  • "Error sending switch command, check device/hardware !"

    3
    0 Votes
    3 Posts
    1k Views
    P
    Adding a capacitor to the radio is what I needed to do! Made all the difference in the world!
  • find parent [solution found]

    find parent
    6
    0 Votes
    6 Posts
    3k Views
    Thorsten MuhlakT
    @jeti said: found it, it was a not stable 3.3V for the radio... :( added a cap now everything works! topic can be closed Thanks...you pushed me in the right direction! Same issue with the same solution here!
  • 0 Votes
    9 Posts
    2k Views
    Thorsten MuhlakT
    @TD22057 Hi I use a relay breakoutboard with optocoupler. I think it is the Radio where I have to add a capacitor. Ist only sometime now an when I can see that the strange behaviour occurs, when a sensor tries to send a message to the GW and received an error. I think this will be the solution so I close here.
  • [SOLVED] 2 X nrf24l01+pa+lna with RF24_PA_MAX

    31
    0 Votes
    31 Posts
    26k Views
    D
    @Oitzu Yes of course, I'm using a Buck power down socket ( the one recommended on mysensor.org) thanks
  • Help adding Mysensors libraries.

    2
    0 Votes
    2 Posts
    744 Views
    mfalkviddM
    The instructions for installing the libraries has a screen shot of the folder structure. Did you not see that screen shot, or is some information missing in the screen shot? What is the exact error message from the IDE when it complains about missing libraries?
  • why define RF24_PA_LEVEL_GW RF24_PA_LOW ?

    2
    0 Votes
    2 Posts
    1k Views
    hekH
    Because people didn't power their amplified radios enough, rendering much support questions. If you do your homework you can increase the pa-level. For the vanilla radio the level doesn't matter from what I've seen.
  • Compile error with v1.5 library using #define SOFTSPI

    5
    0 Votes
    5 Posts
    3k Views
    S
    Yes it is right on the libraries branch. I was a bit wrong in that the Arduino IDE compiled with the following errors ... similar to the other IDE. In file included from C:\Users\Scotts\arduino\libraries\MySensors/MyTransportNRF24.h:26:0, from RGT_SerialGatewayLCDmega.ino:26: C:\Users\Scotts\arduino\libraries\MySensors/utility/RF24.h:20:23: fatal error: DigitalIO.h: No such file or directory #include <DigitalIO.h> ^ compilation terminated. Error compiling. Oddly the DigitalIO directory is contained on the libraries branch.

12

Online

11.7k

Users

11.2k

Topics

113.1k

Posts