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. Troubleshooting
  3. Vera Plus and ESP8266

Vera Plus and ESP8266

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 5 Posters 5.9k 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.
  • D Offline
    D Offline
    djzang
    wrote on last edited by
    #9

    I must not be doing the inclusion correctly in my sketch or in general as I see this in the Vera logs:

    08      03/19/17 10:20:56.071   JobHandler_LuaUPnP::HandleActionRequest device: 36 service: urn:upnp-arduino-cc:serviceId:arduino1 action: StartInclusion <0x74d9d520>
    08      03/19/17 10:20:56.072   JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=36 <0x74d9d520>
    08      03/19/17 10:20:56.072   JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-arduino-cc:serviceId:arduino1 <0x74d9d520>
    08      03/19/17 10:20:56.072   JobHandler_LuaUPnP::HandleActionRequest argument action=StartInclusion <0x74d9d520>
    50      03/19/17 10:20:56.073   luup_log:36: Arduino: Sending: 0;0;3;0;5;1 <0x77e42320>
    04      03/19/17 10:20:56.078   <Job ID="14" Name="" Device="36" Created="2017-03-19 10:20:56" Started="2017-03-19 10:20:56" Completed="2017-03-19 10:20:56" Duration="0.5062000" Runtime="0.4342000" Status="Successful" LastNote=""/> <0x77e42320>
    50      03/19/17 10:20:56.118   luup_log:36: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 1, 36 <0x73b3d520>
    06      03/19/17 10:20:56.119   Device_Variable::m_szValue_set device: 36 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionMode was: 0 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xa920d0/NONE duplicate:0 <0x73b3d520>
    50      03/19/17 10:20:56.119   luup_log:36: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 0 devices found, 36 <0x73b3d520>
    06      03/19/17 10:20:56.120   Device_Variable::m_szValue_set device: 36 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionFoundCountHR was:  now: 0 devices found #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x73b3d520>```
    1 Reply Last reply
    0
    • korttomaK Offline
      korttomaK Offline
      korttoma
      Hero Member
      wrote on last edited by
      #10

      Maybe you could try commenting out everything in the loop() function to rule out this being the problem.

      And if you have not already tried then reboot and/or restart luup for your Vera.

      • Tomas
      1 Reply Last reply
      0
      • R Offline
        R Offline
        r-nox
        wrote on last edited by
        #11

        perhaps you need to set the duration?

        #define MY_INCLUSION_MODE_DURATION 60

        1 Reply Last reply
        0
        • D Offline
          D Offline
          djzang
          wrote on last edited by
          #12

          @r-nox said in Vera Plus and ESP8266:

          #define MY_INCLUSION_MODE_DURATION 60

          I uncommented out the above line and tested.... it keeps saying 0 devices found. I also tried removing everything under loop() as well and i get the same behavior.

          06      03/20/17 20:24:35.616   Device_Variable::m_szValue_set device: 39 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionMode was: 0 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xfc3e10/NONE duplicate:0 <0x73ce5520>
          50      03/20/17 20:24:35.616   luup_log:39: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 0 devices found, 39 <0x73ce5520>
          06      03/20/17 20:24:35.616   Device_Variable::m_szValue_set device: 39 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionFoundCountHR was:  now: 0 devices found #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x73ce5520>
          50      03/20/17 20:25:35.599   luup_log:39: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionMode, 0, 39 <0x73ce5520>
          06      03/20/17 20:25:35.599   Device_Variable::m_szValue_set device: 39 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionMode was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xfc3e10/NONE duplicate:0 <0x73ce5520>
          50      03/20/17 20:25:35.610   luup_log:39: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, , 39 <0x73ce5520>
          06      03/20/17 20:25:35.610   Device_Variable::m_szValue_set device: 39 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: InclusionFoundCountHR was: 0 devices found now:  #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x73ce5520>
          50      03/20/17 20:25:35.611   luup_log:39: Arduino: Inclusion mode ended. <0x73ce5520>
          

          and this is what i see in the serial monitor of the gateway:

          0;255;3;0;9;MCO:BGN:STP
          0;255;3;0;9;MCO:REG:NOT NEEDED
          0;255;3;0;9;MCO:BGN:INIT OK,TSP=NA pm open,type:2 0
          0;255;3;0;9;Client 0 connected
          0;255;3;0;9;Client 0: 0;0;3;0;2;Get Version
          0;255;3;0;9;Client 0:
          0;255;3;0;9;Client 0: 0;0;3;0;5;1
          0;255;3;0;9;Client 0:
          0;255;3;0;9;Client 0: 0;0;3;0;5;1
          0;255;3;0;9;Client 0:
          
          1 Reply Last reply
          0
          • mntlvrM Offline
            mntlvrM Offline
            mntlvr
            wrote on last edited by
            #13

            Hello djzang
            I just built the serial gw using esp-8266 but can not find how to physically hook it to Vera Plus or Vera 3 , do you have step by step instruction as how to do that maybe with pictures and what setup you entered in to the serial port configuration?
            Thanks

            korttomaK 1 Reply Last reply
            0
            • mntlvrM mntlvr

              Hello djzang
              I just built the serial gw using esp-8266 but can not find how to physically hook it to Vera Plus or Vera 3 , do you have step by step instruction as how to do that maybe with pictures and what setup you entered in to the serial port configuration?
              Thanks

              korttomaK Offline
              korttomaK Offline
              korttoma
              Hero Member
              wrote on last edited by
              #14

              @mntlvr I'm not sure what kind of serial chip is on the ESP8266 but Vera can not detect all types of serial chips because there are no drivers installed. FTDI chips should be detected by Vera automatically and then you just need to set the correct serial port settings:

              alt text

              • Tomas
              1 Reply Last reply
              0
              • mntlvrM Offline
                mntlvrM Offline
                mntlvr
                wrote on last edited by
                #15

                Thank you so much yes my 8266 has a ch340 serial chip.
                Where did you find your 8266 with FTDI chip on board?
                Bob

                1 Reply Last reply
                0
                • dbemowskD Offline
                  dbemowskD Offline
                  dbemowsk
                  wrote on last edited by
                  #16

                  Vera does not support the CH340. I had a CH340 based serial adapter that I was trying to use when I first got my Vera and I found out that it wasn't supported.

                  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
                  • mntlvrM Offline
                    mntlvrM Offline
                    mntlvr
                    wrote on last edited by
                    #17

                    So do you have a working serial general on your Vera now and does it use an ESP 8266 or a Arduino Nano

                    dbemowskD 1 Reply Last reply
                    0
                    • mntlvrM mntlvr

                      So do you have a working serial general on your Vera now and does it use an ESP 8266 or a Arduino Nano

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

                      @mntlvr If you are asking me, I run a plain serial gateway.

                      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
                      • mntlvrM Offline
                        mntlvrM Offline
                        mntlvr
                        wrote on last edited by
                        #19

                        So you are using a Arduino Nano with a FTDI chip?

                        dbemowskD 1 Reply Last reply
                        0
                        • mntlvrM mntlvr

                          So you are using a Arduino Nano with a FTDI chip?

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

                          @mntlvr Well, a pro mini, but close enough. It is a pro mini running an nRF24 network set up as a serial interface. Mine is not actually an FTDI chip, it is a PL2303 which is made by Prolific.

                          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
                          • mntlvrM Offline
                            mntlvrM Offline
                            mntlvr
                            wrote on last edited by
                            #21

                            How did you get Vera to install the non FTDI chip?

                            dbemowskD 1 Reply Last reply
                            0
                            • mntlvrM mntlvr

                              How did you get Vera to install the non FTDI chip?

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

                              @mntlvr The Vera controllers have a list of supported serial devices. If you look at this page under USB Serial Devices, looking at the chipset column you will see that the FTDI and PL2303 chipsets are the only ones that Vera natively supports. For the 2303 chipsets, some say that they don't work, and others say that manual configuration is needed. Mine luckily just worked with no extra configuration. That list was last modified in 2013 though, so what is supported/works and what doesn't most likely has changed since then.

                              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
                              • mntlvrM Offline
                                mntlvrM Offline
                                mntlvr
                                wrote on last edited by
                                #23

                                Okay thanks
                                Well I built a Ethernet board using 1.4.1 library and a W5100 Ethernet board and it worked right off so now I am as curious as heck to make the ESP 8266 work but I still think it has something to do with the newest library. I think I will start out with the Arduino IDE 1.6.4 or something like that and see if that makes a difference. Not very many on this site can help with the issue because they do not have Vera Controllers, so I have to figure this out and just keep trying

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


                                24

                                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