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. Indigo Domotics
  4. Plugin for Indigo for Mac

Plugin for Indigo for Mac

Scheduled Pinned Locked Moved Indigo Domotics
28 Posts 3 Posters 11.8k Views 2 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.
  • marceltrapmanM Offline
    marceltrapmanM Offline
    marceltrapman
    Mod
    wrote on last edited by
    #6

    @wannabee good stuff! I learn(ed) a lot from it because I am a novice in Python.
    And it also made me even better understand what, how and when to communicate between controller, gateway and sensor.

    I managed to set the id and collect the temperature of a sensor using the beginning of my plugin.

    Now I can start building :)

    Fulltime Servoy Developer
    Parttime Moderator MySensors board

    I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
    I have a FABtotum to print cases.

    1 Reply Last reply
    0
    • marceltrapmanM Offline
      marceltrapmanM Offline
      marceltrapman
      Mod
      wrote on last edited by
      #7

      Oh, question: After sending the ID to a sensor will the sensor store it 'permanently'?

      Fulltime Servoy Developer
      Parttime Moderator MySensors board

      I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
      I have a FABtotum to print cases.

      hekH W 2 Replies Last reply
      0
      • marceltrapmanM marceltrapman

        Oh, question: After sending the ID to a sensor will the sensor store it 'permanently'?

        hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #8

        @marceltrapman

        Yes (it saves it to the EEPROM).

        1 Reply Last reply
        0
        • marceltrapmanM marceltrapman

          @wannabee Thanks, will play with this tomorrow. Looks good :)

          W Offline
          W Offline
          wannabee
          wrote on last edited by
          #9

          @marceltrapman Glad it was helpful, Tricky part is to develop something that sends information into the network from outside. ie when you want to turn a switch on or off.

          1 Reply Last reply
          0
          • marceltrapmanM marceltrapman

            Oh, question: After sending the ID to a sensor will the sensor store it 'permanently'?

            W Offline
            W Offline
            wannabee
            wrote on last edited by
            #10

            @marceltrapman and you clear the eeprom by uploading https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/examples/ClearEepromConfig/ClearEepromConfig.ino.

            1 Reply Last reply
            0
            • marceltrapmanM Offline
              marceltrapmanM Offline
              marceltrapman
              Mod
              wrote on last edited by
              #11

              Nice @wannabee

              Three other questions:

              1. Am I correct that an Arduino board/node always presents itself and its children upon inclusion (after startup) ?
              2. I do not see a way to set the child id so assume this is set by the Arduino board/node itself?
              3. Is there a way to 'manually' ask for all available Arduino boards/nodes and/or sensors available through the gateway?

              In other words: "I like this" :)

              Fulltime Servoy Developer
              Parttime Moderator MySensors board

              I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
              I have a FABtotum to print cases.

              W 1 Reply Last reply
              0
              • marceltrapmanM marceltrapman

                Nice @wannabee

                Three other questions:

                1. Am I correct that an Arduino board/node always presents itself and its children upon inclusion (after startup) ?
                2. I do not see a way to set the child id so assume this is set by the Arduino board/node itself?
                3. Is there a way to 'manually' ask for all available Arduino boards/nodes and/or sensors available through the gateway?

                In other words: "I like this" :)

                W Offline
                W Offline
                wannabee
                wrote on last edited by wannabee
                #12

                @marceltrapman said:

                Am I correct that an Arduino board/node always presents itself and its children upon inclusion (after startup) ?
                I do not see a way to set the child id so assume this is set by the Arduino board/node itself?
                Is there a way to 'manually' ask for all available Arduino boards/nodes and/or sensors available through the gateway?

                1 For every sensor on a board you send:
                gw.sendSensorPresentation(<sensor_child_id>,<sensor_type_id>);

                2 the sensor_child_id is set by the board.
                Ie.
                #define CHILD_ID_HUM 0
                #define CHILD_ID_TEMP 1

                And then later:
                gw.sendSensorPresentation(CHILD_ID_HUM, S_HUM);
                gw.sendSensorPresentation(CHILD_ID_TEMP, S_TEMP);

                In the HumiditySensor.ino

                3 Here @hek have to correct me. The answer is maybe, if you dig deep in the routing table in the gateway. But the gateway will lose that info when rebooted. It would also be possible to send a broadcast to all nodes asking them for info, but in that case you have to implement a function in the nodes that answers on broadcast. It will also make them not sleep. I keep track of available sensors in the python code. It’s the same way the vera is doing it. You basicly stores all sensors that have sent a presentation.

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #13

                  Currently, no, The routing table exists in gateway (and is not lost when rebooting). But it only contains information about were to send messages for a certain radioId (realy or direct route). Not what type of sensor(s) that each node has attached. Unfortunately the Arduino is a bit limited on how much data we can store in the EEPROM.

                  1 Reply Last reply
                  0
                  • marceltrapmanM Offline
                    marceltrapmanM Offline
                    marceltrapman
                    Mod
                    wrote on last edited by marceltrapman
                    #14

                    @wannabee @hek
                    Both your answers have helped me a lot! Thanks a million!!!

                    My 'issue' was that I was trying to do all the fancy stuff from the Controller (Indigo, or better my plugin, in this case) but obviously the sensor can be set to be active as well :)

                    I have made great progress today thanks to you guys...

                    Fulltime Servoy Developer
                    Parttime Moderator MySensors board

                    I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                    I have a FABtotum to print cases.

                    1 Reply Last reply
                    0
                    • marceltrapmanM Offline
                      marceltrapmanM Offline
                      marceltrapman
                      Mod
                      wrote on last edited by
                      #15

                      For the fun of it!

                      Screen Shot 2014-04-29 at 21.42.13.png Screen Shot 2014-04-29 at 21.42.40.png Screen Shot 2014-04-29 at 21.42.58.png

                      Fulltime Servoy Developer
                      Parttime Moderator MySensors board

                      I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                      I have a FABtotum to print cases.

                      1 Reply Last reply
                      1
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #16

                        Cool! Great work!

                        1 Reply Last reply
                        0
                        • marceltrapmanM Offline
                          marceltrapmanM Offline
                          marceltrapman
                          Mod
                          wrote on last edited by
                          #17

                          Thanks, while looking at my screenshots again I also found a little mistake :)

                          Fulltime Servoy Developer
                          Parttime Moderator MySensors board

                          I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                          I have a FABtotum to print cases.

                          1 Reply Last reply
                          0
                          • marceltrapmanM Offline
                            marceltrapmanM Offline
                            marceltrapman
                            Mod
                            wrote on last edited by
                            #18

                            Here you see the full power of Indigo.

                            I added 2 relays to the existing temperature sensor.
                            In fact a created a custom multi sensor.

                            This is what it looks like in Indigo.

                            I will make it so that when a device will be updated or added all sensors are included :)
                            Screen Shot 2014-04-30 at 23.30.59.png

                            Fulltime Servoy Developer
                            Parttime Moderator MySensors board

                            I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                            I have a FABtotum to print cases.

                            1 Reply Last reply
                            0
                            • marceltrapmanM Offline
                              marceltrapmanM Offline
                              marceltrapman
                              Mod
                              wrote on last edited by
                              #19

                              I am happy, the plugin is not ready but I moved it to my Indigo Server and it is now in production :)

                              What am I using it for right now?

                              The temperature sensor shows the temperature in a computer cabinet.
                              Based on the temperature a fan is enabled/disabled to lower the temperature.

                              For that I added the board with attached sensors and I created triggers.

                              Here it is:...

                              Screen Shot 2014-05-06 at 22.11.48.png Screen Shot 2014-05-06 at 22.12.13.png Screen Shot 2014-05-06 at 22.12.17.png

                              Fulltime Servoy Developer
                              Parttime Moderator MySensors board

                              I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                              I have a FABtotum to print cases.

                              1 Reply Last reply
                              1
                              • marceltrapmanM Offline
                                marceltrapmanM Offline
                                marceltrapman
                                Mod
                                wrote on last edited by
                                #20

                                Added the source to github: https://github.com/IT2BE/indigo-mysensors

                                Please beware: the plugin is not ready. I have a few sensors working but I am awaiting my mini pro's to be delivered before I can move ahead.
                                In the meantime I will polish things as I am also getting ready to go on vacation in about 10 days :)

                                Fulltime Servoy Developer
                                Parttime Moderator MySensors board

                                I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                I have a FABtotum to print cases.

                                1 Reply Last reply
                                0
                                • hekH Offline
                                  hekH Offline
                                  hek
                                  Admin
                                  wrote on last edited by
                                  #21

                                  Nice.
                                  I cloned it to mysensors so people will find it easier.

                                  1 Reply Last reply
                                  0
                                  • marceltrapmanM Offline
                                    marceltrapmanM Offline
                                    marceltrapman
                                    Mod
                                    wrote on last edited by
                                    #22

                                    @hek thanks!
                                    When, in the future, you want to move it to your repo that is fine with me as well.

                                    Fulltime Servoy Developer
                                    Parttime Moderator MySensors board

                                    I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                    I have a FABtotum to print cases.

                                    1 Reply Last reply
                                    0
                                    • marceltrapmanM Offline
                                      marceltrapmanM Offline
                                      marceltrapman
                                      Mod
                                      wrote on last edited by
                                      #23

                                      Yesterday evening I added a bit to the read me and improved support for the motion sensor.

                                      Fulltime Servoy Developer
                                      Parttime Moderator MySensors board

                                      I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                      I have a FABtotum to print cases.

                                      1 Reply Last reply
                                      0
                                      • marceltrapmanM Offline
                                        marceltrapmanM Offline
                                        marceltrapman
                                        Mod
                                        wrote on last edited by
                                        #24

                                        And I updated the readme file so that it should be possible for those that feel like it to start testing it.
                                        This was my favourite piece of work :)

                                        Fulltime Servoy Developer
                                        Parttime Moderator MySensors board

                                        I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                        I have a FABtotum to print cases.

                                        1 Reply Last reply
                                        0
                                        • hekH Offline
                                          hekH Offline
                                          hek
                                          Admin
                                          wrote on last edited by
                                          #25

                                          Ok, great work!

                                          Pulled your changes.

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


                                          13

                                          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