It seems I have similar problems as others.

  • Help! I have similar issues that I see others have. But for the life of me, I cannot seem to fix the issues by reading the forum posts.

    Controller: raspberry pi 2
    Gateway: Arduino Pro Micro (connected to USB port of Pi)
    Gateway Radio: nRF24+ (connected to Micro)

    Temperature Node: Arduino Pro Micro
    Temperature Node Radio: nRF24+ (connected to Micro)

    When I turn on the Temp. Node I see the following.


    I then Set the Address. Using 1. I've also tried 10. I'm a noob so I don't quite know exactly if I am mapping Node-ID and Pidome correctly. I only have 1 Node.


    This is what I see under Drivers.

    I've read, this is a problem, because the gateway is not able to talk to the Node.

    This is what I have programmed on the Arudino - Temperature Node.

    Here is my Custom Device Setup

  • Plugin Developer

    Could you elaborate more on "I have similar issues that I see others have" ?

    All your configurations look correct. It does not seem to correctly read the the gateway version number. This could possibly cause the problem the node id is not send correctly.

    Could you remove the Arduino pro micro from the usb port, wait a couple of seconds, re-connect it, and copy/paste the "Last known messages" list after refreshing the driver page?

    P.S. The description for the address is shown when you would manually add this device skeleton as a device to the server. Changing it to something like a reminder of what to enter could be handy (unless this is just used as a kind of note field).

    In the future it is possible to share your created devices with others, if you would publish this device to this they will see what you have entered here.

  • The problem i have is while Pidome seems to know when a new Node Sensor is on the network (ie: Discovered drvices Orange notification) I cannot go any further. I try to set the Address. And it just stays unconfigured.

    Here is some additional info.
    After unplugging the Pro Micro Gateway and plugging it back in. The Peripheral reset, so this is what I used as settings. This was also the same settings I used before.

    This is what i see in the Drivers screen. Same as before. Pidome seems unable to configure/communicate any further with the added Sensor Node.

  • I also have this issue every time I reload the Dashboard. I don't believe it has any issue with Node Discovery, but I figure I add it here.


    I think I saw this fixed somewhere on the forum, so I'll look at up when I get a chance.

  • Plugin Developer


    I am not seeing a gateway ready nor a mysensors version number in the last known messages. When you attach the gateway to your pc and open the Arduino monitor (setting the baud rate to 115200) could you post what you see?

    I'm currently not able to test the 1.5 version of mysensors so i'm not sure if the gateway ready message is still being printed by the gateway.

    Yes the popup should have been fixed. The default dashboard does a request to check if there is a weather plugin active and if there is one show the weather info (Unless you have modified the dashboard then let me know which change you made). I made an error in checking a correct field (as in time of creating i had a weather plugin active and forgot to test without having one active). If it is still there let me know as i then have to check my local development branch. (Make sure to clear your browser cache).

  • I see nothing.

    I reprogrammed a new Serial Gateway using a new Arduino Pro Micro and nRF+ radio. Thought it might be hardware related.

    I plugged in the Serial.Gateway into the Pi. Pidome "sees" it under Peripherals. I set it up like above, but under Driver Settings/Gateway info it still says "Waiting for gateway" like the above pictures.

    I plug the Arduino back into the PC. I pulled up the Serial Monitor. 115200 baud. I see nothing on the monitor.

  • Plugin Developer

    Do you information from nodes appearing when you leave the gateway connected?

    Maybe @hek can enlighten this a bit if the gateway still sends out a gateway ready message. Which version of mysensors are you using and have you turned on/off debug message logging?

    Try to make sure that you get information in the serial monitor, when it does plug it info the pi.

  • Admin

    @John said:

    Maybe @hek can enlighten this a bit if the gateway still sends out a gateway ready message. Which version of mysensors are you using and have you turned on/off debug message logging?

    Yes, it does:

  • Plugin Developer

    @hek thanks!

    @den2k PiDome really needs the gateway ready message. It then knows when the arduino is ready to handle data (as different arduino's have different serial available times (for example with the pro mini it is advised to wait a second before sending anything)).

    So when you see the gateway ready message appearing in your serial monitor you are ready to go on the pi.

  • Thanks. This is helpful. Not really sure why I don't have a gateway ready message on the monitor. I'll try the double reset and see if the issue is the Micro not getting programmed correctly. The weird thing is I have one 16Mhz Pro Micro and a bunch of 3.3v Micros. The 16mhz micro say Arduino Leonardo, while the 8mhz micros say Sparkfun Pro Micro. I only use the 8mhz micros and I've been assuming the firmware on the SF ones are with the 8 sec wait time. Given with other RF24 examples and even mesh was working on the same hardware....

    I'll update if I get further.

  • Plugin Developer


    As you say that one of the micro's is being displayed as a leonardo is because the server has a vendor and product id mapping (the usb vid/pid).
    I have checked my database with vid/pid combinations and the leonardo has id 0x8036. When i check the Arduino application boards.txt file it also says that 0x8036 belongs to an Arduino leonardo. This is in this file:"Arduino Leonardo"{build.usb_flags}

    As you can see, this usb pid belongs to the leonardo. Are you sure you are not using a clone an/or have you selected the correct board in the Arduino IDE while uploading your sketch? If you bought originals, check the last one.

  • I am using cheap Pro Micros bought on Ebay. I'm really not sure what the issue is. I have other sketches that work on the Pro Micro. Even RF24 sketechs passing info between radios. I have several and have swapped out the Micro and the nRF radio. Not thinking it is hardware.


    As you can see, in the Device Manager. I have the SparkFun Pro Micro drivers installed on the PC and it detects the board as I plug it in.

    I believe it recognizes it as a Pro Micro. I also installed the Pro Micro Arduino plug in, which is shown on the Pull down Menu. Nothing shows up when I upload the standard library/SerialGateway sketch in the Serial Monitor.

    I am pulling out my hair with this. I have other threads going on other topics, but it all now boils down it seems to not being able to properly program the Serial Gateway on the Pro Micro.

    Others have done it, but I cannot get it to work?

  • Plugin Developer

    Try to put a delay of 2 seconds in the setup part of the sketch before anything is initialized. I have encountered a "spakerFun" ebay clone board someone used (which could be identified as a leonardo pro micro from the usb descriptors). It was with a complete different project but there sketch he used just printed out the first serial output too early.

  • I did a few things.

    1. Added 2 sec delay to Setup loop for the Pro Micro. Nope. Still didn't work.
    2. Went off and used an official Uno. Was able to finally see the Gateway Statup
    3. Went back to Pidome. Now cannot see new Nodes. Added. With a non working Gateway, I was at least able to see when I added a new Node, even though Pidome did not see the gateway. Now I cannot see a node....

  • Finally getting somewhere.


    At least with the new Pro Mini's I am now using with PiDome, it is detecting the Pro Mini Serial Gateway that is plugged into the USB port on the Pi.

    Now I just have to figure out what Device Discovery doesn't see the Node I powered up, but the Driver section under messages as you can see above can see the Node.

    This is all for today. Now have to figure what's next given it is not completely working yet.

  • Plugin Developer

    Have you turned on device discovery? Currently by default everything that can do device discovery should be enabled to do so.
    It is one of the security measurements taken in the server so discovery is not enabled without user knowledge.

    If it is turned on, detach and attach your pro mini (give it a second of two minimal between this) and post a part of the log where you can see the driver ask the the gateway for the version number.

  • This is what I get when I first plug in the Serial gateway (Pro Mini) into the Pi USB port.


    I then turn on Enable Device Discovery on Pidome and set this to Single Device (I've also tried 10 minutes). After that I turned on the sensor Node (Pro Mini).

    The Node IS NOT discovered. This is what it shows under Drivers. All the radios attached to the Pro Mini's are nRF24+ radios.


    Any clues?

  • Plugin Developer

    The server is able to do debug logging. Could you please turn this logging on by going to: "system" > "server" > "debug logging" and switch the toggle button.

    After this re-connect the serial device, turn no discovery and let the log list be filled as your screenshot shows. After a couple of minutes turn on debug logging and send me the following file "logs/system/appLog.txt" to (as it may contain sensitive information so you do not want to post it online) and include a link to this thread so i know it is yours.


Log in to reply

Suggested Topics