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.
  • FrancoisF Offline
    FrancoisF Offline
    Francois
    wrote on last edited by
    #57

    @Arielpod what gateway are you using Serial or MQTT?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Arielpod
      wrote on last edited by
      #58

      Wow, you're quick! I'm using serial gateway, haven't installed any usb drivers or plugins to PiDome.

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

        It is possible that clones are not working because currently there is no web interface to ask if you are sure you want to use a specific device and how to use it. It is part of a security mechanism built in the server for this read on:

        We support a range of USB device types like USB-HID, USB-RAW and USB-[FILL_IN_EMULATOR] (Emulators like serial ports etc...). I have came across USB devices reporting multiple interface types which is very strange, so in the known peripherals database only the real thing has been flagged as a known peripheral and what it does.

        There is code present in the sever (locally on my workstation) which can identify these devices and the anomalies but is not 50% stable yet, i can include this code with the next or follow up release so also cloned devices which correctly report their USB capabilities will show up in the interface.

        Gimme a day of three for this because the web interface module for this has to be created.

        [EDIT]You do not need to install any drivers etc... because for serial based devices it already is integrated in the server[/EDIT]

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

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Arielpod
          wrote on last edited by
          #60

          Ok, thanks! I'll reinstall it in the meantime just to find out if that would help. BTW, in lsusb, the device appears as 'qinheng electronics hl-340 usb-serial adapter'.

          Patiently waiting for some news then. Cheers!

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

            Would you by accident also have the vid and pid from this device?

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

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Arielpod
              wrote on last edited by
              #62
              This post is deleted!
              1 Reply Last reply
              0
              • A Offline
                A Offline
                Arielpod
                wrote on last edited by Arielpod
                #63

                I'll check that when I get home.

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

                  That would be cool, it then could be included as a default "considered good and save to use" device if it performs as it should. The interface will also be added though, but in a later stage

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

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Arielpod
                    wrote on last edited by
                    #65

                    Ok, it's 1a86:7523

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

                      Thanks, i will add this one to the safe list (for the time being). I will notify you when it is available.

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

                      1 Reply Last reply
                      0
                      • A Arielpod

                        Ok, it's 1a86:7523

                        JohnJ Offline
                        JohnJ Offline
                        John
                        Plugin Developer
                        wrote on last edited by
                        #67

                        @Arielpod said:

                        Ok, it's 1a86:7523

                        I have included the mentioned device in the latest build. I do have to say that this is a quick build for testing purposes so some functionalities may be broken.

                        The build for now is only available on the build server at: http://builder.pidome.org/job/PiDome Server platform snapshot build/lastSuccessfulBuild/

                        This build does require a clean installation though, but is update safe so when newer builds are available you won't loose any data.

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

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          Arielpod
                          wrote on last edited by Arielpod
                          #68

                          I'm not quite sure what you meant by "clean installation" but I just removed the directory of the previous installation and downloaded the one you've given the link to. Every time I connect the device I get an error:
                          error.png

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

                            Resolved on the build server and available in the link posted above.

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

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Arielpod
                              wrote on last edited by
                              #70

                              Great, it's working! Thanks a lot.

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jonnyfishman
                                wrote on last edited by
                                #71

                                Hi, looking for some advice on connecting sensor to PiDome. Think I've followed the instructions correctly but when connecting sensor under 'Devices' I get this message 'New device: Possible new address: 1 if not occupied before adding (Restart node after assigning).' and nothing to choose.

                                forum1.png

                                My custom device settings are as follows with the Arduino CHILD_ID set to 1. Is there something obvious I've missed or is S_MOTION not included yet?
                                Thanks, Jon

                                forum1a.png forum2.png

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

                                  @jonnyfishman
                                  Hi,

                                  If you use S_MOTION in the Arduino code then the group id should be 1 and the data control should correspond with the V_ value used in the Arduino code.
                                  With the motion detection you can use the boolean data type (the integers 1 and 0 will be correctly handled). This will make it easier in triggers and automation rules where you can select "true" or "false" from a drop down instead of filling in the 1 or 0.

                                  By clicking on the "Add sensor node" you will get a popup where you can choose the device created in the device editor.

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

                                  1 Reply Last reply
                                  0
                                  • J Offline
                                    J Offline
                                    jonnyfishman
                                    wrote on last edited by
                                    #73

                                    Hi,

                                    Thanks for the reply. I have checked the settings and changed the Group ID to 1 and the Data field ID to V_TRIPPED, using the Boolean option.

                                    The problem I have is that when I click 'Add sensor node' I get the message 'Done (no choice of device)' and nothing is added in devices and the error log shows the following:

                                    10-10-2014 21:59:53 0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=4,pt=0,l=1,st=fail:1
                                    10-10-2014 21:57:50 Trying assigning address '1' to a new node

                                    Thanks, Jon

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

                                      Do you see the device back in the "New nodes presentation" with an address when you restart the node? this would mean that the node did not got it's address assigned. I have understood from @hek that the line:

                                      10-10-2014 21:59:53 0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=4,pt=0,l=1,st=fail:1
                                      

                                      does not say if that it has failed or succeeded.

                                      The system needs a Node with an address before it can be added, the reason why there is no device selection is because of the above line can not guarantee a success or a failure. So after "Add sensor node" you have to restart the node, because only then the address is known. I should change the name of the button though to "Assign address" for making it more obvious.

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

                                      1 Reply Last reply
                                      0
                                      • J Offline
                                        J Offline
                                        jonnyfishman
                                        wrote on last edited by
                                        #75

                                        Awesome, that sorted it! Thanks. Think I was leaving to long a time (or to short) between restarting the node. Really enjoying the Server interface, the macros and automation rules are really powerful (just need to get some more nodes to really have a play).

                                        I saw on one of your posts that battery monitoring is a to do, has that happened or is it still in the pipeline. Also is there a way to trigger an email as I don't have a SMS dongle (thinking I could do it with a sensor set as RelayActuator on a GPIO pin on the pi that would trigger a PHP mail function but there's probably a more efficient way to do it).

                                        Sorry for all the questions...

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

                                          Sorry for the late response, had a meeting with my (hardware) development partner in crime this weekend...

                                          Yes this still is in the pipeline, i think it has slipped between all the other work currently going on, as the same is with the email notification. You would help me a lot if you would make a feature request for the both above at: https://bitbucket.org/pidome/pidome-server/issues?status=new&status=open (via the create issue link). It is our main global to do list ;).

                                          No problem, all questions are welcome!

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

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


                                          8

                                          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