Navigation

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

    qkzk

    @qkzk

    1
    Reputation
    5
    Posts
    266
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    qkzk Follow

    Best posts made by qkzk

    • RE: ๐Ÿ’ฌ Building a Raspberry Pi Gateway

      WOW ! It works ๐Ÿ™‚ thanks @gohan ๐Ÿ™‚
      I removed the voltage shifter, added an 1ยตF capacitor and downloaded developpement libraries.
      Also, I cleaned the configuration parameters : ./configure --my-transport=nrf24 --my-gateway=ethernet
      It finally works as expected (sensor, gw on rpi3, controler on debian server) and I can ditch the uno (well, I'll find him another use).
      Thanks again for the wonderfull work, it's been fun ๐Ÿ™‚

      posted in Announcements
      qkzk
      qkzk

    Latest posts made by qkzk

    • RE: ๐Ÿ’ฌ Building a Raspberry Pi Gateway

      WOW ! It works ๐Ÿ™‚ thanks @gohan ๐Ÿ™‚
      I removed the voltage shifter, added an 1ยตF capacitor and downloaded developpement libraries.
      Also, I cleaned the configuration parameters : ./configure --my-transport=nrf24 --my-gateway=ethernet
      It finally works as expected (sensor, gw on rpi3, controler on debian server) and I can ditch the uno (well, I'll find him another use).
      Thanks again for the wonderfull work, it's been fun ๐Ÿ™‚

      posted in Announcements
      qkzk
      qkzk
    • RE: ๐Ÿ’ฌ Building a Raspberry Pi Gateway

      I managed to connect everything but not the way I would have prefered.
      Controler : Home assistant on debian server
      Gateway : arduino Uno connected to debian server trough usb serial
      Sensor : binary sensor (reed switch) on arduino mini.

      I'm still trying to figure what's wrong with what I posted earlier.

      posted in Announcements
      qkzk
      qkzk
    • RE: ๐Ÿ’ฌ Building a Raspberry Pi Gateway

      I tried the voltage shifter since I read : (*): If you are using the nrf24 PA/LNA version you need to use a 5V->3.3V regulator because the Raspberry Pi 3.3V can't supply enough power.
      Since I don't know the version...

      I had no success with an arduino USB gateway but I'll try again.

      I thought the controller-ip-adress=192.168.0.50 parameter was usefull otherwise the gateway would have to look guess where the controler is. I may have got everything wrong about who is initiating the dialogue. From what I read in home automation logs it's the controller who is looking for the gateway...

      I'll try the 2.2.0 version.

      posted in Announcements
      qkzk
      qkzk
    • RE: ๐Ÿ’ฌ Building a Raspberry Pi Gateway

      I just checked the wiring again and tested it with a voltage shifter I used for a grove RGB LCD and I got the same results

      posted in Announcements
      qkzk
      qkzk
    • RE: ๐Ÿ’ฌ Building a Raspberry Pi Gateway

      Hi,
      I'm having trouble setting up mysensor with this configuration.
      Controler : Home assistant on a debian server. ip : 192.168.0.50
      Gateway : rpi3, connected to the server trought ethernet. ip : 192.168.0.21
      Sensor : simple door switch from the example scripts.

      On both sensor and gateway the transport is a nrf24l01+ module. I bought 4 of them and they all worked in simpler projects (on both arduino and rpi).

      The main problem is I can't get the rf24l01+ to work with mysensor. I checked the wiring multiple times a changed the module. Nothing changes.
      I also tried to change the configuration settings but it has no effect :

      I configured as :
      ./configure --my-transport=nrf24 --my-gateway=ethernet --my-controller-ip-address=192.168.0.50 --my-port=5003

      Here is what I got every time i launch mysgw :

      /MySensors $ sudo ./bin/mysgw -d
      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
      mysgw: TSM:FAIL:RE-INIT

      I used the wiring described in the script but without a voltage regulator. so I also checked the voltage received by the nrf24l01+ and it's a steady 3.3v.

      What's wrong here ? Any help would be greatly appreciated.

      --

      On another topic, home assistant doesn't seem to provide support for mysensor 2.1 protocol. Should I downgrade to 2.0 ?
      Obviously the controler can't connect to the gateway presently since the gateway isn't launching properly.
      Home assistant is constantly whining about it :

      Here is what I get from home automation console :

      Error (Thread-13) [mysensors.gateway_tcp] Failed to connect to socket at ('192.168.0.21', 5003).

      and here is my configuration.yaml extract :

      mysensors:
      gateways:
      - device: '192.168.0.21'
      optimistic: false
      persistence: true
      retain: true
      version: 2.0,

      posted in Announcements
      qkzk
      qkzk