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
    9
    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

    • FOTA/MYSBootloader for RFM69?

      Hi.

      I am looking to implement FOTA for some of my RFM69 nodes.
      I am hoping to use MYSBootloader to avoid needing an additional flash ROM component on all those nodes.
      In some five yearl old threads in the forum it is stated that MYSBootloader only supports NRF24, but that RFM69 support was a work in progress.
      So does anybody know if it does support RFM69 by now?
      It doesn't look like it from the info I have found in github, the forum and guidelines (www.mysensors.org/about/fota), but it is not very easy for me to find a definite answer either.
      I hope someone knows.
      If it does not support RFM69 by now (five years after), then I guess it never will.

      Br, Thomas.

      posted in General Discussion
      Thomas433
      Thomas433
    • RE: Will serial gateway work with 3.3 V Arduino Pro Mini?

      @TheoL Thanks for responding and sorry for my late reply.
      I finally got an Arduino Nano working as a gateway with RFM69.
      It required new/different logic converters as the ones I had apparently were not working correctly.
      I can give the RFM69 3.3V power from the Nano, but as the Nano has 5V logic and the RFM69 cannot handle 5V logic as input (NSS, SCK, MOSI) , the logic converters are needed to protect the RFM69 module as also stated in the MySensors radio guide.
      I must say that using NRF24 was much easier than using RFM69, but I will stick with RFM69 (433 MHz) for range reasons.

      posted in Troubleshooting
      Thomas433
      Thomas433
    • RE: Will serial gateway work with 3.3 V Arduino Pro Mini?

      Thanks for the answer.
      I actually got the Arduino Pro Mini 3.3 Volt 8MHz to work as a Mysensors gateway to Home Assistant running on a Raspberry Pi 4b after many challenges (bad radios, bad connections etc.).
      Next challenge is then the 3.3 V vs 5 V logic converters.

      posted in Troubleshooting
      Thomas433
      Thomas433
    • Will serial gateway work with 3.3 V Arduino Pro Mini?

      Hi.

      Will serial gateway work with 3.3 V Arduino Pro Mini (8 MHz)?
      In the code it states: * The GW code is designed for Arduino Nano 328p / 16MHz

      My goal is to have an Arduino Uno (5V) as a serial gateway, but since I don't succeed with that in spite of logic level converters on the MOSI, SCK and NSS, I wanted to try and get it working on a 3.3V Pro Mini so the logic level conversion complexity disappears.
      I understand that the 8 MHz may be insufficient for a gateway with many nodes in the long run, but this is just a short term test to achieve at least some kind of success with the RFM69 module, which has so far been the cause of many headaches.

      I have got an Arduino Nano working with NRF24 with several nodes, but since I only have five NRF24 modules and maybe 30 RFM69 modules (and thick concrete walls in a big house) my goal is to use RFM69 (433 MHz).

      Also - is a capacitor necessary on the RFM69 module?
      I know it is necessary on the NRF24, but it is not clear in the instructions if this is the case on RFM69.

      posted in Troubleshooting
      Thomas433
      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