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. Vera
  4. UI5 Mysensors library 2.0 gateway issues

UI5 Mysensors library 2.0 gateway issues

Scheduled Pinned Locked Moved Vera
73 Posts 8 Posters 15.7k Views 8 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.
  • BartEB BartE

    @stofakiller no the 8 month old files where OK for me (UI5)

    ramoncarranzaR Offline
    ramoncarranzaR Offline
    ramoncarranza
    wrote on last edited by
    #11

    @BartE
    Hi, my plugin still shows version 1.5 even though I am using Version 2.0, I have not been able to include a single sensor. I have created 3 of them and not one can be found by the Plugin after the Inclusion button is pressed, any input would be greatly appreciated.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by hek
      #12

      The vera plugin still has version 1.5. It does not correlate to MySensors Arduino library versions.

      https://github.com/mysensors/Vera/blob/development/L_Arduino.lua#L20

      Are you on UI7 or UI5?

      When pressing inclusion mode button, does anything happen in the UI? (the text changes in the device to "found devices...")

      1 Reply Last reply
      0
      • ramoncarranzaR Offline
        ramoncarranzaR Offline
        ramoncarranza
        wrote on last edited by
        #13

        hi, I am using UI5. After pressing the Start button it indicates that "0 devices found"

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #14

          Ok, so at least you have a contact with the gateway.

          After starting inclusion mode, do you restart the wireless node? It usually only sends its presentation messages during startup.

          1 Reply Last reply
          0
          • ramoncarranzaR Offline
            ramoncarranzaR Offline
            ramoncarranza
            wrote on last edited by
            #15

            Yes, I start by having the sensor unplugged, that right after the Start button is pressed I plug in the sensor. One thing I noticed though, is that if I go to the LUUP files and try to "view" them, som of them display the folling message:

            This page contains the following errors:

            error on line 1 at column 1: Document is empty
            Below is a rendering of the page up to the first error.

            but if I download the same LUUP file and open it in Notepad the file is there

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #16

              Just to verify. You mean that you plug in the wireless sensor (with a radio)? Not the gateway?

              If so, you should have a look in the serial log of the gateway (Serial Monitor in Arduino IDE) while it is connected to your computer. Restart the (wireless) node an capture the log.

              ramoncarranzaR 1 Reply Last reply
              0
              • ramoncarranzaR Offline
                ramoncarranzaR Offline
                ramoncarranza
                wrote on last edited by
                #17

                yes the wireless sensor with radio, not the Gateway. The gateway is plugged in on the Vera's USB port. Ok will do.
                Thanks

                1 Reply Last reply
                0
                • hekH hek

                  Just to verify. You mean that you plug in the wireless sensor (with a radio)? Not the gateway?

                  If so, you should have a look in the serial log of the gateway (Serial Monitor in Arduino IDE) while it is connected to your computer. Restart the (wireless) node an capture the log.

                  ramoncarranzaR Offline
                  ramoncarranzaR Offline
                  ramoncarranza
                  wrote on last edited by
                  #18

                  @hek ok the serial monitor comes up blank, with this in the upper left corner:

                  "1Öyô¹¹q0"

                  nothing happens after the wireless sensor is powered.....

                  1 Reply Last reply
                  0
                  • hekH Offline
                    hekH Offline
                    hek
                    Admin
                    wrote on last edited by
                    #19

                    Did you set the correct baudrate?

                    https://www.mysensors.org/build/debug

                    1 Reply Last reply
                    0
                    • ramoncarranzaR Offline
                      ramoncarranzaR Offline
                      ramoncarranza
                      wrote on last edited by
                      #20

                      after switching to 115200 baud, the following poped up:

                      0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                      0;255;3;0;9;TSM:INIT
                      0;255;3;0;9;TSM:RADIO:OK
                      0;255;3;0;9;TSM:GW MODE
                      0;255;3;0;9;TSM:READY
                      0;255;3;0;14;Gateway startup complete.
                      0;255;0;0;18;2.0.0
                      0;255;3;0;9;No registration required
                      0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1

                      no changed occurred when wireless sensor was re-started

                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #21

                        Ok, so your communication is not working.

                        1 Reply Last reply
                        0
                        • ramoncarranzaR Offline
                          ramoncarranzaR Offline
                          ramoncarranza
                          wrote on last edited by
                          #22

                          should I wire up a new radio, should I wire up a complete gateway with radio (or both)?

                          1 Reply Last reply
                          0
                          • hekH Offline
                            hekH Offline
                            hek
                            Admin
                            wrote on last edited by
                            #23

                            You should probably look at the nodes log.

                            ramoncarranzaR 1 Reply Last reply
                            0
                            • hekH hek

                              You should probably look at the nodes log.

                              ramoncarranzaR Offline
                              ramoncarranzaR Offline
                              ramoncarranza
                              wrote on last edited by
                              #24

                              @hek ok, I plugged in the Motion Sensor to check the Serial log and nothing came up. I opened the sketch on wordpad and noticed that there is no entry on Baud rate whatsoever (I no nothing about code so I don't know if that means anything).

                              in regards to my other Sensor which is a Temp/Humidity Sensor, the sketch is not on my Library it was not included on the downloaded Zip file, so I downloaded it from here:

                              https://www.mysensors.org/build/humidity

                              but the downloaded copy does not have any entry for the radio and the baud rate is set 9600 so that's why the Gateway cant communicate with them,,I think.

                              1 Reply Last reply
                              0
                              • hekH Offline
                                hekH Offline
                                hek
                                Admin
                                wrote on last edited by
                                #25

                                The baud rate has nothing to do with the radio communication. It's only used for the serial communication. That is debug prints or communication with controller.

                                I don't understand what you mean by "the downloaded copy does not have any entry for the radio".

                                1 Reply Last reply
                                0
                                • ramoncarranzaR Offline
                                  ramoncarranzaR Offline
                                  ramoncarranza
                                  wrote on last edited by
                                  #26

                                  include "DHT.h"

                                  DHT dht;

                                  void setup()
                                  {
                                  Serial.begin(9600);
                                  Serial.println();
                                  Serial.println("Status\tHumidity (%)\tTemperature (C)\t(F)");

                                  dht.setup(2); // data pin 2
                                  }

                                  void loop()
                                  {
                                  delay(dht.getMinimumSamplingPeriod());

                                  float humidity = dht.getHumidity();
                                  float temperature = dht.getTemperature();

                                  Serial.print(dht.getStatusString());
                                  Serial.print("\t");
                                  Serial.print(humidity, 1);
                                  Serial.print("\t\t");
                                  Serial.print(temperature, 1);
                                  Serial.print("\t\t");
                                  Serial.println(dht.toFahrenheit(temperature), 1);
                                  }

                                  1 Reply Last reply
                                  0
                                  • hekH Offline
                                    hekH Offline
                                    hek
                                    Admin
                                    wrote on last edited by
                                    #27

                                    wot? That isn't the example you linked above.

                                    1 Reply Last reply
                                    0
                                    • ramoncarranzaR Offline
                                      ramoncarranzaR Offline
                                      ramoncarranza
                                      wrote on last edited by
                                      #28

                                      Example
                                      "This example uses the external DTH library found here. Please install it and restart the Arduino IDE before trying to compile."

                                      if you click the "here", that's what downloads

                                      1 Reply Last reply
                                      0
                                      • hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #29

                                        "This example" refers to the example found on the mysensors page.
                                        "uses the external DHT library" means you have to install the library in your ide by downloading it and install in your IDEs library path.

                                        If you want to fetch all the examples and support libraries in one schwong, use this link:
                                        https://github.com/mysensors/MySensorsArduinoExamples/archive/master.zip

                                        ramoncarranzaR 2 Replies Last reply
                                        0
                                        • ramoncarranzaR Offline
                                          ramoncarranzaR Offline
                                          ramoncarranza
                                          wrote on last edited by
                                          #30

                                          got it thanks

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


                                          10

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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