Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. urbanus
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by urbanus

    • RE: Vera Edge pi v1 ethernet gateway

      Hi again, I did not select the inverse feature as I was under the impression this just changes their behaviour ( i.e normally illuminated and turned off/on during tx/rx/error or normally not illuminated and turns on/off during tx/rx/error).
      Thanks,
      David

      posted in Vera
      urbanus
      urbanus
    • RE: Vera Edge pi v1 ethernet gateway

      Hi. Hope this link is okay, I'm not really sure how to do this.
      https://www.mysensors.org/uploads/57c1a876f40891c215911e40/image/RPi3_status_led.jpg
      It shows the GPIO pins routed to pin 1 on the pi - pin 1 is 3.3v. I followed the diagram withoit thinking the first tie and it was only when I had problems I started to think "how does this work"? taking it to ground sorted it.
      Thanks
      David

      posted in Vera
      urbanus
      urbanus
    • RE: MySensors external examples (Zip file contains No valid library)

      Hi, I have the same issue. Using 1.8.2. Downloaded the zip file. Tried to include it from the Arduino drop down but get the same message as above. If I manually open the xip file al the files seem to be there.

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Vera Edge pi v1 ethernet gateway

      Just in case anybody visits this post with the same problems - It's now sorted and working. Basic issues were:
      1 - I did not set the parameters in the MyConfig.h files correctly, especially I needed to uncomment the inclusion feature!
      2 - The fritz diagram for the LED 's is incorrect, if you build the gateway with the LED's you need to switch the GPIO pins to ground not to vcc as shown.
      Regards

      David

      posted in Vera
      urbanus
      urbanus
    • RE: Vera Edge pi v1 ethernet gateway

      @urbanus Just looking at the config.h file - do I have to set my SSID and password in this file before I "make" ? If do is this my VERA ssid etc. or my wifi ssid?

      posted in Vera
      urbanus
      urbanus
    • RE: Vera Edge pi v1 ethernet gateway

      @urbanus this is the output from the test:

      Dec 07 14:56:12 INFO Starting gateway...
      Dec 07 14:56:12 INFO Protocol version - 2.3.1
      Dec 07 14:56:12 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,REL=255,VER=2.3.1
      Dec 07 14:56:12 DEBUG TSF:LRT:OK
      Dec 07 14:56:12 DEBUG TSM:INIT
      Dec 07 14:56:12 DEBUG TSF:WUR:MS=0
      Dec 07 14:56:12 DEBUG TSM:INIT:TSP OK
      Dec 07 14:56:12 DEBUG TSM:INIT:GW MODE
      Dec 07 14:56:12 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
      Dec 07 14:56:12 DEBUG MCO:REG:NOT NEEDED
      Dec 07 14:56:12 DEBUG Listening for connections on 0.0.0.0:5003
      Dec 07 14:56:12 DEBUG MCO:BGN:STP
      Dec 07 14:56:12 DEBUG MCO:BGN:INIT OK,TSP=1
      Dec 07 14:56:12 DEBUG TSM:READY:NWD REQ
      Dec 07 14:56:12 DEBUG TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      Dec 07 15:02:59 DEBUG TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      Dec 07 15:02:59 DEBUG TSF:MSG:BC
      Dec 07 15:02:59 DEBUG TSF:MSG:FPAR REQ,ID=1
      Dec 07 15:02:59 DEBUG TSF:PNG:SEND,TO=0
      Dec 07 15:02:59 DEBUG TSF:CKU:OK
      Dec 07 15:02:59 DEBUG TSF:MSG:GWL OK
      Dec 07 15:03:00 DEBUG TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0

      posted in Vera
      urbanus
      urbanus
    • RE: Vera Edge pi v1 ethernet gateway

      @urbanus I also note that the wiring diagram for the LED's seems to be incorrect 9or I'm not reading it correctly. Doesnt the pi switch the outputs HIGH when a GPIO pin is called? The diagram seems to feed the LED's from 3.3v and then on through the limiting resistor back to the GPIO which will be at 3.3v when high.

      posted in Vera
      urbanus
      urbanus
    • Vera Edge pi v1 ethernet gateway

      Hi. Anybody have the above configuration working? I have compiled as per the build instructions and run the test and all seems well, no error messages etc. Vera however doesn't seem to communicate with the gateway. I can ping the Vera.
      Regards
      David

      posted in Vera
      urbanus
      urbanus
    • RE: Irrigation Controller with Domoticz

      Great, thanks.

      posted in Domoticz
      urbanus
      urbanus
    • RE: Irrigation Controller with Domoticz

      Hi. Okay thanks - can you point me to the 2.0 thread please I can't seem navigate my way to it.
      I wondered about compatibility issues but the modified sketch and the original sketch bothe had the same version number in the header (2.0) I guess this is the version number for the arduino sketch not the Mysensors library (1.4.1)
      I do find it confusing if a sketch is modified and the header remains the same.
      Cheers
      D

      posted in Domoticz
      urbanus
      urbanus
    • RE: Irrigation Controller with Domoticz

      Hi. I found the sketch "MySprinkler Domoticz" from the Irrigation Controller thread. When I try to compile this I get a number of errors and, working through these one by one, the main issue is it doesn't seem to specify a gateway/radio in the same way as the original sketch on which the new sketch is based did so the compiler fails saying it doesn't know where to send data to.
      Thought I could simply specify the Radio module as per the original sketch however if I do this I get multiple failures so I guess that isn't the solution Arduino is looking for.
      Thanks

      posted in Domoticz
      urbanus
      urbanus
    • Irrigation Controller with Domoticz

      Hi,
      As anybody got this combination running? Reading through the threads I realise that some features don't work as it was designed for a Vera controller and I seen a couple of updated Arduino sketches which should work but I cannot get either of them to compile without errors.
      Thanks
      D

      posted in Domoticz
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      I have managed to get a working system by using Arduino Mega with the NRF24 (the one with the Aerial Connection) running the serial sketch - connected to a RPi2 running Domoticz and connected to the Arduino by USB.
      This seems an expensive way to sort out a gateway so I will persevere with trying to find why I cannot get the other versions up and running but at least now I have a system - knitting will have to wait!!
      Thanks for the help, much appreciated.

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      What do you think, should i go straight for a jumper or start with a sock pattern?

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      Hi,
      I used
      ./configure --my-transport=nrf24
      and./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway
      The Uno is working fine but I can't get the ethernet connection to the pi to work on that, hence why I took the advise to use the pi as both gateway and controller. It does work as a good testbed for the radio modules though!

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      I should point out that grey has been used instead of orange on the RPi connection - I ran out of Dupont leads!

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      Hi, Thanks in advance for the help.
      This is what I get from asmod on the pi:
      Module Size Used by
      8192cu 582217 0
      cfg80211 543027 1 8192cu
      rfkill 20851 2 cfg80211
      evdev 12423 1
      joydev 9988 0
      spidev 7373 0
      snd_bcm2835 24427 0
      snd_pcm 98501 1 snd_bcm2835
      snd_timer 23904 1 snd_pcm
      snd 70032 3 snd_timer,snd_bcm2835,snd_pcm
      spi_bcm2835 7596 0
      bcm2835_gpiomem 3940 0
      uio_pdrv_genirq 3923 0
      rpi_ft5406 4783 0
      uio 10204 1 uio_pdrv_genirq
      rpi_backlight 2632 0
      fixed 3285 0
      i2c_dev 6913 0
      fuse 99603 1
      ipv6 406751 30

      attached are two photos. One shows the arduino with ethernet and NRF and the other shows the RPi with the NRF. I have several NRF units, both types- and they all show on the Arduino running the given sketch so I know the radio modules are ok. I have a slightly different capacitor on the 2 units shown but I have tried with the same cap and the result is the same.
      0_1499431013310_RPi_NRF24.jpg
      0_1499431035552_Arduino_NRF24.jpg

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      I'm seriously thinking of taking up knitting! This is driving me bananas.

      So, as I'm unable to get the ethernet gateway working I thought I would follow the advise given and connect the radio direct to the pi and set it as a serial gateway following the instruction on this site.
      Software installs okay. Using a RPi 2 and a NRF24+. Connections triple checked and as per the drawing.
      When I run the sudo ./bin/mysgw -d command to test the link I get:

      mysgw: Starting gateway...
      mysgw: Protocol version - 2.1.1
      mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
      mysgw: TSM:INIT
      mysgw: TSF:WUR:MS=0
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=1
      mysgw: TSM:FAIL:PDT

      I have checked the radio using the UNO/Ethernet shield as above and it works but no matter what I do on the pi I cannot get past the above error.

      Help or directions to a nearby wool shop please!

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      connecting the gateway direct to the Superhub doesn't work:(

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      Hi. I did originally do that but thought I had misunderstood the instructions as my understanding is that I need a host for the control software (the pi) and a separate gateway (arduino) to relay info from the nodes so I stopped and constructed the ethernet gateway

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      @mfalkvidd Yes, it does. Didn't realise I could do that. Will try that as soon as Question Time finishes (I know thats sad but what can I say...)
      Will also search for the raspberry pi configuration you pointed to - thanks a lot. I learn a great deal from forums but sometimes you just need a second pair of eyes to point you in the right direction

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      Hi. If I connect the gateway to my laptop by cable it picks up an IP address without issue (using the gateway sketch). I guess this points to the problem being at the PI end. I came to this conclusion last night (around midnight!!) and checked the /etc/interfaces on the pi but it seemed okay.

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      Sorry, not sure why my bullet numbers are wrong, they are correct on the reply section. I think you get which answer is for which point though.
      thanks

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi
      1. Correct
        2)Good idea, haven't tried that! Will get onto that now.
        3)Assuming you mean connect by ethernet, as above, will try that after 2)
      2. Yes they do.
        debug code is as below:

      0;255;3;0;9;MC0:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM;INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MC0:REG:NOT NEEDED
      DHCP FAILURE...0;255;3;0;9;!MC0:BGN:TSP FAIL

      posted in Troubleshooting
      urbanus
      urbanus
    • RE: Ethernet Gateway connection to Raspberry Pi

      Hi and thank you for the warm welcome and quick response.
      The ethernet shield piggybacks on to the Arduino and connects to the Pi by a standard RJ45 cable.
      Its my home wifi fed by a Virgin Superb. No sensors etc. connected on the network yet.
      The router issues DHCP commands as if I connect the ethernet shield direct to my laptop and load an example sketch it is issued an IP address without issue.
      Cannot seem to copy the debug code from the gateway serial output so I will have to type it in.
      I set the mac address based on the output I got from the example sketch serial output.

      Many thanks

      posted in Troubleshooting
      urbanus
      urbanus
    • Ethernet Gateway connection to Raspberry Pi

      I'm new to this and have constructed an Ethernet Gateway with Arduino UNO and Nrf24+ and an Ethernet shield.. The sketch loads and the serial port shows no errors however it fails to get an IP address and then shows DHCP failure. I've tried a different cable, different Raspberry Pi, etc. but no matter what I get the same problem. I have tested the shield by loading the arduino printer sketch from the examples page and it works. It simply can't get an address via the Pi. I'm running Domoticz as the controller.
      Any pointers gratefully appreciated.
      David

      posted in Troubleshooting
      urbanus
      urbanus