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. New to MySensors

New to MySensors

Scheduled Pinned Locked Moved General Discussion
16 Posts 3 Posters 2.5k Views 3 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.
  • ? A Former User

    Hello, I am new to Mysensors and pretty much the whole IOT world. I am an electronics student in college, and I've been trying to get hands on with real life projects and applications. I'm working with an older cousin of mine he loves to tinker with these things, and is really dedicated to open source. We managed to flash one Sonoff with tasmota using Usb to TTL serial converter CP2012, and can't get any others to transmit. Wanted to test with Home Assistant on Pi 3. You can also see that I broke a button lol. Any ideas to fix that? Last thing if anyone lives remotely close to central CT and wants to discuss projects and help each other along. We'd gladly buy lunch.
    1_1526075845717_0505181657a.jpg 0_1526075845716_0509181851.jpg

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

    @joshwizzard Welcome to MySensors. If you have questions, there is a GREAT team of people on this forum that can help with nearly any issue you have related to home automation.

    I have a number of Sonoff devices in play in my automation setup, but I have never used Tasmota though, and nor have I used Home Assistant. Mine use ESP Easy firmware and I use it with my Vera home controller. I wrote a BLOG post article on how to set it up for a Vera. https://dan.bemowski.info/2017/07/04/using-a-sonoff-with-espeasy-and-vera/ Maybe you can get some information from it.

    As for the button, looks like you'll be replacing that or living without it. It is not crucial that you have it outside of the fact that it helps for programming it.

    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
    1
    • ? A Former User

      Hello, I am new to Mysensors and pretty much the whole IOT world. I am an electronics student in college, and I've been trying to get hands on with real life projects and applications. I'm working with an older cousin of mine he loves to tinker with these things, and is really dedicated to open source. We managed to flash one Sonoff with tasmota using Usb to TTL serial converter CP2012, and can't get any others to transmit. Wanted to test with Home Assistant on Pi 3. You can also see that I broke a button lol. Any ideas to fix that? Last thing if anyone lives remotely close to central CT and wants to discuss projects and help each other along. We'd gladly buy lunch.
      1_1526075845717_0505181657a.jpg 0_1526075845716_0509181851.jpg

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

      @joshwizzard look for debug output over serial console, that helps understand what it is doing (if you flashed it successfully). For the first time I usually suggest to use the precompiled bin file and upload it with any flash tool for esp8266

      1 Reply Last reply
      1
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #4

        I found this https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-Basic#serial-connection
        They added a wire right to the chip. Does anyone do this, or has anyone tried this before?

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

          Of course we have done it, soldering pin headers for vcc gnd TX rx is the standard way to get access to the esp8266 to flash it with anything you want. There is no need for the extra wire (but you may need to solder a wire in place of the broken button if you want to put the esp8266 in flash mode)

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by A Former User
            #6

            I've soldered the connectors. Checked power with a voltmeter. I still only get the RX to flash once, and will not flash the sonoff. Arduino IDE won't even show the Port.

            dbemowskD 1 Reply Last reply
            0
            • ? A Former User

              I've soldered the connectors. Checked power with a voltmeter. I still only get the RX to flash once, and will not flash the sonoff. Arduino IDE won't even show the Port.

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

              @joshwizzard are you holding GPIO0 to ground at power on to put it in programming mode?

              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
              • dbemowskD dbemowsk

                @joshwizzard are you holding GPIO0 to ground at power on to put it in programming mode?

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #8

                @dbemowsk I'm holding the button in before connecting the USB.

                dbemowskD 1 Reply Last reply
                0
                • ? A Former User

                  @dbemowsk I'm holding the button in before connecting the USB.

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

                  @joshwizzard that sounds correct. What are you using to program it? Arduino IDE?

                  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
                  • dbemowskD dbemowsk

                    @joshwizzard that sounds correct. What are you using to program it? Arduino IDE?

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #10

                    @dbemowsk Yes I am. The error is failed to open COM1 and I cannot select a port because it is grayed out.

                    dbemowskD gohanG 2 Replies Last reply
                    0
                    • gohanG Offline
                      gohanG Offline
                      gohan
                      Mod
                      wrote on last edited by
                      #11

                      Maybe it's a bad usb serial adapter you have.

                      dbemowskD 1 Reply Last reply
                      0
                      • ? A Former User

                        @dbemowsk Yes I am. The error is failed to open COM1 and I cannot select a port because it is grayed out.

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

                        @joshwizzard if you are using windows, check the device manager. Could be a driver issue. Check for devices with an exclamation point on them, probably under COM & LPT section. If it shows an error 10 or other error, Google your adapter model and the error you see. You should come up with a solution.

                        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
                        • ? A Former User

                          @dbemowsk Yes I am. The error is failed to open COM1 and I cannot select a port because it is grayed out.

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

                          @joshwizzard said in New to MySensors:

                          @dbemowsk Yes I am. The error is failed to open COM1 and I cannot select a port because it is grayed out.

                          Are you sure it is COM1? Usually that is the computer serial port, not the external one. Did you set the correct voltage for the Arduino you are using?

                          1 Reply Last reply
                          0
                          • gohanG gohan

                            Maybe it's a bad usb serial adapter you have.

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

                            @gohan I have a USB to serial adapter that is apparently a clone of a more popular brand. I don't have the model in front of me right now, but I had to download a different driver for it to make it work. That's why I mentioned to him to check the Windows device manager. You are also correct that Com1 is usually the computers internal serial port, that is if it has one. Most newer laptops don't have a serial port any more, and Desktops have not come with one in quite some time. So there is the possibility that it could still identify as Com1.

                            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
                              #15

                              yes, it could be too many things

                              1 Reply Last reply
                              0
                              • dbemowskD dbemowsk

                                @gohan I have a USB to serial adapter that is apparently a clone of a more popular brand. I don't have the model in front of me right now, but I had to download a different driver for it to make it work. That's why I mentioned to him to check the Windows device manager. You are also correct that Com1 is usually the computers internal serial port, that is if it has one. Most newer laptops don't have a serial port any more, and Desktops have not come with one in quite some time. So there is the possibility that it could still identify as Com1.

                                ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #16

                                @dbemowsk Thank you for the help so far. The first time we flashed tasmota successfully I did update the drivers from the USB converters website and were able to select COM5. We have since tried pogo pins and other USB adapters. I will check everything again.

                                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