Navigation

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

    Thomas433

    @Thomas433

    2
    Reputation
    5
    Posts
    3
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Thomas433 Follow

    Best posts made by Thomas433

    • RE: Newbie question about how the mysensors gateway connects to controller

      @Boots33
      Thanks a lot for the quick response.
      I now have my Nano running as a serial gateway and it is connected via a USB cable directly to my controller (Raspberry Pi 4 running Home Assistant / Hass.io).
      I added a local motion sensor to the Nano gateway HW and pasted the mysensors MotionSensor example code to the setup(), presentation() and loop() functions as well as to the definitions in the top of the GatewaySerial example code.
      I disabled the radio definitions as I currently have no radio capability in my gateway (not sure if this was necessary).
      In Home Assistant / Hass.io I updated the configuration.yaml with the following text (as described on the Home Assistant integration help):

      mysensors:
      gateways:
      - device: '/dev/ttyUSB0'

      And it works 🙂
      In Home Assistant Developer Tools under States I can now see my motion sensor go on and off by the flick of my hand.

      I had expected a bit more bumps on the road just to get this far, but wow - I am obviously walking in the foot prints of people who have worked hard to make it easy for the rest of us.
      I am sure I will hit bumps on the way when the radios have to send results to the gateway (thick concrete walls with lots of steel), but for now I will enjoy this big success.

      Thanks again Boots33

      posted in General Discussion
      Thomas433
      Thomas433

    Latest posts made by Thomas433

    • RE: RFM69 on one print board or on separate Rx and Tx prints?

      @scalz Thanks.

      posted in General Discussion
      Thomas433
      Thomas433
    • RE: RFM69 on one print board or on separate Rx and Tx prints?

      Thanks @scalz for confirming what I suspected. It saves me (and maybe others) time by not going in the wrong direction with 433 MHz chips that are not RFM69.
      As a newbie, I thought RFM69 was synonymous with 433MHz communication in general. but I guess it is not.

      posted in General Discussion
      Thomas433
      Thomas433
    • RFM69 on one print board or on separate Rx and Tx prints?

      Hi.
      I have a serial gateway working.

      My next step is creating nodes using RFM69/433MHz.
      On the mysensors site there is an (obsolete) AliExpress link to an RFM69 chip that has sender and receiver on the same print board.
      What I currently have in my drawer are 433 MHz chips where the sender and receiver are on separate print boards (e.g. https://www.aliexpress.com/item/4001148855756.html?spm=a2g0o.productlist.0.0.12023abf3WwfqH&algo_pvid=8b48b8c5-f4a7-4148-9c76-522f77bb5bbb&algo_expid=8b48b8c5-f4a7-4148-9c76-522f77bb5bbb-10&btsid=0ab50f4415948924536708139e7ccc&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)

      Will these also work out of the box with the mysensors libraries (without me having rewrite most)?
      Or must I have the RFM69 where the sender and receiver are on the same print board?
      I would hate having to wait several months for new components to arrive from China, but as I am not able to rewrite the mysensors libraries myself, I realize I might end up having to do that.

      posted in General Discussion
      Thomas433
      Thomas433
    • RE: Newbie question about how the mysensors gateway connects to controller

      @Boots33
      Thanks a lot for the quick response.
      I now have my Nano running as a serial gateway and it is connected via a USB cable directly to my controller (Raspberry Pi 4 running Home Assistant / Hass.io).
      I added a local motion sensor to the Nano gateway HW and pasted the mysensors MotionSensor example code to the setup(), presentation() and loop() functions as well as to the definitions in the top of the GatewaySerial example code.
      I disabled the radio definitions as I currently have no radio capability in my gateway (not sure if this was necessary).
      In Home Assistant / Hass.io I updated the configuration.yaml with the following text (as described on the Home Assistant integration help):

      mysensors:
      gateways:
      - device: '/dev/ttyUSB0'

      And it works 🙂
      In Home Assistant Developer Tools under States I can now see my motion sensor go on and off by the flick of my hand.

      I had expected a bit more bumps on the road just to get this far, but wow - I am obviously walking in the foot prints of people who have worked hard to make it easy for the rest of us.
      I am sure I will hit bumps on the way when the radios have to send results to the gateway (thick concrete walls with lots of steel), but for now I will enjoy this big success.

      Thanks again Boots33

      posted in General Discussion
      Thomas433
      Thomas433
    • Newbie question about how the mysensors gateway connects to controller

      I read and watched a lot about mysensors, but didn't manage to learn the following.

      My question regards only the part of how the mysensors gateway (in my case: Arduino nano) connects to the controller (in my case Raspberry Pi 4 with Home Assistant Hass.io).
      It does not regard how the gateway connects to sensors (which I guess wil be wireless and probably RFM69 in my case).

      I prefer a cabled connection between the gateway and the controller.
      Maybe this is also what is recommended?

      I can imagine connecting the gateway (Nano) through an ethernet cable (via a W5100 module) to my switch/router which should make it possible for the controller to communicate with it if it is on the same network.
      Is this what you call an ethernet gateway?

      But I guess a USB cabled direct connection between the gateway (Nano) and the controller (Raspberry Pi with Hass.io) is also a technical possibility (they will probably be located next to each other anyway).
      Is this possible and is this what you call a serial gateway?

      Which is recommended?
      Are both equally good?
      I don't want to invent a new connection method.
      I just want to follow the guidelines, but got confused down the line and was afraid that the gateway needed to communicate with the controller via 2.4GHz which I hope to avoid.

      posted in General Discussion
      Thomas433
      Thomas433