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. OpenHardware.io
  3. 💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway

💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway

Scheduled Pinned Locked Moved OpenHardware.io
mqttsonoffhome assistanesp8266
93 Posts 25 Posters 28.1k Views 20 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 gohan

    Can the Vera plug in work with mqtt?

    dbemowskD Offline
    dbemowskD Offline
    dbemowsk
    wrote on last edited by
    #82

    @gohan Here is a plugin for MQTT using Vera. You would still need to have an MQTT Broker set up though. I am surprised that there is not an active MQTT plugin for Vera in the plugins section. Didn't find anything when I did a search for MQTT.

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

      I was just asking since tasmota works great on mqtt

      1 Reply Last reply
      0
      • tripyT Offline
        tripyT Offline
        tripy
        wrote on last edited by
        #84

        I will just leave that here for other like me that wondered for hours why they could flash their sonoff, but it did not react once plugged to the main.

        You need to setup your arduino with DOUT as flash mode.
        Other mode will flash without errors, but the device will appear bricked.
        My settings where:
        0_1517047090707_sonoff flashing settings.png

        K 1 Reply Last reply
        1
        • tripyT tripy

          I will just leave that here for other like me that wondered for hours why they could flash their sonoff, but it did not react once plugged to the main.

          You need to setup your arduino with DOUT as flash mode.
          Other mode will flash without errors, but the device will appear bricked.
          My settings where:
          0_1517047090707_sonoff flashing settings.png

          K Offline
          K Offline
          kalle
          wrote on last edited by
          #85

          @tripy yes, you are absolute right - you need to set the flash Mode to DOUT for flashing the newer SONOFF generation (the SONOFF's with the hidden green LED).

          1 Reply Last reply
          0
          • vladimirV Offline
            vladimirV Offline
            vladimir
            wrote on last edited by
            #86

            Hello!
            Maybe someone here has a code for Sonoff RF with support 433 MHz receiver?
            alt text

            In my opinion, paired with a wireless wall switch, this will turn out to be quite a cheap and convenient solution for lighting control.
            alt text
            alt text

            The cost of a set of relay and switch about 10 dollars.

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

              Did you try this?
              https://github.com/arendst/Sonoff-Tasmota

              vladimirV 1 Reply Last reply
              0
              • electrikE electrik

                Did you try this?
                https://github.com/arendst/Sonoff-Tasmota

                vladimirV Offline
                vladimirV Offline
                vladimir
                wrote on last edited by
                #88

                @electrik Now I just read the description of this firmware. To do this, I need to understand how to work with MQTT. I hoped to find a simpler solution. Ethernet gateway is much easier to connect.:man-shrugging:

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

                  Mqtt Is really easy to use in fact. Just follow a tutorial to install mosquitto and you're ready to go.
                  It also depends on your controller of course

                  vladimirV 1 Reply Last reply
                  0
                  • electrikE electrik

                    Mqtt Is really easy to use in fact. Just follow a tutorial to install mosquitto and you're ready to go.
                    It also depends on your controller of course

                    vladimirV Offline
                    vladimirV Offline
                    vladimir
                    wrote on last edited by
                    #90

                    @electrik Thanks you! Now I will order everything I need on TaoBao in China. I just yesterday learned about the existence of the Sonoff module with 433 MHz radio support and wall switches for them.

                    1 Reply Last reply
                    0
                    • vladimirV vladimir

                      @electrik Now I just read the description of this firmware. To do this, I need to understand how to work with MQTT. I hoped to find a simpler solution. Ethernet gateway is much easier to connect.:man-shrugging:

                      gohanG Offline
                      gohanG Offline
                      gohan
                      Mod
                      wrote on last edited by
                      #91

                      @vladimir what controller are you using? Most home automation controllers like domoticz and Home Assistant have a quick integration with Tasmota or EspEasy

                      vladimirV 1 Reply Last reply
                      0
                      • gohanG gohan

                        @vladimir what controller are you using? Most home automation controllers like domoticz and Home Assistant have a quick integration with Tasmota or EspEasy

                        vladimirV Offline
                        vladimirV Offline
                        vladimir
                        wrote on last edited by
                        #92

                        @gohan I use OpenHAB 2. As I understand it, it also integrates well with Tasmota.

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

                          good, give it a try

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


                          13

                          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