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.
  • aquaproA Offline
    aquaproA Offline
    aquapro
    wrote on last edited by
    #2

    How can I update from early Version of MySensor support to the actual PiDome version with new functions? Download and overwrite? The settings are lost?

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

      @aquapro

      How can I update from early Version of MySensor support to the actual PiDome version with new functions?

      Just download the new version from or http://pidome.wordpress.com/downloads/ which would be the most stable version. OR if feeling adventurous from http://builder.pidome.org/job/PiDome Server platform snapshot build/lastSuccessfulBuild/

      Download and overwrite?

      Yes

      The settings are lost?

      Currently they are, I hope to have this fixed soon, but not earlier then at the end of tomorrow. I will then release the last version which does not update and should be the minimal version required to have sequential updates with every new download if applicable.

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

      1 Reply Last reply
      0
      • FrancoisF Offline
        FrancoisF Offline
        Francois
        wrote on last edited by Francois
        #4

        @John I follow the installation instruction I do get info from the Gateway see info below. The sendor ID is 20 this is a temperature sensor however the info from the "Select from device list" say it is V_WATT why is the case?
        pidome01.PNG
        pidome02.PNG

        Then when I go to the the "Device (Add/Remove/Setting)" I click on start the sensor I get "Could not start device: Incorrect device spec loaded: null". What is the issue?

        upload-b4e5eb8d-bc60-4882-a3fe-fea44d42c0f1

        Here is the info from creating the "Custom Device"

        upload-ef6d86bc-410a-4bff-9f5c-417491116b21
        upload-fcd46295-b561-429e-a794-99ceccc6554a
        upload-c5ffce2b-b351-4008-aec6-30a6928e5850

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

          @Fwessels
          This 255 message can be discarded and should not have been included and can be discarded.
          Just looked into it and this was caused due an error on my side where there was an old issue which came back and will be solved with a new alpha build.

          The info it shows is the information received based on gw.present(); could you tell me which present variables you have used? I try to follow the index as shown on the API page (Type and Value http://www.mysensors.org/build/serial_api)

          Reason "null" wouls be a driver cache issue, a restart of the server helps to resolve this, the code used for running a mysensors custom created device has not been loaded before and therefore is not cached yet. This will also be solved with the next update.

          If a restart did not help it, there is a quick and dirty way to see the XML created which i will then need to resolve this for you. For this the log file is needed while the serveris running in debug mode (enabled via "settings > server settings") The log file is located at logs/system/appLog.txt

          To view/follow the log file type "tail -f logs/system/appLog.txt". At the moment you save the device from the editor the XML passes by. Please do a paste bin or message me for other ways to send it.

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

          1 Reply Last reply
          0
          • FrancoisF Offline
            FrancoisF Offline
            Francois
            wrote on last edited by Francois
            #6

            @John I rebooted the Pi server and now I don't get any data from the gateway. Attached is the appLog.txt
            appLog.txt

            I just unplug the usb and plug it back now I get this error.

            appLog.txt

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

              @Fwessels
              sorry for the late response, got sick yesterday.

              In the first appLog i'm seeing :
              Error handling: 20;0;1;0;0;19.0, error: Group 'S_DOOR' does not exist
              Error handling: 20;1;1;0;0;20.3, error: Group 'S_MOTION' does not exist

              There is data coming through and is expecting S_DOOR and S_MOTION groups in the added device as is defined also on the API page.

              The error try to add a non existing device is part of the non cached created device. I'm almost done with an update and will come back to you soon.

              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
                #8

                @Fwessels

                I uploaded a new version of the server could you check if the updated version suits your needs and solves the above issues? Unfortunately it requires a clean installation. So the server has to be removed and re-added again. Also the browser cache needs to be cleaned. The software relies heavy on this. But, future updates will not require a clean database, so updates will not destroy any data anymore.

                The new version is available here: http://pidome.org/downloads

                A lot has changed and one of them are the group id's:
                I've mentioned before to use the S_ sensor types, this has been changed to use the sensor id. When i take a look to the applog you posted you will be needing two groups one with id "0" and one with id "1". The controls id stay the same.

                The device list should now also display a new sensor node correctly for both AUTO mode sensors (address 255, add one at a time please) and fixed address sensors, if you use both, first add the fixed address ones.

                Be aware, you will see the MySensors MQTT version in the custom devices list, please do not use this (yet), it is not finished yet.

                It also is possible to starte the server with "./server.sh trace &" to get a bunchload of more information in the log file. Use with care and only when facing an issue. the trace option can be turned off via the "Settings > server settings" page. this trace option is only available during server start.

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

                1 Reply Last reply
                0
                • FrancoisF Offline
                  FrancoisF Offline
                  Francois
                  wrote on last edited by Francois
                  #9

                  @John I download the Alpha version as I get an error "This Webpage is not available" for the dev version. I did a clean install and clear browser cache. So now the sensor is reporting the right info on "Select From device list" See below:
                  upload-6f600b55-fb95-408d-9443-f594febbb5e4

                  However I still getting a error in app log the sensor is still report the wrong info.
                  upload-4ff10875-be55-4c62-aa8f-55fc89ae652b

                  Attached is the AppLog file.appLog.txt

                  Also every time I reboot the server I lose the USB configuration and I have to reconfigure USB port?

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

                    @Fwessels

                    Did you use the group id's "0" and group id "1" for the device "device study" with address 20? If not this can be changed via the custom devices editor, when changed it will be applied. Also when you add the USB device did you use the "set, save and start" button?

                    If you would start the server with "./server.sh trace &" it will show the device XML's, loading options used, found usb ports url's used etc..

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

                    1 Reply Last reply
                    0
                    • FrancoisF Offline
                      FrancoisF Offline
                      Francois
                      wrote on last edited by Francois
                      #11

                      @John I change it to Groud Id "0" and Id 1 for temp.I also reboot the device and I am not getting any info in the device log about the sensor why is this the case? But I do get data from the gateway.

                      Yes I did "set,save and start" button

                      upload-e60defbc-e83d-4f8c-b1d8-0842e5416a41

                      If I start the server with "./server.sh trace &" i just get this on the command line "[1] 3201"
                      here is the app logs:appLog.txt

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

                        The "[1] 3201" means the command executes is detached from the console and used pid "3417" because of the "&" sign. It does not mean it ain't started.

                        Looking at the log file seeing:

                        2014-09-06 09:07:23,229 [main] INFO org.pidome.misc.utils.TimeUtils - Setting timezone data: Europe/Amsterdam, 51.950000, 4.449999
                        2014-09-06 09:07:27,403 [main] INFO org.pidome.misc.utils.TimeUtils - Setting timezone data: Europe/Amsterdam, 51.950000, 4.449999

                        and other double lines and ports which are busy and bindings that fail that the server has been started twice within 4 seconds. They should both be stopped. and the server started only once.

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

                        1 Reply Last reply
                        0
                        • FrancoisF Offline
                          FrancoisF Offline
                          Francois
                          wrote on last edited by
                          #13

                          @John I did again a clean installation and now I am not getting the error any more. I am not getting the data displaying in the graph. What will the issue here.

                          Here is the custom setting I have 2 temp senor on this unit:

                          upload-82c5ca50-d0fd-4177-8abd-e9c8edbc9ea9
                          upload-7228a90b-268e-4105-aeea-a1b0ffb92c92

                          Temp2:
                          upload-4da82ef0-f217-4a5e-88cc-765a2bf9bae8
                          upload-81e396a1-5b60-4b09-acf3-4189a6b616de

                          Data from the "Cotrol Views"

                          upload-10aad1bc-f18b-4a64-b52d-015cc9509b6a
                          upload-43b09b74-4c1c-475f-b654-231de8d12d6d

                          here is the AppLog:appLog.7z

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

                            @Fwessels
                            The group id's are correct. The control id's should be the var namings:

                            0 = V_TEMP
                            1 = V_HUM

                            You can edit the custom device, after edit the change should be exposed immediately and data should also be displayed after first report after the change.

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

                            1 Reply Last reply
                            0
                            • FrancoisF Offline
                              FrancoisF Offline
                              Francois
                              wrote on last edited by Francois
                              #15

                              @John I just don't get this to work. I also download the latest version and did and clean installation and still I am getting group "S_Door" does not exits

                              pi.PNG

                              I have the setting as per what you tell me. I now are giving up as it cannot be that difficult to get it to work or I am just missing something.
                              I have the same sensor working on OpenHab the only difference is that on OpenHab I am using the MQTT ethernet gateway.

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

                                @Fwessels
                                Just send you a chat message because i got interested in the XML structure the device editor then would be creating.

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

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

                                  Thanks to @Fwessels the issue has been found :). More then many thanks to him.

                                  It was related to the build environment which supplied the alpha downloads. It "chose" the wrong source code to build which caused mixed results. This has been solved.

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

                                  1 Reply Last reply
                                  0
                                  • FrancoisF Offline
                                    FrancoisF Offline
                                    Francois
                                    wrote on last edited by
                                    #18

                                    Great news I now have PIdome running with Hum sensor and Dallas temp sensor.

                                    upload-2de9399e-840b-4589-9d3d-93eca635c53d

                                    1 Reply Last reply
                                    0
                                    • FrancoisF Offline
                                      FrancoisF Offline
                                      Francois
                                      wrote on last edited by
                                      #19

                                      @john this morning I have a funny issue as I add the new door sensor to PiDome all the Custom device disappear. Even it I add i new custom device it is not showing up in the list. I reboot the PI and it is still doing the same thing what can the issue be?

                                      upload-79baf84d-614a-40d3-8dfc-786d31154bef

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

                                        @Fwessels
                                        Could you provide me the appLog file? This i have not seen before.

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

                                        1 Reply Last reply
                                        0
                                        • FrancoisF Offline
                                          FrancoisF Offline
                                          Francois
                                          wrote on last edited by
                                          #21

                                          @John I did not start it with the trace. I will rest start the server with trace on.

                                          appLog.txt

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


                                          11

                                          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