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. PiDome
  4. PiDome Domotica/Home Automation

PiDome Domotica/Home Automation

Scheduled Pinned Locked Moved PiDome
controllerserialgatewayraspberrymqttpidome
199 Posts 17 Posters 110.7k Views 5 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.
  • AndrewBA Offline
    AndrewBA Offline
    AndrewB
    wrote on last edited by
    #185

    Yes I am. I have checked and double checked. I am using the default BatteryPoweredSensor sketch that is included in the MySensors library.

    1 Reply Last reply
    0
    • JohnJ Offline
      JohnJ Offline
      John
      Plugin Developer
      wrote on last edited by
      #186

      It currently is quite late i will test this tomorrow as i also have some resource available then. I have to get some hardware together, if i find everything quick will test it in a moment for you. I need some info from you though:

      What is your current build number being used (see server settings page)?
      What is the mysensors library version you are using, 1.4 or 1.5?

      Cheers!

      My Domotica project: http://www.pidome.org

      1 Reply Last reply
      0
      • AndrewBA Offline
        AndrewBA Offline
        AndrewB
        wrote on last edited by
        #187

        Thanks for doing that! No rush though.

        I am using build number 0.1-SNAPSHOT-2015-08-25.528

        and Mysensors ver 1.5

        1 Reply Last reply
        0
        • JohnJ Offline
          JohnJ Offline
          John
          Plugin Developer
          wrote on last edited by John
          #188

          Oh dear, we are already at build 540 for the server with full platform build at: 0.1-snapshot-2015-09-05.746. The next server build version will probably stay at 540 but the platform number will become 747. I will notify here when there is an update.

          Build 747 will require you to update the android, desktop or raspberry pi client if in use, so be prepared ;)

          Cheers.

          [EDIT]
          I can confirm the battery level is not handled correctly. I'm on it now. The issue is that the data type is not handled correctly. If you would have used something else then float it would not work. I'm doing an explicit cast to float and did not respect the set type as set in the device editor. Currently testing and updating.
          [/EDIT]

          My Domotica project: http://www.pidome.org

          1 Reply Last reply
          0
          • JohnJ Offline
            JohnJ Offline
            John
            Plugin Developer
            wrote on last edited by John
            #189

            There currently is a new version of the server being built on the build server. The location is: http://builder.pidome.org/view/Snapshot builds/

            When it's done you can click 0.1-snapshot-2015-09-06.747 and download the server. On the pi stop the server, overwrite files, and start it again. Don't worry, important data will not be overwritten (as with any update)

            You can see it is done when on the left side there are no active jobs being displayed.

            Let me know if it has been solved for you.

            My Domotica project: http://www.pidome.org

            1 Reply Last reply
            0
            • AndrewBA Offline
              AndrewBA Offline
              AndrewB
              wrote on last edited by
              #190

              Thanks for the quick responses and update!

              I downloaded and installed the new version on my pi, confirmed it was the correct version inside of pidome, however it is still not working. :/

              1 Reply Last reply
              0
              • JohnJ Offline
                JohnJ Offline
                John
                Plugin Developer
                wrote on last edited by
                #191

                Could you make a screenshot of your created device it's

                • Group control details
                • Control details

                And check in the file logs/system/appLog.txt if you got messages mentioning mysensors? (quite at the end, you can do a "tail-f log/system/appLog.txt -n 200" in putty "ctrl+c" to stop it, select lines, click (copy) and paste them)

                My Domotica project: http://www.pidome.org

                1 Reply Last reply
                0
                • AndrewBA Offline
                  AndrewBA Offline
                  AndrewB
                  wrote on last edited by
                  #192

                  I currently have debug enabled, will that make a difference on what you want from the log file?

                  1 Reply Last reply
                  0
                  • JohnJ Offline
                    JohnJ Offline
                    John
                    Plugin Developer
                    wrote on last edited by
                    #193

                    Well that would give a big amount of data, and it definitely will help... If you do not mind i will send my email address using chat so i can send you files if needed what could help in solving this quicker.

                    My Domotica project: http://www.pidome.org

                    1 Reply Last reply
                    0
                    • AndrewBA Offline
                      AndrewBA Offline
                      AndrewB
                      wrote on last edited by
                      #194

                      Sure! No problem!

                      1 Reply Last reply
                      0
                      • JohnJ Offline
                        JohnJ Offline
                        John
                        Plugin Developer
                        wrote on last edited by
                        #195

                        Send via chat

                        My Domotica project: http://www.pidome.org

                        1 Reply Last reply
                        0
                        • JohnJ Offline
                          JohnJ Offline
                          John
                          Plugin Developer
                          wrote on last edited by
                          #196

                          With help from @AndrewB The issue has been solved.

                          The battery level via the MQTT gateway seems to need some extra attention as it is broadcasted in an unexpected mqtt path.

                          to show battery level using mqtt please use group id "255" and control id "V_"

                          Cheers!

                          My Domotica project: http://www.pidome.org

                          1 Reply Last reply
                          0
                          • JohnJ John

                            @ericvdb said:
                            Hi eric,

                            try to set the on command to 3A1 and the off command to 3A0 in the V_LIGHT toggle control. I know this is not what you want because this means you have to create a device for every address. And with flexible addresses you want to use the options so users can enter them.

                            You are using the device editor the correct way, it currently only is not implemented yet. There is a task on my to-do list to take a look on how common fields for controls can use the options created in the editor.

                            You know what, send an email to support@pidome.org with some of your device details, and I will come up with something. (If the programming API was ready i could have given some guidelines, but unfortunately it is not yet).

                            P.S. it is 00:46 here, so expect an answer tomorrow ;).

                            [edit]typo's[/edit]

                            B Offline
                            B Offline
                            bramasa
                            wrote on last edited by
                            #197

                            @John
                            Hi John,

                            I also stuck on the same problem as Eric has described. His post is quite a long time ago, so I don't know, if there is a solution now. The point is that I want not only transfer a status on/off to the mysensor node but the house and device code for the RF switches. I tried to do this as you have answered but if i look in the log file it say only true or false as payload to the sensor.

                            Is this a limitation of using V_LIGHT (allowing only boolean coded payload)? But I also tried to use other V_* like V_IR_SEND, it was the same result.

                            Thanks in advance.

                            1 Reply Last reply
                            0
                            • JohnJ Offline
                              JohnJ Offline
                              John
                              Plugin Developer
                              wrote on last edited by
                              #198

                              Sorry for the late response, have you tried to change the datatype to string with the codes as the values?

                              My Domotica project: http://www.pidome.org

                              1 Reply Last reply
                              0
                              • B Offline
                                B Offline
                                bramasa
                                wrote on last edited by
                                #199

                                Hi John,
                                appLog.txt
                                I also tried using datatype string but it doesen't work. Meanwhile I have studies the log files more detailed and found the following behavior:

                                • when defining the device skeletal and when updating the derived device (first approx. 25 lines in the log file V_STATUS is declared as string with values 51 resp. 52 as specified in the web interface. The entity is "Modul 433 MHz".

                                • Later on, when using the toggle switch in the web interface the value has changed in the decription in the log file (see line 164 or 185) value has been changed to on/off. With this definition it seem that the mysensors-Plugin is feeded has been changed from the specified values.

                                My conclusion is that the change is taking place somewhere outside the mysensors-plugin.

                                By the way, if I change the type to string do I have to use quotation marks in the web interface?

                                Thanks a lot for your support.

                                Martin

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


                                15

                                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