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. Mozilla WebThings Gateway
  4. Mozilla Webthings MySensors add-on / adapter

Mozilla Webthings MySensors add-on / adapter

Scheduled Pinned Locked Moved Mozilla WebThings Gateway
55 Posts 5 Posters 5.6k 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.
  • Nca78N Offline
    Nca78N Offline
    Nca78
    Hardware Contributor
    wrote on last edited by
    #24

    So connected with SSH and the directory is gone now.
    I reinstalled the add-on and I didn't have those messages about files already existing, only success messages.

    But I don't get why it still has my configuration for MySensors gateway URL etc. I install the add-on and after install it connects directly to the MySensors gateway.

    I don't know what happened also but it seems I had a problem with the gateway too as I didn't have sensor info in it's log. Now I reprogrammed it and I see log when sensor sends and I have the sensor in the add sensor view.

    No idea of what happened, but it seems problem was with my own sensors/gateway and not the add-on :)

    1 Reply Last reply
    1
    • alowhumA Offline
      alowhumA Offline
      alowhum
      Plugin Developer
      wrote on last edited by
      #25

      @Nca78 Glad to hear it.

      I suspect that because part of the gateway had crashed, all the things you thought you did never actually happened. You never really deleted the thing, and hence the persistence data was still there. You never really deleted the add-on, and hence the files were still there.

      1 Reply Last reply
      0
      • alowhumA Offline
        alowhumA Offline
        alowhum
        Plugin Developer
        wrote on last edited by alowhum
        #26

        Version 0.0.7 has been created, and should hopefully be accepted soon.

        It fixes the issue that the user's preference for which capability should be shown centrally was reset every time the add-on restarted.

        Internally, the add-on always uses persistence. Whether devices are shown as 'connected' is now an option. You can either immediately show all MySensors nodes as 'connected' upon a restart, or wait until nodes have sent a signal.

        // It has been accepted

        1 Reply Last reply
        1
        • alowhumA Offline
          alowhumA Offline
          alowhum
          Plugin Developer
          wrote on last edited by
          #27

          Version 0.1.0 has been accepted. Persistence is a bit faster and hopefully more robust. Hopefully it fixes an issue @rmalbers was experiencing.

          1 Reply Last reply
          1
          • alowhumA Offline
            alowhumA Offline
            alowhum
            Plugin Developer
            wrote on last edited by
            #28

            Version 0.1.2 has been uploaded. It has a lot of new features:

            • Automatic serial port searching. User doesn't need to add a serial port ID manually anymore (but can if they want)
            • Support for metric/imperial units. You can set your preference in the add-on settings.
            • Support for multipleOf. This should help show a sane amount of decimals on numeric variables.
            • Experimental MQTT support based on user feedback.
            • Anticipates switch to version 0.9 of the WebThings gateway by implementing title support.
            1 Reply Last reply
            2
            • alowhumA Offline
              alowhumA Offline
              alowhum
              Plugin Developer
              wrote on last edited by
              #29

              The new version has been accepted.

              1 Reply Last reply
              0
              • alowhumA Offline
                alowhumA Offline
                alowhum
                Plugin Developer
                wrote on last edited by alowhum
                #30

                I have uploaded a new version (0.1.4) that should hopefully be accepted in the coming days.

                It allows MySensors devices to better work with voice control.

                Its main new ability is that it can split up a single MySensors device into several. The reason this is important is that in the webthings gateway you currently cannot change property names, only thing names. By essentially creating many things with only one property, this problem is circumvented.

                It also has some small improvements in MySensors V-types support.

                Nca78N 1 Reply Last reply
                1
                • alowhumA alowhum

                  I have uploaded a new version (0.1.4) that should hopefully be accepted in the coming days.

                  It allows MySensors devices to better work with voice control.

                  Its main new ability is that it can split up a single MySensors device into several. The reason this is important is that in the webthings gateway you currently cannot change property names, only thing names. By essentially creating many things with only one property, this problem is circumvented.

                  It also has some small improvements in MySensors V-types support.

                  Nca78N Offline
                  Nca78N Offline
                  Nca78
                  Hardware Contributor
                  wrote on last edited by
                  #31

                  Thanks you @alowhum, is the splitting systematic or done in settings/configured ?

                  alowhumA 1 Reply Last reply
                  0
                  • Nca78N Nca78

                    Thanks you @alowhum, is the splitting systematic or done in settings/configured ?

                    alowhumA Offline
                    alowhumA Offline
                    alowhum
                    Plugin Developer
                    wrote on last edited by
                    #32

                    @nca78 It's a setting, it's optional.

                    1 Reply Last reply
                    1
                    • alowhumA Offline
                      alowhumA Offline
                      alowhum
                      Plugin Developer
                      wrote on last edited by
                      #33

                      Version 0.1.4 has now been accepted.

                      1 Reply Last reply
                      0
                      • alowhumA Offline
                        alowhumA Offline
                        alowhum
                        Plugin Developer
                        wrote on last edited by
                        #34

                        Version 1.0.0 has been submitted to Mozilla.

                        • Support for time-outs. After a user-defined period of not receiving any sign of life (data/heartbeat), a node will be set to disconnected.
                        • Support for the new WebThings thermostat capability.
                        1 Reply Last reply
                        3
                        • alowhumA Offline
                          alowhumA Offline
                          alowhum
                          Plugin Developer
                          wrote on last edited by
                          #35

                          It has been accepted.

                          1 Reply Last reply
                          1
                          • Nca78N Offline
                            Nca78N Offline
                            Nca78
                            Hardware Contributor
                            wrote on last edited by
                            #36

                            Thank you !

                            R 1 Reply Last reply
                            1
                            • Nca78N Nca78

                              Thank you !

                              R Offline
                              R Offline
                              rmalbers
                              wrote on last edited by
                              #37

                              Thanks, I have the timeout set (to 30 minutes) and it seems to be working, GREAT! In other news, it looks like they added metric to the gateway with the new release last night and all my temp readings reverted to 'Cent', the new default, until I switched it off 'metric', scared me for a second!

                              alowhumA 1 Reply Last reply
                              1
                              • R rmalbers

                                Thanks, I have the timeout set (to 30 minutes) and it seems to be working, GREAT! In other news, it looks like they added metric to the gateway with the new release last night and all my temp readings reverted to 'Cent', the new default, until I switched it off 'metric', scared me for a second!

                                alowhumA Offline
                                alowhumA Offline
                                alowhum
                                Plugin Developer
                                wrote on last edited by alowhum
                                #38

                                @rmalbers Thanks for suggesting the idea.

                                @rmalbers said in Mozilla Webthings MySensors add-on / adapter:

                                In other news, it looks like they added metric to the gateway with the new release last night and all my temp readings reverted to 'Cent', the new default, until I switched it off 'metric', scared me for a second!

                                Yeah I have to figure out how the add-on can get this value from the gateway instead.

                                1 Reply Last reply
                                0
                                • alowhumA Offline
                                  alowhumA Offline
                                  alowhum
                                  Plugin Developer
                                  wrote on last edited by
                                  #39

                                  A bit of a side-note, but I've created a theme (the very first one!). It also adds thermostat setpoint buttons.

                                  0_1574289908600_square-theme.png

                                  1 Reply Last reply
                                  1
                                  • badmannenB Offline
                                    badmannenB Offline
                                    badmannen
                                    wrote on last edited by
                                    #40

                                    I been searching around in the forum but I cannot find a way how to send the Battery % so the WEBTHINGS will recognize it , can anyone give me a hint?

                                    at the moment I report it in from my battery node with:
                                    sendBatteryLevel(batteryPcnt);

                                    but I assume this does not get forwarded to the controller?
                                    so should I send it as a separate "child node ID , message?
                                    and which one would be most clever?

                                    thank you

                                    rPi 3 - UNO R3 - Mini - Nano - custom

                                    Nca78N 1 Reply Last reply
                                    0
                                    • badmannenB badmannen

                                      I been searching around in the forum but I cannot find a way how to send the Battery % so the WEBTHINGS will recognize it , can anyone give me a hint?

                                      at the moment I report it in from my battery node with:
                                      sendBatteryLevel(batteryPcnt);

                                      but I assume this does not get forwarded to the controller?
                                      so should I send it as a separate "child node ID , message?
                                      and which one would be most clever?

                                      thank you

                                      Nca78N Offline
                                      Nca78N Offline
                                      Nca78
                                      Hardware Contributor
                                      wrote on last edited by
                                      #41

                                      @badmannen said in Mozilla Webthings MySensors add-on / adapter:

                                      so should I send it as a separate "child node ID , message?

                                      This is what I do at the moment
                                      0_1574581857578_2f405ea8-69d6-4bff-a022-19bf418b3699-image.png

                                      badmannenB 1 Reply Last reply
                                      2
                                      • Nca78N Nca78

                                        @badmannen said in Mozilla Webthings MySensors add-on / adapter:

                                        so should I send it as a separate "child node ID , message?

                                        This is what I do at the moment
                                        0_1574581857578_2f405ea8-69d6-4bff-a022-19bf418b3699-image.png

                                        badmannenB Offline
                                        badmannenB Offline
                                        badmannen
                                        wrote on last edited by
                                        #42

                                        @nca78 Do you send it as a "DIMMER" to send the percentage?

                                        rPi 3 - UNO R3 - Mini - Nano - custom

                                        Nca78N 1 Reply Last reply
                                        0
                                        • badmannenB badmannen

                                          @nca78 Do you send it as a "DIMMER" to send the percentage?

                                          Nca78N Offline
                                          Nca78N Offline
                                          Nca78
                                          Hardware Contributor
                                          wrote on last edited by
                                          #43

                                          @badmannen not even, was working with the humidity percentage so I kept the same for the battery :)

                                          MyMessage batPercentMsg(CHILD_ID_BATTERY, V_HUM);
                                          
                                          badmannenB 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          21

                                          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