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. Vera Plus plugin issues (and choosing the right controller in general)

Vera Plus plugin issues (and choosing the right controller in general)

Scheduled Pinned Locked Moved Vera
3 Posts 2 Posters 22 Views 1 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.
  • Max KurilovM Offline
    Max KurilovM Offline
    Max Kurilov
    wrote on last edited by
    #1

    I'm trying to make Vera plug-in work with my serail gateway. I've discovered that the github version of the plug-in doesn't work with my Vera Plus (UI7) because of at least one reason.

    It turns out that the "InclusionMode" luup variable is not populated, so that "presentation" function wasn't able to see if the plug-in in inclusion mode. I've added luup.variable_set clauses to "startInclusion" / "stopInclusion" functions.

    Now the Vera log displays the following:

    50      06/06/21 12:43:40.607   luup_log:261: Arduino plugin: loading library L_Arduino ... <0x76d44520>
    50      06/06/21 12:43:40.624   luup_log:261: Arduino plugin: library L_Arduino loaded <0x76d44520>
    50      06/06/21 12:43:40.626   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.5, 261 <0x76d44520>
    50      06/06/21 12:43:40.626   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,GWAddress, -, 261 <0x76d44520>
    50      06/06/21 12:43:40.626   luup_log:261: Arduino: Trying for a serial connection <0x76d44520>
    50      06/06/21 12:43:40.627   luup_log:261: Arduino: Serial port is connected <0x76d44520>
    50      06/06/21 12:43:40.627   luup_log:261: Arduino: Baud is 115200 <0x76d44520>
    50      06/06/21 12:43:40.627   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,GWAddress, 260(115200), 261 <0x76d44520>
    50      06/06/21 12:43:40.629   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,Unit, M, 261 <0x76d44520>
    50      06/06/21 12:43:40.629   luup_log:261: Arduino: Sending: 0;0;3;0;2;Get Version <0x76d44520>
    50      06/06/21 12:43:40.638   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 2.3.2, 261 <0x73428520>
    50      06/06/21 12:44:24.016   luup_log:261: Arduino: Staring inclusion ... <0x777f7320>
    50      06/06/21 12:44:24.018   luup_log:261: Arduino: Sending: 0;0;3;0;5;1 <0x777f7320>
    50      06/06/21 12:44:35.433   luup_log:261: Arduino: Presentation: 2;255;0;0;17;2.3.2 <0x73428520>
    50      06/06/21 12:44:35.434   luup_log:261: Arduino: Processing presentation. Mode is 1 <0x73428520>
    50      06/06/21 12:44:35.434   luup_log:261: Arduino: Entering into adding a new device branch... <0x73428520>
    50      06/06/21 12:44:35.434   luup_log:261: Arduino: Found new device 2;255 <0x73428520>
    50      06/06/21 12:44:35.434   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 1 devices found, 261 <0x73428520>
    02      06/06/21 12:44:35.445   luup_log:261: Arduino: Incoming internal command '2;255;3;0;6;0' discarded for child: nil <0x73428520>
    02      06/06/21 12:44:37.464   luup_log:261: Arduino: Incoming internal command '2;255;3;0;11;Neptune Relay' discarded for child: nil <0x73428520>
    02      06/06/21 12:44:37.474   luup_log:261: Arduino: Incoming internal command '2;255;3;0;12;1.0.1' discarded for child: nil <0x73428520>
    50      06/06/21 12:44:37.483   luup_log:261: Arduino: Presentation: 2;1;0;0;3; <0x73428520>
    50      06/06/21 12:44:37.483   luup_log:261: Arduino: Processing presentation. Mode is 1 <0x73428520>
    50      06/06/21 12:44:37.484   luup_log:261: Arduino: Entering into adding a new device branch... <0x73428520>
    50      06/06/21 12:44:37.484   luup_log:261: Arduino: Found new device 2;1 <0x73428520>
    50      06/06/21 12:44:37.484   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 2 devices found, 261 <0x73428520>
    50      06/06/21 12:44:37.492   luup_log:261: Arduino: Presentation: 2;2;0;0;3; <0x73428520>
    50      06/06/21 12:44:37.492   luup_log:261: Arduino: Processing presentation. Mode is 1 <0x73428520>
    50      06/06/21 12:44:37.492   luup_log:261: Arduino: Entering into adding a new device branch... <0x73428520>
    50      06/06/21 12:44:37.493   luup_log:261: Arduino: Found new device 2;2 <0x73428520>
    50      06/06/21 12:44:37.493   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 3 devices found, 261 <0x73428520>
    

    So that the plug-in now started to process new devices but there are more issues to resolve because it doesn't finish the inclusion process yet.

    Considering the fact that github for the plugin is not updated for 5 years I wonder is there a chance someone already did the fixes I do. Or, if not, what controllers you guys are using with MySensor gateways? I'd rather switch to another controller instead of trying to fix issues for the controller that nobody uses.

    HW: HomeAssistant on Rock Pi 4 + Pro Mini Serial GW + Arduino & nRF52840 / 52811 nodes.

    nagelcN 1 Reply Last reply
    0
    • Max KurilovM Max Kurilov

      I'm trying to make Vera plug-in work with my serail gateway. I've discovered that the github version of the plug-in doesn't work with my Vera Plus (UI7) because of at least one reason.

      It turns out that the "InclusionMode" luup variable is not populated, so that "presentation" function wasn't able to see if the plug-in in inclusion mode. I've added luup.variable_set clauses to "startInclusion" / "stopInclusion" functions.

      Now the Vera log displays the following:

      50      06/06/21 12:43:40.607   luup_log:261: Arduino plugin: loading library L_Arduino ... <0x76d44520>
      50      06/06/21 12:43:40.624   luup_log:261: Arduino plugin: library L_Arduino loaded <0x76d44520>
      50      06/06/21 12:43:40.626   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.5, 261 <0x76d44520>
      50      06/06/21 12:43:40.626   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,GWAddress, -, 261 <0x76d44520>
      50      06/06/21 12:43:40.626   luup_log:261: Arduino: Trying for a serial connection <0x76d44520>
      50      06/06/21 12:43:40.627   luup_log:261: Arduino: Serial port is connected <0x76d44520>
      50      06/06/21 12:43:40.627   luup_log:261: Arduino: Baud is 115200 <0x76d44520>
      50      06/06/21 12:43:40.627   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,GWAddress, 260(115200), 261 <0x76d44520>
      50      06/06/21 12:43:40.629   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,Unit, M, 261 <0x76d44520>
      50      06/06/21 12:43:40.629   luup_log:261: Arduino: Sending: 0;0;3;0;2;Get Version <0x76d44520>
      50      06/06/21 12:43:40.638   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 2.3.2, 261 <0x73428520>
      50      06/06/21 12:44:24.016   luup_log:261: Arduino: Staring inclusion ... <0x777f7320>
      50      06/06/21 12:44:24.018   luup_log:261: Arduino: Sending: 0;0;3;0;5;1 <0x777f7320>
      50      06/06/21 12:44:35.433   luup_log:261: Arduino: Presentation: 2;255;0;0;17;2.3.2 <0x73428520>
      50      06/06/21 12:44:35.434   luup_log:261: Arduino: Processing presentation. Mode is 1 <0x73428520>
      50      06/06/21 12:44:35.434   luup_log:261: Arduino: Entering into adding a new device branch... <0x73428520>
      50      06/06/21 12:44:35.434   luup_log:261: Arduino: Found new device 2;255 <0x73428520>
      50      06/06/21 12:44:35.434   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 1 devices found, 261 <0x73428520>
      02      06/06/21 12:44:35.445   luup_log:261: Arduino: Incoming internal command '2;255;3;0;6;0' discarded for child: nil <0x73428520>
      02      06/06/21 12:44:37.464   luup_log:261: Arduino: Incoming internal command '2;255;3;0;11;Neptune Relay' discarded for child: nil <0x73428520>
      02      06/06/21 12:44:37.474   luup_log:261: Arduino: Incoming internal command '2;255;3;0;12;1.0.1' discarded for child: nil <0x73428520>
      50      06/06/21 12:44:37.483   luup_log:261: Arduino: Presentation: 2;1;0;0;3; <0x73428520>
      50      06/06/21 12:44:37.483   luup_log:261: Arduino: Processing presentation. Mode is 1 <0x73428520>
      50      06/06/21 12:44:37.484   luup_log:261: Arduino: Entering into adding a new device branch... <0x73428520>
      50      06/06/21 12:44:37.484   luup_log:261: Arduino: Found new device 2;1 <0x73428520>
      50      06/06/21 12:44:37.484   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 2 devices found, 261 <0x73428520>
      50      06/06/21 12:44:37.492   luup_log:261: Arduino: Presentation: 2;2;0;0;3; <0x73428520>
      50      06/06/21 12:44:37.492   luup_log:261: Arduino: Processing presentation. Mode is 1 <0x73428520>
      50      06/06/21 12:44:37.492   luup_log:261: Arduino: Entering into adding a new device branch... <0x73428520>
      50      06/06/21 12:44:37.493   luup_log:261: Arduino: Found new device 2;2 <0x73428520>
      50      06/06/21 12:44:37.493   luup_log:261: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,InclusionFoundCountHR, 3 devices found, 261 <0x73428520>
      

      So that the plug-in now started to process new devices but there are more issues to resolve because it doesn't finish the inclusion process yet.

      Considering the fact that github for the plugin is not updated for 5 years I wonder is there a chance someone already did the fixes I do. Or, if not, what controllers you guys are using with MySensor gateways? I'd rather switch to another controller instead of trying to fix issues for the controller that nobody uses.

      nagelcN Offline
      nagelcN Offline
      nagelc
      wrote on last edited by
      #2

      @Max-Kurilov
      Hi Max. I can't help with the Vera, but there is a log parser here: https://www.mysensors.org/build/parser
      that might make debugging the MySensors messages a little easier.

      What the "right" controller is depends a lot on what you are looking for. When I first found MySensors, Vera was pretty much the standard. The controller world has evolved a lot since then. Probably looking at recent posts in the controller forum will give you a sense of what people are using now. I would be interesting to do a true survey.

      Max KurilovM 1 Reply Last reply
      2
      • nagelcN nagelc

        @Max-Kurilov
        Hi Max. I can't help with the Vera, but there is a log parser here: https://www.mysensors.org/build/parser
        that might make debugging the MySensors messages a little easier.

        What the "right" controller is depends a lot on what you are looking for. When I first found MySensors, Vera was pretty much the standard. The controller world has evolved a lot since then. Probably looking at recent posts in the controller forum will give you a sense of what people are using now. I would be interesting to do a true survey.

        Max KurilovM Offline
        Max KurilovM Offline
        Max Kurilov
        wrote on last edited by
        #3

        @nagelc thank you for directing me to the log parser. It helped me to understand that my issue caused by lack of INCLUSION_MODE messages that is easily solved by uncommenting MY_INCLUSION_MODE_FEATURE in my gateway sketch.

        The second part of the question stays valid. I realize that choosing the "right" controller is much more than choosing the controller that works good with MySensors. Anyway, I appreciate any personal experience on that.

        HW: HomeAssistant on Rock Pi 4 + Pro Mini Serial GW + Arduino & nRF52840 / 52811 nodes.

        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.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