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. Controllers
  3. OpenHAB
  4. Raspberry PI OpenHab and gateway

Raspberry PI OpenHab and gateway

Scheduled Pinned Locked Moved OpenHAB
16 Posts 5 Posters 5.5k Views 5 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #6

    Ethernet gateway is the simplest to get to work. 😀

    1 Reply Last reply
    0
    • S strangeoptics

      To answer the second Point.
      MQTT is in the IOT world a defaco standard and should get used as much as it can be.
      Unfortunately at the moment the OpenHAB binding for MySensors doesn't Support MQTT. But I read it is on the way.
      You can use OpenHAB with MQTT and without the binding but than you can't use smart sleep which enables your nodes to sleep most of the time and save lots of energy.

      rozpruwaczR Offline
      rozpruwaczR Offline
      rozpruwacz
      wrote on last edited by
      #7

      @strangeoptics what is the point of using mqtt gateway with dedicated mysensors binding ? At least from the side of OpenHAB if using mysensors bindig, the underlying protocol doesn't matter.
      Other thing, could you elaborate more on the smartSleep topic ? I'm not using smartSleep, I'm just using sleep and my nodes are sleeping most of the time so it is not true that using mqtt makes it impossible nodes to sleep. What are the differences between smartSleep and sleep and why smartSleep does not work with mqtt ?

      S 1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #8

        Smartsleep actually allows to queue some commands to be executed when sensor wakes up

        rozpruwaczR 1 Reply Last reply
        0
        • gohanG gohan

          Smartsleep actually allows to queue some commands to be executed when sensor wakes up

          rozpruwaczR Offline
          rozpruwaczR Offline
          rozpruwacz
          wrote on last edited by
          #9

          @gohan the nature of sleeping nodes makes it rather useless to send them commands form the controller, what use cases are You talking about ? Sensor configuration is one use case I can think about but this is much more related to controller that has to be able to queue commands than to just smartSleep function.

          1 Reply Last reply
          0
          • rozpruwaczR rozpruwacz

            @strangeoptics what is the point of using mqtt gateway with dedicated mysensors binding ? At least from the side of OpenHAB if using mysensors bindig, the underlying protocol doesn't matter.
            Other thing, could you elaborate more on the smartSleep topic ? I'm not using smartSleep, I'm just using sleep and my nodes are sleeping most of the time so it is not true that using mqtt makes it impossible nodes to sleep. What are the differences between smartSleep and sleep and why smartSleep does not work with mqtt ?

            S Offline
            S Offline
            strangeoptics
            wrote on last edited by
            #10

            @rozpruwacz Sorry for my somehow confusing post.
            Smart sleep is important if you not only want to get some sensor reading once in a while but want to actively control a device like lights or a power plug. To receive commands in your node you have to be always online or use smart sleep.
            MQTT is good for decoupling. If you channel alle your communication through mqtt the rest of your smart things that speak mqtt could directly act on them. Or you can log the data and other stuff. It is just more flexible and more open.

            But like gohan said the Ethernet is simpler for a start.

            rozpruwaczR 1 Reply Last reply
            0
            • S strangeoptics

              @rozpruwacz Sorry for my somehow confusing post.
              Smart sleep is important if you not only want to get some sensor reading once in a while but want to actively control a device like lights or a power plug. To receive commands in your node you have to be always online or use smart sleep.
              MQTT is good for decoupling. If you channel alle your communication through mqtt the rest of your smart things that speak mqtt could directly act on them. Or you can log the data and other stuff. It is just more flexible and more open.

              But like gohan said the Ethernet is simpler for a start.

              rozpruwaczR Offline
              rozpruwaczR Offline
              rozpruwacz
              wrote on last edited by
              #11

              @strangeoptics I don't think that smartSleep will enable to control device like lights. At least what is written in the api docs, the smartSleep just do some additional tasks before going to sleep, but when it goes to sleep there is no way to controll the lights until the sensor wakes up.

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #12

                smartsleep is more for like garden water controller in case you need to change the schedule, or any other needs where of course you don't need immediate interaction

                S 1 Reply Last reply
                0
                • rozpruwaczR Offline
                  rozpruwaczR Offline
                  rozpruwacz
                  wrote on last edited by
                  #13

                  oh, yes :) now it makes sense. Actually I just realised that my z-wave controlled radiator works in this manner :)

                  1 Reply Last reply
                  0
                  • gohanG gohan

                    smartsleep is more for like garden water controller in case you need to change the schedule, or any other needs where of course you don't need immediate interaction

                    S Offline
                    S Offline
                    strangeoptics
                    wrote on last edited by
                    #14

                    @gohan Yes it depends on the time lag or reaction time one can live with. I could live with 10-20 seconds for most of my things. And in this mode the node can stay for years on battery. Not actually tested but calculated ;)

                    1 Reply Last reply
                    1
                    • gohanG Offline
                      gohanG Offline
                      gohan
                      Mod
                      wrote on last edited by
                      #15

                      In fact it depends what you are automating, because I wouldn't live with lights that turn on after 10 seconds I pressed the button 😁

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        FredRoot
                        wrote on last edited by
                        #16

                        Hi,

                        I have decided to use Network Gateway and not serial Gateway.

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


                        17

                        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