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. What makes a device controllable with the mobile app?

What makes a device controllable with the mobile app?

Scheduled Pinned Locked Moved Vera
15 Posts 4 Posters 3.7k Views 4 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 Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #5

    I mentioned mqtt because it's more widespread and so it's more probable you may find a more tested mqtt plug in rather than a mysensors one. I don't know anything about Vera, I'm just trying to approach the problem from a different perspective 😀

    dbemowskD 1 Reply Last reply
    0
    • gohanG gohan

      I mentioned mqtt because it's more widespread and so it's more probable you may find a more tested mqtt plug in rather than a mysensors one. I don't know anything about Vera, I'm just trying to approach the problem from a different perspective 😀

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

      @gohan Thanks, I appreciate the help. I do understand that MQTT is more widespread, but as mentioned, I am mainly doing this to learn more about plugin development. That and once it is done, I can give back an option for people that may have a lot of devices set up with ESP Easy and want to switch to Vera, but don't want to re-flash all of their devices.

      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
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #7

        I don't know which app you are talking about but I guess the app must recognise the device type. The MySensors plugin mostly uses "standard" device types which probably shows up fine... but we also have a few custom once... like the distance sensor.

        If the app doesn't recognise the type, you probably won't see it.

        gohanG 1 Reply Last reply
        0
        • hekH hek

          I don't know which app you are talking about but I guess the app must recognise the device type. The MySensors plugin mostly uses "standard" device types which probably shows up fine... but we also have a few custom once... like the distance sensor.

          If the app doesn't recognise the type, you probably won't see it.

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

          @hek
          It seems that locally everything is working, but on the cloud service he can't interact with the mysensors devices. Could it be that plugins only work locally on the Vera? (I wouldn't be surprised as cloud services are usually not very flexible)

          dbemowskD 1 Reply Last reply
          0
          • gohanG gohan

            @hek
            It seems that locally everything is working, but on the cloud service he can't interact with the mysensors devices. Could it be that plugins only work locally on the Vera? (I wouldn't be surprised as cloud services are usually not very flexible)

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

            @hek The app I am talking about is the Vera app for Android. Where can I find/define the device type?

            @gohan That is exactly it. Locally everything is working, but I see what @hek is saying that if the app doesn't recognize the device type, then it won't work from the app.

            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
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #10

              Not sure, I haven't tried their cloud service. If you start modifying and create new devices their "cloud" must know how to create the layout... so they would need the locally stored device files (xml/json) which contain the presentation logic.

              dbemowskD 1 Reply Last reply
              0
              • hekH hek

                Not sure, I haven't tried their cloud service. If you start modifying and create new devices their "cloud" must know how to create the layout... so they would need the locally stored device files (xml/json) which contain the presentation logic.

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

                @hek OK, I'll rephrase the question. Where would I find the device type for a standard switch in the MySensors plugin? If I know where to find it there I may be able to find out what I need to change in the new plugin.

                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
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #12

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

                  dbemowskD 1 Reply Last reply
                  0
                  • hekH hek

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

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

                    @hek ok, I am assuming that the device type has something to do with the urn:schemas. I am trying to understand the urn:schemas, because I had thought that that might have been part of the issue. In the D_HttpSwitch1.json file from the original creator uses "urn:mios-nullx8-com:serviceId:HttpSwitch1", where the D_BinaryLight1.json file uses "urn:upnp-org:serviceId:SwitchPower1"

                    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/

                    camadortC 1 Reply Last reply
                    0
                    • dbemowskD dbemowsk

                      @hek ok, I am assuming that the device type has something to do with the urn:schemas. I am trying to understand the urn:schemas, because I had thought that that might have been part of the issue. In the D_HttpSwitch1.json file from the original creator uses "urn:mios-nullx8-com:serviceId:HttpSwitch1", where the D_BinaryLight1.json file uses "urn:upnp-org:serviceId:SwitchPower1"

                      camadortC Offline
                      camadortC Offline
                      camadort
                      wrote on last edited by
                      #14

                      @dbemowsk I know this is a very old topic, but if you still need to control the device with the app, you can change:
                      device_json from D_HttpSwitch1.json to D_BinaryLight1.json
                      0_1559247195945_616d9483-65a8-47fc-b3ce-1179fcd369d0-image.png

                      dbemowskD 1 Reply Last reply
                      1
                      • camadortC camadort

                        @dbemowsk I know this is a very old topic, but if you still need to control the device with the app, you can change:
                        device_json from D_HttpSwitch1.json to D_BinaryLight1.json
                        0_1559247195945_616d9483-65a8-47fc-b3ce-1179fcd369d0-image.png

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

                        @camadort Thanks, I didn't know that. I'll give it a try.

                        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
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        20

                        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