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. pimatic
  4. pimatic-mysensors controller plugin

pimatic-mysensors controller plugin

Scheduled Pinned Locked Moved pimatic
controllernode idnrf24l01+mysensorsrasp
92 Posts 23 Posters 75.3k Views 11 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.
  • Sebastien Vayrette-GavardS Sebastien Vayrette-Gavard

    @Dheeraj is the light sensor supported? I am getting

    20:32:05.069 [pimatic] warn: no plugin found for device "Light1" of class "MySensorLight"!

    when starting pimatic with

    {
          "id": "Light1",
          "name": "Lighti1",
          "class": "MySensorLight",
          "nodeid": 11,
          "sensorid": 0
        }
    

    yet I am able to see the sensor in pimatic's logs

    <- I_LOG_MESSAGE 0;0;3;0;9;read: 11-11-0 s=0,c=1,t=23,pt=2,l=2:39

    D
    D
    Dheeraj
    Plugin Developer
    wrote on last edited by
    #35

    @Sebastien-Vayrette-Gavard said:

    yet I am able

    kindly change the "class" name as "MySensorsLight" . please note it has a 's' in between.

    1 Reply Last reply
    0
    • F Fredrik Carlsson

      Hello @Dheeraj
      Any info about how to setup a pulsecount sensor?

      D
      D
      Dheeraj
      Plugin Developer
      wrote on last edited by
      #36

      @Fredrik-Carlsson

      frankly, i couldn't check pulsecount using actual power meter. although i can simulate it :) . It's custom made according to my need. I can modify it as per http://www.mysensors.org/build/pulse_power build easily.

      currently it only supports "V_WATT" message.

      1 Reply Last reply
      0
      • F
        F
        Fredrik Carlsson
        wrote on last edited by Fredrik Carlsson
        #37

        Good morning @Dheeraj
        Do you have any example for how you are configuring it? I have made a node with the "original" sketch and configured it with sensor array [0,1,2] in pimatic. I see the device, with parameters w/kw/kWh but no info comes in. Are you using a custom sketch then or how is your setup working?
        I think one of the nicest things about pimatic is the graphing functionality. I want to log and and check how the heating is distributed throughout my house and at which consumption depending on heatpump / woodstove settings

        D 1 Reply Last reply
        0
        • Sebastien Vayrette-GavardS
          Sebastien Vayrette-GavardS
          Sebastien Vayrette-Gavard
          wrote on last edited by
          #38

          @Dheeraj maybe you can fix the example here for lazy eyes/asses like me. I just copied and paste and didn't notice the missing "s" Thank you so much for the quick support and the great plugin.

          1 Reply Last reply
          0
          • F Fredrik Carlsson

            Good morning @Dheeraj
            Do you have any example for how you are configuring it? I have made a node with the "original" sketch and configured it with sensor array [0,1,2] in pimatic. I see the device, with parameters w/kw/kWh but no info comes in. Are you using a custom sketch then or how is your setup working?
            I think one of the nicest things about pimatic is the graphing functionality. I want to log and and check how the heating is distributed throughout my house and at which consumption depending on heatpump / woodstove settings

            D
            D
            Dheeraj
            Plugin Developer
            wrote on last edited by
            #39

            @Fredrik-Carlsson said:

            think one of the nicest things about pimatic is the graphing functionality. I want to log and and check how the heating is distributed throughout my house and at which consumption depending on heatpump / woodstove set

            since i don't have home laptop with me. otherwise , i could have shared the custom sketch with you. but what i remember is that it sends V_WATT message with wattage usage and calculate KW and KWh ( still broken ) at controller end ( pimatic ).

            meanwhile, i'm fixing the pulsemeter code which will be compatible with actual sketch, wait for 1 or 2 days. Also, we will be able to see battery status (optional) with sensor devices.

            one thing you missed here is that pimatic is browser based also have the "automation by rules" functionality which is awesome. also you can try various plugins available with pimatic. http://www.pimatic.org/pages/plugins/

            1 Reply Last reply
            0
            • F
              F
              Fredrik Carlsson
              wrote on last edited by
              #40

              @Dheeraj I wait patiently then :)
              Yes the more im digging in to pimatic the more i like it and feel that it fits my needs perfectly

              1 Reply Last reply
              0
              • Mad MooM
                Mad MooM
                Mad Moo
                wrote on last edited by Mad Moo
                #41

                Yesterday was great update (0.8.14). Now battery level is connected with device as regular attribute. Great job, @Dheeraj! Thanks a lot!

                battery.png

                D 1 Reply Last reply
                0
                • Mad MooM Mad Moo

                  Yesterday was great update (0.8.14). Now battery level is connected with device as regular attribute. Great job, @Dheeraj! Thanks a lot!

                  battery.png

                  D
                  D
                  Dheeraj
                  Plugin Developer
                  wrote on last edited by
                  #42

                  newer version (0.8.15 ) of plugin release . support Acronym for devices . improves user experience.

                  Mad MooM 1 Reply Last reply
                  0
                  • F Fredrik Carlsson

                    Hello @Dheeraj
                    Any info about how to setup a pulsecount sensor?

                    funky81F
                    funky81F
                    funky81
                    wrote on last edited by
                    #43

                    @Fredrik-Carlsson info you havent got one, please check my development git

                    • Pulse sensor ( Watt, KWh and Ampere )
                      {
                      "id": "EnergySensor,
                      "name": "Energy Sensor",
                      "class": "MySensorsPulseMeter",
                      "nodeid": 3,
                      "batterySensor": true,
                      "sensorid": 1,
                      "appliedVoltage" : 220
                      }
                    1 Reply Last reply
                    1
                    • F
                      F
                      Fredrik Carlsson
                      wrote on last edited by
                      #44

                      Yes saw it on github, very interesting. Will try as soon as I am home again

                      funky81F 1 Reply Last reply
                      0
                      • F Fredrik Carlsson

                        Yes saw it on github, very interesting. Will try as soon as I am home again

                        funky81F
                        funky81F
                        funky81
                        wrote on last edited by
                        #45

                        @Fredrik-Carlsson please try it, please notice me if you find any bugs.
                        I'm in the middle of pull request to @Dheeraj

                        1 Reply Last reply
                        0
                        • F
                          F
                          Fredrik Carlsson
                          wrote on last edited by
                          #46

                          Hello
                          haven't had the opportunity to test yet.
                          will try to find time tomorrow

                          1 Reply Last reply
                          0
                          • D Dheeraj

                            newer version (0.8.15 ) of plugin release . support Acronym for devices . improves user experience.

                            Mad MooM
                            Mad MooM
                            Mad Moo
                            wrote on last edited by Mad Moo
                            #47

                            @Dheeraj said:

                            newer version (0.8.15 ) of plugin release . support Acronym for devices . improves user experience.

                            Hello @Dheeraj,

                            Could you tell me which commit was connected with 0.8.15? I am little bit confused because your github is still contains 0.8.14 but it looks newer when 0.8.15.

                            D 1 Reply Last reply
                            0
                            • Mad MooM Mad Moo

                              @Dheeraj said:

                              newer version (0.8.15 ) of plugin release . support Acronym for devices . improves user experience.

                              Hello @Dheeraj,

                              Could you tell me which commit was connected with 0.8.15? I am little bit confused because your github is still contains 0.8.14 but it looks newer when 0.8.15.

                              D
                              D
                              Dheeraj
                              Plugin Developer
                              wrote on last edited by
                              #48

                              @Mad-Moo latest code 0.8.17 is pushed to github. now everything is sync.

                              1 Reply Last reply
                              0
                              • F
                                F
                                Fredrik Carlsson
                                wrote on last edited by Fredrik Carlsson
                                #49

                                @funky81
                                Hello. I have had a hard time testing this. Is the future for the pulsesensor implemented in 0.8.17 official plugin?

                                If not, how get the latest commit in to pimatic? Have tried to git clone the plugin and then npm install inside the folder, but then none of the sensors shows up in pimatic (the plugin is not active)

                                With official 0.8.17 the arduino sketch just come in to an endless loop where it wants the latest pulsecount = no answer from pimatic

                                1 Reply Last reply
                                0
                                • P
                                  P
                                  Panos
                                  wrote on last edited by
                                  #50

                                  Hello,

                                  Very nice plugin.

                                  Is there any chance in the future to support the ethernet gateway?

                                  It would be great if we could connected simultaneously to a serial and ethernet gateway from the same pimatic server.
                                  so we could cover remote places..!!!!

                                  1 Reply Last reply
                                  0
                                  • D
                                    D
                                    Dheeraj
                                    Plugin Developer
                                    wrote on last edited by
                                    #51

                                    New version of plugin available. 0.8.21.

                                    and a video to showcase its capability..

                                    https://www.youtube.com/watch?v=ZZXAKitvAdA

                                    OitzuO 1 Reply Last reply
                                    1
                                    • D Dheeraj

                                      New version of plugin available. 0.8.21.

                                      and a video to showcase its capability..

                                      https://www.youtube.com/watch?v=ZZXAKitvAdA

                                      OitzuO
                                      OitzuO
                                      Oitzu
                                      wrote on last edited by
                                      #52

                                      @Dheeraj
                                      Nice! One question: Could you maybe disconnect your repository from pimatic-plugin-template?
                                      http://stackoverflow.com/questions/16052477/delete-fork-dependency-of-a-github-repository

                                      With the fork connected its hard to fork. ;)

                                      D 1 Reply Last reply
                                      0
                                      • OitzuO Oitzu

                                        @Dheeraj
                                        Nice! One question: Could you maybe disconnect your repository from pimatic-plugin-template?
                                        http://stackoverflow.com/questions/16052477/delete-fork-dependency-of-a-github-repository

                                        With the fork connected its hard to fork. ;)

                                        D
                                        D
                                        Dheeraj
                                        Plugin Developer
                                        wrote on last edited by
                                        #53

                                        @Oitzu sure will do it need some time..

                                        1 Reply Last reply
                                        0
                                        • karl261K
                                          karl261K
                                          karl261
                                          wrote on last edited by karl261
                                          #54

                                          Hi, I am using the mysensors-pimatic system and it works great. Now, I am using an optocoupler to simulate some buttons being pressend, and at the moment I am using the relay sketch for that. That works great, but it gives me on/off switches in pimatic. However, I only press the button momentarily. So I would need more a momentary button in pimatic. Something that does not switch but I still can press. So three questions:

                                          1. Is there a way to have an "ordinary" button in pimatic (not on/off)? Something I press only? This on/off switch works (everytime I switch on or off it simulates on button pressed on my optocoupler), but it is not really what I am looking for.
                                          2. Is there some code for a momentary button in mysensors? The relay code I am using works great. I adapted in a way that it swtiches the optocoupler on and 50ms later automatically off. Works great, but I was wondering if there was a more elegant way to do it.
                                          3. If there is no code for a momentary button for pimatic, where would I start looking if I'd want to contribute code?

                                          Cheers!

                                          D 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          24

                                          Online

                                          12.4k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          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