So close =)



  • First off, I just want to say: This is the most exciting project I have come across. I have a vera for home automation and just started playing with arduino. The possibilities are endless! Thanks so much to Hek!!

    So here is where I am:

    I am trying to setup a gateway and one temp sensor. Can someone point me in the right direction. I /think/ that they are communicating. See the 2 screenshots below. I have verified all the wires and also added a capacitor. I am using 2 Nanos and the 2.4 transcevers.

    This is the scketch I am using for the senson: http://mysensors.org/build/humidity
    Using the latest and greatest Serial GW sketch.

    I have created the device in Vera but I can't get it to see the sensor.

    Capture1.PNG
    Capture2.PNG


  • Hero Member

    Indeed, very close 😉

    The logs you are showing indicate the sensor is asking an NodeID to the gateway. The gateway does not answer this as this is the task of the controller, Vera in your case I assume.



  • I think you are correct. I just noticed that there is no lib version in Vera which I understand to mean that it is not communicating with the Nano. I read in another thread that the Chinese knock offs don't work well as GW. I have tried a few different Nano's (all from Banggood.com) all with the same results. I guess I will have to try a non-knockoff unless anyone else has any ideas. I have deleted and recreated the device in Vera a few times.

    upload-b3d80504-ee5b-4109-b047-a22ec83927de that



  • Here is my serial config:

    upload-00b7d04b-d8ae-4e4e-a15f-a73fe5d25d96


  • Hero Member

    @bobnatale
    Hmmm No lib. version is being presented. Looked at mine.... the 'Used by device' info is different.

    2014-10-18_18-12-28.png



  • I had similar problems when using "nano compatible" boards, ie no lib version displayed, gateway stopped receiving data after few hours / days. Finally I bought original nano board and all these issues disappeared. It has something to do with counterfeit FTDI chips (check http://forum.arduino.cc/ for more info).



  • Thanks all. Any thoughts on going with a "real" nano or shifting gears and going with ethernet gw? Cost is bout the same. Any upside either way?


  • Hero Member

    i started with Nano connected via serial to Vera lite - worked great when it was working, but vera kept dropping the serial port, so i moved to ethernet ( initalay via a Freetronics Etherten on 1.3) .. actually this is still running perfectly.

    Also have been running on iBoard and 1.4 for a while and its now nice and stable.

    Imho... Ethernet > serial.



  • Kind of what I figured. Plus, they have them at radio shack. 😃

    Thanks all. I will post my results later



  • Making some progress but still no joy.

    I added an ethernet shield to an UNO, and I have it on the network and responding to ping. Yeah me!

    I am unable to get it to recognize the radio. I get "check wires" in the serial monitor. I have triple checked the wires and tried several different radio chips and have added a 4.7 capacitor.
    ==>Question here: The IRQ post doesn't connect anywhere on the arduino, right? I noticed that is says to connect to pin 2 on the serial gw, but it is not mentioned in the ethernet gw.

    I have also created the device in Vera. It shows "Lua Failure" on the device and I get a cannot send command in the message window at the top. Also, no Lib version is displayed.
    ==>Is this normal behavior because it can't communicate with the Radio, or do I have another issue here?

    Any help is GREATLY appreciated!

    upload-34d3b576-cfea-4b78-8641-568f09ca0862
    upload-3d7cf87f-5dc4-4f19-8f96-bb4ae3382c2b
    upload-79c70512-9921-4dc6-8c73-95ae845de39f


  • Hero Member

    That "check wires" means its not going to work....so better check the wires again!

    Note that the pins for connecting the radio on a Ethernet gateway are different than any other of your sensors!

    http://www.mysensors.org/build/ethernet_gateway

    Re the IRQ connection - i believe this is still un-used on gateway. ( might be worth trying connecting it to D2 just in case...)


Log in to reply
 

Suggested Topics

  • 3
  • 15
  • 2
  • 3
  • 1
  • 1

1
Online

11.2k
Users

11.1k
Topics

112.5k
Posts