Skip to content
  • 0 Votes
    2 Posts
    33 Views
    mfalkviddM
    @OldSurferDude use a host name for the broker in the configure command (--my-controller-url-address=). Add the host name to /etc/hosts on the rpi where the gateway is. Start the MySensors gatway. When you want to switch brokers, modify /etc/hosts again and restart the MySensors gateway.
  • 0 Votes
    2 Posts
    57 Views
    OldSurferDudeO
    @OldSurferDude I posted this question in the Home Assistant forum, too. I figured it out! See my post in HA OSD
  • MySensors GW on rpi3

    Troubleshooting gateway
    20
    0 Votes
    20 Posts
    82 Views
    mfalkviddM
    Nice work @Kurtsejr, thanks for reporting back
  • MySensors gateway running as a service

    Development gateway
    4
    0 Votes
    4 Posts
    36 Views
    OldSurferDudeO
    @mfalkvidd Thanks, I didn't see that! OSD
  • Gateway sends NACK to node

    Troubleshooting gateway
    15
    0 Votes
    15 Posts
    148 Views
    M
    Aah ok that makes sense. My application is for rural use and I need the max distance possible. The slow response will not be a problem as the sensors don't send a lot of data at all. So maybe I will stay with the SF4096 for now but I will do some experimenting with the settings. Just to understand them a bit better.
  • Is there a Gateway connection timeout?

    General Discussion gateway
    2
    0 Votes
    2 Posts
    45 Views
    mfalkviddM
    @A3V such a feature would definitely make sense now that gateways can have local sensors. But no-one has added it unfortunately. A solution could be to use the code at https://github.com/mysensors/MySensors/blob/2e00bf6a10f76d6aaa1999e12313237bc3edabd3/core/MyTransport.cpp#L446 as inspiration and do something similar at https://github.com/mysensors/MySensors/blob/2e00bf6a10f76d6aaa1999e12313237bc3edabd3/core/MyGatewayTransportEthernet.cpp#L175
  • 0 Votes
    1 Posts
    22 Views
    No one has replied
  • 0 Votes
    5 Posts
    74 Views
    N
    @Yveaux Should have dove deeper when you fist said radio, looks like everything was taken care off except the radio power. Jumped a wire over there and bang worked. Thanks again for the help.
  • 0 Votes
    3 Posts
    71 Views
    Giovanni ChivaG
    @mfalkvidd thank you very much for your quick answer! I'll look into that.
  • 0 Votes
    5 Posts
    66 Views
    T
    @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.
  • Integrate with ThingsBoard

    Development gateway
    6
    1 Votes
    6 Posts
    61 Views
    mfalkviddM
    @chamroeun-ou said in Integrate with ThingsBoard: If I use Thingsboard gateway, I will have to deploy Mysensors gateway anyway in order to intercept the incoming RF24 data, right? Yes
  • Gateway to support dual radio

    General Discussion nrlf01+ rfm95w gateway
    4
    0 Votes
    4 Posts
    101 Views
    BearWithBeardB
    @Westie That feature can also be used with the Arduino Nano, or any other ATmega328P-based board. I had NRF24 + RFM69 running for a couple of days using a Nano as an Ethernet MQTT gateway and it worked fine as far as I remember.
  • 💬 MqGateway

    OpenHardware.io gateway mqtt wired
    3
    0 Votes
    3 Posts
    53 Views
    mfalkviddM
    https://web.archive.org/web/20201201193332/https://github.com/aetas/mqgateway might be somewhat useful
  • Ethernet Gateway Library

    My Project gateway
    6
    0 Votes
    6 Posts
    57 Views
    R
    thanks Mr @mfalkvidd .
  • Cross compile mysensors gateway

    General Discussion gateway raspberry pi
    6
    0 Votes
    6 Posts
    98 Views
    Jasper van ZuijlenJ
    As promised, what I found so far: the following dockerfile yeilds a usable cross-compile environment, provided you use it with a Makefile. FROM ubuntu:xenial RUN apt-get update \ && apt-get install --yes \ vim \ build-essential \ git RUN git clone https://github.com/raspberrypi/tools RUN git clone https://gist.github.com/3873805.git /build WORKDIR "/build" CMD ["/usr/bin/make", "CC=/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc" , "HelloWorld"] # Seems I need a real makefile for the above to work. For cross compiling mysensors to work, hoever, you also need to properly seed the variable in configure, for it to work correctly. This is where I left off. Sources: https://stackoverflow.com/questions/18007326/how-to-change-default-values-of-variables-like-cc-in-makefile https://bitbucket.org/mitchallen/pi-hello-cross-compile/src/master/ https://desertbot.io/blog/how-to-cross-compile-for-raspberry-pi https://github.com/mitchallen/pi-cross-compile/blob/master/Dockerfile https://github.com/mysensors/MySensors/blob/development/configure https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin https://www.raspberrypi.org/documentation/linux/kernel/building.md https://www.mysensors.org/build/raspberry
  • Gateway USB and Gateway Ethernet

    General Discussion gateway
    15
    0 Votes
    15 Posts
    152 Views
    Daniel RUIZ9D
    @Daniel-RUIZ9 I may have found a solution to my problem, I have to test a few days to be sure. Hard my domoticz installation I have two raspberry one in server the second in client. The raspberry server is connected to the USB gateway and on the second I have configured the ethernet gateway. I keep you informed if I still have crashes.
  • 💬 MyGateway

    OpenHardware.io mysensors rfm69 gateway ethernet poe
    10
    0 Votes
    10 Posts
    173 Views
    E
    Oh, I never even thought of that as a possibility. I really like KiCad, and it's my preference. For a while I had Eagle for work, but even then I still preferred KiCad whenever I was given a choice. :)
  • 0 Votes
    17 Posts
    154 Views
    mfalkviddM
    Cool project @bsmtdweller New thread or stay in this doesn't matter much, but for people searching the forum (or their favorite search engine) in the future, I think a new thread with a subject containing "incubator" will be more clear. I would build it with multiple nodes. Smaller chunks of code, easier wiring, easier to isolate individual parts which helps tremendously when troubleshooting, easer to reuse code for one node in case you (or someone else) want to expand the project later, easier to remove a part if you (or someone else) don't need it. The non-mysensors code is more important, so I would start with that, but make sure all parameters that you want to be able to change are stored in variables and not hardcoded. Then add the MySensors code to update the values of the variables. The autonomy will be hard. Normally I would prefer to have all logic in the controller, since a controller has much better ways to program and debug stuff. Not fun to write - and maintain - in C with very rudamentary debugging tools. But as you say, being reliant on having Domoticz working all the time might not be good. Having the system fail gracefully will be a challenge. A start could be to search the forum for MY_TRANSPORT_WAIT_READY_MS to see what others have done. And maybe - to make the system as reliable as possible - you should add everything to a single node instead of splitting it up into multiple nodes.
  • 0 Votes
    3 Posts
    35 Views
    S
    Thanks, works. I hope the Pi gateway ist more stable than the ESP gateways . It will be a lot of work to move alle sensors to the new RFM69 driver :-)
  • ESP8266 Gateway

    Troubleshooting gateway esp8266 nrf24l01+ gateway
    2
    0 Votes
    2 Posts
    62 Views
    mfalkviddM
    @sash-sc upgrade MySensors to 2.3.2 or downgrade the esp board definition. More info: https://github.com/mysensors/MySensors/releases/tag/2.3.2

28

Online

11.7k

Users

11.2k

Topics

113.1k

Posts