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
  1. Home
  2. General Discussion
  3. Looking for recommendations, advice, and insights

Looking for recommendations, advice, and insights

Scheduled Pinned Locked Moved General Discussion
11 Posts 8 Posters 158 Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iamtheghost
    wrote on last edited by
    #1

    Hey everyone,

    I have been tinkering with the MySensors platform on and off now for roughly 3 years but I have never been successful at getting a "full" implementation of the platform into my home automation system. So, I am wiping the slate clean and looking for recommendations from you all based on the following:

    • My first attempt at using MySensors was integrating it into OpenHab 2.4 running on a Raspbery Pi 3+. The configuration was also a nightmare for me and the documentation was never really accurate to my specific setup and was often too general to account for the nuance required to get MySensors working properly.

    • I built a serial gateway and was able to get a few sensors sending data to OpenHab via the MySensors binding but it was unstable and often left a lot to be desired. Even after meticulously building sensors, simple sensors even, OpenHab just didn't feel like it was working seamlessly with MySensors. There was no explicit way to force a sensor to do an update from within the various OpeHab UIs, configuring something as simple as a DHT-11 sensor was often far more work and experimentation than it needed to be, and on and on.

    • Using the serial gateway on the RPi limited my number of actual serial data lines on the hardware to zero. Creating software serial ports in Debian for other techologies like Heyu for x10 and a Zwave USB stick is nettlesome and tedious.

    • I am looking for a recommendation on that combination of a gateway, controller, and hardware that "just works", has a slightly more straight-forward implementation and configuration process than OpenHab, and is well-documented.

    I'm open to anything to lay it on me! Thank you all so much for all of your insight and help.

    parachutesjP rejoe2R 2 Replies Last reply
    0
    • I iamtheghost

      Hey everyone,

      I have been tinkering with the MySensors platform on and off now for roughly 3 years but I have never been successful at getting a "full" implementation of the platform into my home automation system. So, I am wiping the slate clean and looking for recommendations from you all based on the following:

      • My first attempt at using MySensors was integrating it into OpenHab 2.4 running on a Raspbery Pi 3+. The configuration was also a nightmare for me and the documentation was never really accurate to my specific setup and was often too general to account for the nuance required to get MySensors working properly.

      • I built a serial gateway and was able to get a few sensors sending data to OpenHab via the MySensors binding but it was unstable and often left a lot to be desired. Even after meticulously building sensors, simple sensors even, OpenHab just didn't feel like it was working seamlessly with MySensors. There was no explicit way to force a sensor to do an update from within the various OpeHab UIs, configuring something as simple as a DHT-11 sensor was often far more work and experimentation than it needed to be, and on and on.

      • Using the serial gateway on the RPi limited my number of actual serial data lines on the hardware to zero. Creating software serial ports in Debian for other techologies like Heyu for x10 and a Zwave USB stick is nettlesome and tedious.

      • I am looking for a recommendation on that combination of a gateway, controller, and hardware that "just works", has a slightly more straight-forward implementation and configuration process than OpenHab, and is well-documented.

      I'm open to anything to lay it on me! Thank you all so much for all of your insight and help.

      parachutesjP Offline
      parachutesjP Offline
      parachutesj
      wrote on last edited by
      #2

      @iamtheghost I am running exactly what you tried. Started with OpenHAB 1.x and migrated to 2.x. The serial gateway was exchanged with MQTT due to "open standard". I struggled a lot with hardware issues for actuators with relays but besides it always worked very well and reliable.
      Just for sensor data, I cannot think of something better than MySensors.

      1 Reply Last reply
      0
      • electrikE Offline
        electrikE Offline
        electrik
        wrote on last edited by electrik
        #3

        Here is my recommendation:

        • Rfm69 radios or decent ebyte nrf24 modules (search the forum for the exact type)

        • Mqtt gateway (I use an Esp32)

        • Home assistant as controller
          Edit:

        • Node red to manage more complex automations

        I 1 Reply Last reply
        0
        • electrikE electrik

          Here is my recommendation:

          • Rfm69 radios or decent ebyte nrf24 modules (search the forum for the exact type)

          • Mqtt gateway (I use an Esp32)

          • Home assistant as controller
            Edit:

          • Node red to manage more complex automations

          I Offline
          I Offline
          iamtheghost
          wrote on last edited by
          #4

          @electrik Thank you for the recommendation. I have around 30 NRF240l radios (good quality ones with the chipset, not the blob). Could I hang onto them and still pickup Rfm69 radios later?

          electrikE 1 Reply Last reply
          0
          • I iamtheghost

            @electrik Thank you for the recommendation. I have around 30 NRF240l radios (good quality ones with the chipset, not the blob). Could I hang onto them and still pickup Rfm69 radios later?

            electrikE Offline
            electrikE Offline
            electrik
            wrote on last edited by
            #5

            @iamtheghost yes you can. With the latest development build you can even use the same gateway for both. I'm currently using two different ones, one for nrf24 and one for rfm69.
            I edited my post above, I forgot node red on the list. I prefer that for automations instead of home assistant.

            1 Reply Last reply
            0
            • BearWithBeardB Offline
              BearWithBeardB Offline
              BearWithBeard
              wrote on last edited by BearWithBeard
              #6

              My setup is very similar to @electrik's recommendation.

              I use NodeRED mainy to filter incoming messages and inject additional meta data before I store them in a time-series database (InfluxDB currently).

              Home Assistant is my "workhorse" in the background, which gives me an overview over my whole "smart home" setup, announces certain events over Alexa speakers, flicks switches, etc.

              The MySensors integration in Home Assistant is well documented and easy to set up. Using a MQTT gateway, you simply have to add the mqtt and mysensors components to the configuration.yaml, like this:

              mqtt:
                broker: localhost
                port: 1883
                client_id: id
                username: your-user
                password: pwd-for-user
              
              mysensors:
                gateways:
                  - device: mqtt
                    persistence_file: '/config/mysensors.json'
                    topic_in_prefix: 'mysensors-out'
                    topic_out_prefix: 'mysensors-in'
                optimistic: false
                persistence: true
                retain: true
                version: '2.3'
              

              It's important to specify the protocol version you intend to use (version: '2.3', usually the newest available), or else you can't use any features introduced with MySensors 1.5 or newer. A lot of people seem to leave it out and run into troubles later on. Have a look at MySensors Sensor for the supported sensor types and their version requirements.

              Here's a list of all available MySensors components in Home Assistant.

              Regarding the gateway, I was using MQTT on a NodeMCU (ESP8266 dev board) for the last 1 1/2 years (I'm now transitioning to a new NRF/RFM multi-gateway based on the current 2.4 development version) and it never failed me. The sketch is more or less identical to the GatewayESP8266MQTTclient.ino example. It uses a CDEbyte E01-ML01DP5 as the radio, a shielded NRF24 PA-LNA module and is wired as shown in the Connecting the Radio guide. If you build this, make sure to use a dedicated voltage regulator to get 3.3V for the radio and do not use the NodeMCU's output. You should also add a ~100 µF electrolytic capacitor close to the power pins of the NRF24.

              I 1 Reply Last reply
              0
              • BearWithBeardB BearWithBeard

                My setup is very similar to @electrik's recommendation.

                I use NodeRED mainy to filter incoming messages and inject additional meta data before I store them in a time-series database (InfluxDB currently).

                Home Assistant is my "workhorse" in the background, which gives me an overview over my whole "smart home" setup, announces certain events over Alexa speakers, flicks switches, etc.

                The MySensors integration in Home Assistant is well documented and easy to set up. Using a MQTT gateway, you simply have to add the mqtt and mysensors components to the configuration.yaml, like this:

                mqtt:
                  broker: localhost
                  port: 1883
                  client_id: id
                  username: your-user
                  password: pwd-for-user
                
                mysensors:
                  gateways:
                    - device: mqtt
                      persistence_file: '/config/mysensors.json'
                      topic_in_prefix: 'mysensors-out'
                      topic_out_prefix: 'mysensors-in'
                  optimistic: false
                  persistence: true
                  retain: true
                  version: '2.3'
                

                It's important to specify the protocol version you intend to use (version: '2.3', usually the newest available), or else you can't use any features introduced with MySensors 1.5 or newer. A lot of people seem to leave it out and run into troubles later on. Have a look at MySensors Sensor for the supported sensor types and their version requirements.

                Here's a list of all available MySensors components in Home Assistant.

                Regarding the gateway, I was using MQTT on a NodeMCU (ESP8266 dev board) for the last 1 1/2 years (I'm now transitioning to a new NRF/RFM multi-gateway based on the current 2.4 development version) and it never failed me. The sketch is more or less identical to the GatewayESP8266MQTTclient.ino example. It uses a CDEbyte E01-ML01DP5 as the radio, a shielded NRF24 PA-LNA module and is wired as shown in the Connecting the Radio guide. If you build this, make sure to use a dedicated voltage regulator to get 3.3V for the radio and do not use the NodeMCU's output. You should also add a ~100 µF electrolytic capacitor close to the power pins of the NRF24.

                I Offline
                I Offline
                iamtheghost
                wrote on last edited by
                #7

                @BearWithBeard

                Wow! Now that's some input! Thank you for that. I am very grateful. I think I am going to try your approach. I have a spare NodeMCU board.

                @parachutesj @electrik Thank you both for chiming in.

                I'm still interesting in seeing some other setups that others might say: "Just works". Thanks!!

                1 Reply Last reply
                0
                • I iamtheghost

                  Hey everyone,

                  I have been tinkering with the MySensors platform on and off now for roughly 3 years but I have never been successful at getting a "full" implementation of the platform into my home automation system. So, I am wiping the slate clean and looking for recommendations from you all based on the following:

                  • My first attempt at using MySensors was integrating it into OpenHab 2.4 running on a Raspbery Pi 3+. The configuration was also a nightmare for me and the documentation was never really accurate to my specific setup and was often too general to account for the nuance required to get MySensors working properly.

                  • I built a serial gateway and was able to get a few sensors sending data to OpenHab via the MySensors binding but it was unstable and often left a lot to be desired. Even after meticulously building sensors, simple sensors even, OpenHab just didn't feel like it was working seamlessly with MySensors. There was no explicit way to force a sensor to do an update from within the various OpeHab UIs, configuring something as simple as a DHT-11 sensor was often far more work and experimentation than it needed to be, and on and on.

                  • Using the serial gateway on the RPi limited my number of actual serial data lines on the hardware to zero. Creating software serial ports in Debian for other techologies like Heyu for x10 and a Zwave USB stick is nettlesome and tedious.

                  • I am looking for a recommendation on that combination of a gateway, controller, and hardware that "just works", has a slightly more straight-forward implementation and configuration process than OpenHab, and is well-documented.

                  I'm open to anything to lay it on me! Thank you all so much for all of your insight and help.

                  rejoe2R Offline
                  rejoe2R Offline
                  rejoe2
                  wrote on last edited by
                  #8

                  @iamtheghost I'm using FHEM as controller software in combination with MySensors (serial/USB, now all RS485 protocol using CAN transceivers) along with ZWave (USB-Dongle), HomeMatic-BidCoS (old technology, not -IP version, several Gateways, one of them @USB), Zigbee (deconz, also using an USB dongle) and some other MQTT-speaking stuff. Server's x86 based running on Debian (I dislike SD cards), and using a Raspberry Pi shouldn't be an issue, it's the most common platform for FHEM.

                  MySensors is as seamlessly integrated, as well as the other stuff is. But don't expect FHEM to be easily confgured. But when the learning curve flatens and you're familiar with it, it offers a lot of options to get whatever thing done...

                  Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

                  H 1 Reply Last reply
                  0
                  • rejoe2R rejoe2

                    @iamtheghost I'm using FHEM as controller software in combination with MySensors (serial/USB, now all RS485 protocol using CAN transceivers) along with ZWave (USB-Dongle), HomeMatic-BidCoS (old technology, not -IP version, several Gateways, one of them @USB), Zigbee (deconz, also using an USB dongle) and some other MQTT-speaking stuff. Server's x86 based running on Debian (I dislike SD cards), and using a Raspberry Pi shouldn't be an issue, it's the most common platform for FHEM.

                    MySensors is as seamlessly integrated, as well as the other stuff is. But don't expect FHEM to be easily confgured. But when the learning curve flatens and you're familiar with it, it offers a lot of options to get whatever thing done...

                    H Offline
                    H Offline
                    Harm
                    wrote on last edited by
                    #9

                    @rejoe2 I have a similar setup with FHEM. My mysensor 3 phase smart enegery meter including solar panels and natural gass has been working flawlessly for years. Temperature, humidity, air presure you name it, it works great in FHEM. I just drew a PCB for a mysensor 8 relay actuator with led push buttons. Going to send it to a PCB manufacturer soon.

                    1 Reply Last reply
                    0
                    • monteM Offline
                      monteM Offline
                      monte
                      wrote on last edited by monte
                      #10

                      Home Assistant is the best choice IMO, but it requires some additional code for presentation in your sketch, keep that in mind and read HA manual carefully. It is very well documented and has lots of integrations, themes and different useful modules, also their forum contains answers for most of the questions you may ask, and if not, people there are happy to help newbies.
                      As for hardware I am using Raspberry Pi gateway, radio is connected directly via SPI and native code is running as a separate application. It's probably the hardest way if you looking for ready to go option, but you may consider it if you will want to make some kind of integrated setup based on RPi.

                      1 Reply Last reply
                      0
                      • alowhumA Offline
                        alowhumA Offline
                        alowhum
                        Plugin Developer
                        wrote on last edited by
                        #11

                        I'd have a look at Candle. Lots of people are building it, and it's based on MySensors.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        15

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.1k

                        Posts


                        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

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