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

    @john not a problem

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

      The usage of "" characters in the custom device editors device naming have been tackled in the latest available snapshot.

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

        I have added an MQTT bridge for MySensors based on the gateway/broker created by @Damme .

        I was only not being able to test it on the real gateway but have tested it against a regular MQTT server. So if there is someone willing to test it i will be very thankful :). The tests i have done was with iot.eclipse.org, so i'm also not exactly sure if the data is implemented correctly
        iot.eclipse.org test method

        It has been implemented as a plugin which has the possibility to execute device mutations, so to add this plugin go to "Plugin management > Device Plugins". Click "Add new plugin". Choose the "MySensors MQTT bridge".

        Fill in a name and description, use the MQTT gateway ip address. leave the port and prefix as the shown default if you have not changed it.

        To create devices for the MQTT gateway refer to the first post and instead choosing the MySensors serial device, choose the MySensors MQTT device.

        The plugin's view shows devices reported by the MQTT gateway, it shows the device address and sketch information. Adding devices shown on that page is exact the same as done with the serial version.

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

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

          @John I did as you say with the MqTT drive now if I click on the driver and then on the "Pidome MySensor Mqtt" noting happen

          upload-235f809e-bcb0-4de6-9104-ee41273114bd

          applog:appLog.txt

          Also if I click in view nothing happens
          upload-40f6c457-0d63-4919-a618-7e37b7536bb7

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

            Clear your browsers cache and try again. The devices appear at the plugin.

            P.S.
            I will in a later state modify the driver name, it is an emulator between the devices and the plugin so the plugin can create devices the same way a driver can. The reason why it is a plugin is that drivers are hardware based (GPIO, USB access). The plugin now behaves like it is hardware.

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

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

              @John Hi I am back again. I now can see the MQTT node sensor. When I want to add the node sensor the custom devices don't show up in the "Select device to use" Why will that be?

              Custom device adde

              upload-c9a0b7b8-0e8a-4b1b-8d98-0bd9584820e9

              Custom device not show.

              upload-245527f8-f376-400c-96d2-b46432d82a93

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

                Device skeletons are limited to their driver/plugin and can not be interchanged (yet). When you are using the MQTT plugin you should create a MySensors MQTT custom device/skeleton. The first listing above shows these devices as a device for the serial version.

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

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

                  @john Mysensor MQTT is now working. Thank for all you help :-) :+1:

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

                    :+1: Next step would be integrating the Ethernet gateway, but that could take a week or so (working on other demanding tasks currently).

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

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

                      @John I see that you don't have any time days in your automation triggers. Do you plan to do this at a later stage?
                      I see that you are going to do twitter integration are you look as other message integration tools like pushbullet?

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

                        Currently the triggers do days in the form of "Every day", "Weekdays", "Weekend" and per day like "Mon", "Tue":

                        Alt text

                        The time currently can be fixed, sunrise or sunset with calculations:

                        Alt text

                        The above can then be resulted in a rule like below:

                        Alt text

                        The above would then say that: "turn true every day when it is 30 minutes before sunset".


                        About messaging integration:

                        The messaging framework is currently partly integrated and currently only takes care of SMS messages (outgoing). When the full messaging framework is implemented twitter will be added together with it's messaging API which could then be used to integrate web services. Currently i'm still very busy with a lot of core parts where developing devices, plugins stands next to it when specific API parts are done. So i can not say if or when pushbullet integration will be available and/or it is created by me.

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

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

                          @John what will I do if my Alarm is trigger and I want to switch it off after 10 min?

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

                            Because triggers are meant to be used as real triggers. If this happens quickly do that. If you would automate your alarm you would need to create a second trigger which would say, depending on the earlier example: when every day it is 20 minutes before sunset, execute alarm off.

                            Currently next to the triggers i'm busy with Automation flows you can build with blockly. But this is still under heavy development: https://twitter.com/Pi_Dome/status/510355701114605568/photo/1

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

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

                              @john I have the automation trigger for if the humidity for the bathroom. I have two trigger on for switching the fan on if Hum is >20 and one to switch the fan off it is Hum <19 this work. What I try now do now is combine this into one trigger where I use the "or" function . Can the execution list only execute one function for multiple condition?

                              upload-c4e64a4f-3ec2-48c0-8888-75e85bb0c6b1

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

                                @Fwessels
                                The above is one trigger.

                                Currently you have set it up like:
                                IF (the data description of room 01 > 20%H) OR (the data description of room 01 < 19%H) DO (set study lights to On)

                                Triggers are really also meant as triggers and are based on a combination of rules which should always revert to true with a list of actions of the total list of rules are true. To put it simple: "When this, then that". There is no "else" ;)

                                If you want to turn on and turn of based on a quick trigger action you should or create two triggers, or wait for the Automation rules to be implemented in the server which currently is in development.

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

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

                                  @john I have two triggers and that is working.

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

                                    @John Hi did not bug you for an while. I change my setup to work with the MQTTGateway but now I have the following issue.

                                    1. My motion and door sensors is not changing status in the "Data description" field. This did work with the serial gateway.
                                    2. On my relay button sensor the "Toggle description" is not changing it I press the button this did work on the serial gateway.

                                    I run you latest snapshot (373)

                                    PS the Android client is now working on my Tablet and Phone (4.4.2)

                                    JohnJ 1 Reply Last reply
                                    0
                                    • FrancoisF Francois

                                      @John Hi did not bug you for an while. I change my setup to work with the MQTTGateway but now I have the following issue.

                                      1. My motion and door sensors is not changing status in the "Data description" field. This did work with the serial gateway.
                                      2. On my relay button sensor the "Toggle description" is not changing it I press the button this did work on the serial gateway.

                                      I run you latest snapshot (373)

                                      PS the Android client is now working on my Tablet and Phone (4.4.2)

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

                                      @Francois

                                      That's the current latest yeah, have you defined the the data and/or toggle buttons as boolean or as an integer?

                                      The Android client was kinda annoying, when deployed on a device from the development it worked, but when installed by the apk file it stopped working... Thanks for confirming it now works!

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

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

                                        @John I did the same as the serial configuration as data field and boolean

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

                                          @Francois

                                          So both the data field as the toggle buttons are defined as booleans?

                                          Since alpha 271 the server also displays the last received date and time positioned above the controls, are these modified? Not yet real time in the web interface, you have to click the device again in the list to see if it is updated.

                                          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


                                          12

                                          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