Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
urbanusU

urbanus

@urbanus
About
Posts
26
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Vera Edge pi v1 ethernet gateway
    urbanusU urbanus

    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

    Vera

  • Vera Edge pi v1 ethernet gateway
    urbanusU urbanus

    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

    Vera

  • MySensors external examples (Zip file contains No valid library)
    urbanusU urbanus

    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.

    Troubleshooting

  • Vera Edge pi v1 ethernet gateway
    urbanusU urbanus

    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

    Vera

  • Vera Edge pi v1 ethernet gateway
    urbanusU urbanus

    @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?

    Vera

  • Vera Edge pi v1 ethernet gateway
    urbanusU urbanus

    @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

    Vera

  • Vera Edge pi v1 ethernet gateway
    urbanusU urbanus

    @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.

    Vera

  • Vera Edge pi v1 ethernet gateway
    urbanusU urbanus

    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

    Vera

  • Irrigation Controller with Domoticz
    urbanusU urbanus

    Great, thanks.

    Domoticz

  • Irrigation Controller with Domoticz
    urbanusU urbanus

    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

    Domoticz

  • Irrigation Controller with Domoticz
    urbanusU urbanus

    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

    Domoticz

  • Irrigation Controller with Domoticz
    urbanusU urbanus

    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

    Domoticz

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

    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.

    Troubleshooting

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

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

    Troubleshooting

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

    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!

    Troubleshooting

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

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

    Troubleshooting

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

    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

    Troubleshooting

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

    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!

    Troubleshooting

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

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

    Troubleshooting

  • Ethernet Gateway connection to Raspberry Pi
    urbanusU urbanus

    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

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular