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. My Project
  3. Another beginner project

Another beginner project

Scheduled Pinned Locked Moved My Project
20 Posts 5 Posters 9.1k Views 2 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.
  • sundberg84S Offline
    sundberg84S Offline
    sundberg84
    Hardware Contributor
    wrote on last edited by
    #4

    No the gateway is always two ways. It communicates with the controller and sends/recieve from/to the nodes. Yes, it will recieve data from sensors and transmit it to controller.

    Works the same way, 433mhz switch sends to gateway, and then to controller. Scripts fire and controller sends back the same way.

    Controller: Proxmox VM - Home Assistant
    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

    1 Reply Last reply
    0
    • mikeeM Offline
      mikeeM Offline
      mikee
      wrote on last edited by
      #5

      I've gone same route as you are starting. After all I'm at Domoticz + MS gateway + RFlink. Works beautifully.

      1 Reply Last reply
      0
      • AstrofotografA Offline
        AstrofotografA Offline
        Astrofotograf
        wrote on last edited by
        #6

        So it should work like this (german, but I hope you can understand)

        unbenannt.png

        1 Reply Last reply
        0
        • mikeeM Offline
          mikeeM Offline
          mikee
          wrote on last edited by
          #7

          Exactly, different GWs, different Frequency and protocols.

          1 Reply Last reply
          0
          • AstrofotografA Offline
            AstrofotografA Offline
            Astrofotograf
            wrote on last edited by
            #8

            Thanks :)
            can't wait until the parts arrive..

            HenryWhiteH 1 Reply Last reply
            0
            • AstrofotografA Astrofotograf

              Thanks :)
              can't wait until the parts arrive..

              HenryWhiteH Offline
              HenryWhiteH Offline
              HenryWhite
              wrote on last edited by
              #9

              @Astrofotograf said:

              can't wait until the parts arrive..

              Hi! Which "Funklichtschalter (Sender)" are you going to use?

              1 Reply Last reply
              0
              • AstrofotografA Offline
                AstrofotografA Offline
                Astrofotograf
                wrote on last edited by Astrofotograf
                #10

                @HenryWhite said:

                Hi! Which "Funklichtschalter (Sender)" are you going to use?

                I ordered this one: "Smartwares SmartHome Funk-Einzelwandschalter 1-Kanal, SH5-TSW-A"

                together with this one: "Smartwares SmartHome Funk-Einbauschalter 1000 W, SH5-RBS-10A"

                and this one: "Smartwares SmartHome Funk-Fernbedienung 4-Kanal, SH5-TDR-F"

                But didn't try them yet, so no further experiences with them yet

                HenryWhiteH 1 Reply Last reply
                0
                • AstrofotografA Astrofotograf

                  @HenryWhite said:

                  Hi! Which "Funklichtschalter (Sender)" are you going to use?

                  I ordered this one: "Smartwares SmartHome Funk-Einzelwandschalter 1-Kanal, SH5-TSW-A"

                  together with this one: "Smartwares SmartHome Funk-Einbauschalter 1000 W, SH5-RBS-10A"

                  and this one: "Smartwares SmartHome Funk-Fernbedienung 4-Kanal, SH5-TDR-F"

                  But didn't try them yet, so no further experiences with them yet

                  HenryWhiteH Offline
                  HenryWhiteH Offline
                  HenryWhite
                  wrote on last edited by HenryWhite
                  #11

                  @Astrofotograf nice, didn't knew they were that cheap nowadays. How are you going to get the (binary) code from these 433mhz switches? Do you have any useful links/tutorials for that? :smile:

                  1 Reply Last reply
                  0
                  • AstrofotografA Offline
                    AstrofotografA Offline
                    Astrofotograf
                    wrote on last edited by
                    #12

                    With an arduino + 433 MHz receiver. The library is rc switch. There is a receive example sketch coming with it

                    1 Reply Last reply
                    0
                    • sundberg84S Offline
                      sundberg84S Offline
                      sundberg84
                      Hardware Contributor
                      wrote on last edited by sundberg84
                      #13

                      Are you sure this library are supported by openhab? Might be worth checking out first.
                      A quick google shows atleast there are RFXCom bindings (protocoll for gateway to talk to controller) for openhab

                      Controller: Proxmox VM - Home Assistant
                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        BastienVH
                        wrote on last edited by BastienVH
                        #14

                        When I used OpenHAB as a controller , I used the pilight plugin.
                        If you setup a pilight-instance, you can connect it to OpenHAB and let that read out states and send commands.
                        I didn't look dor a way to directly control an arduino from OpenHAB, seeing as pilight worked fine.

                        EDIT: just to clarify: pilight has an arduino sketch you can upload to a nano (which is what I used) to act as a gateway.
                        You won't need the expensive RFXCom.

                        1 Reply Last reply
                        0
                        • AstrofotografA Offline
                          AstrofotografA Offline
                          Astrofotograf
                          wrote on last edited by
                          #15

                          So you add the 433 MHz modules directly to the rapberry GPIO pins and use the arduino just for the sensors?

                          HenryWhiteH 1 Reply Last reply
                          0
                          • AstrofotografA Astrofotograf

                            So you add the 433 MHz modules directly to the rapberry GPIO pins and use the arduino just for the sensors?

                            HenryWhiteH Offline
                            HenryWhiteH Offline
                            HenryWhite
                            wrote on last edited by
                            #16

                            @Astrofotograf said:

                            So you add the 433 MHz modules directly to the rapberry GPIO pins and use the arduino just for the sensors?

                            Besides pilight there's also rcswitch-pi, basically rcswitch for the raspberry pi.

                            1 Reply Last reply
                            0
                            • AstrofotografA Offline
                              AstrofotografA Offline
                              Astrofotograf
                              wrote on last edited by
                              #17

                              But in general, I could save the second gateway with that?
                              I'm not sure if I understand all of that correctly. Just spent a few hours to get the demo of openHAB running and still get some errors (persistence service not available) where I don't know whether it is normal to get these errors..

                              B 1 Reply Last reply
                              0
                              • AstrofotografA Astrofotograf

                                But in general, I could save the second gateway with that?
                                I'm not sure if I understand all of that correctly. Just spent a few hours to get the demo of openHAB running and still get some errors (persistence service not available) where I don't know whether it is normal to get these errors..

                                B Offline
                                B Offline
                                BastienVH
                                wrote on last edited by
                                #18

                                @Astrofotograf
                                Pilight can use 433MHz senders and receivers connected to the GPIO-pins of the Raspberry Pi.
                                Problem with that is that the pi will need to filter all of the frequency noise which leads to higher cpu-usage and slower processing of other tasks (OpenHAB is quite resource-heavy in my opinion - on a RPi B+).
                                That's why they also have pilight-usb-nano which is a sketch/hex-file to upload to an arduino nano. This way the nano will filter out the noise and only feed recognizable commands to pilight, which in its way sends the commands to OpenHAB.
                                In that regard it acts as a gateway for your controller.

                                1 Reply Last reply
                                0
                                • AstrofotografA Offline
                                  AstrofotografA Offline
                                  Astrofotograf
                                  wrote on last edited by
                                  #19

                                  Okay, thanks. Seems I just have to experiment a bit with it.

                                  1 Reply Last reply
                                  0
                                  • AstrofotografA Offline
                                    AstrofotografA Offline
                                    Astrofotograf
                                    wrote on last edited by
                                    #20

                                    Hm, I installed OpenHAB now on my RasPi, also Mosquitto. I think I begin to understand this. So MQTT is just some kind of "forum", and when in the thread "livingroom/temperature" something changes, OpenHAB recognizes it. The sensor sends just its data to the gateway and the gateway writes the MQTT thread?
                                    Will the other way round work too, so OpenHAB writes data into a specific thread, the gateway recognizes it and sends a command so, say a servo node to move something?

                                    If that all is correct, I sould be able to connect the 433 MHz things just like a normal sensor node. The receiver acts as a normal sensor and the sender could use the servo sketch to send some commands via 433 MHz band?

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


                                    23

                                    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