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. General Discussion
  3. Custom sensors

Custom sensors

Scheduled Pinned Locked Moved General Discussion
20 Posts 4 Posters 5.9k Views 1 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.
  • hekH hek

    Creating a new device type on Vera is not that hard, just a few config files.

    But finding a standard set of speeds for a fan is harder. There might be all kinds of configurations here. Maybe a dimmer-slider is the best way to handle this and the sketch has to translate it into the local-attached fans step-levels. So in your example setting fan-slider to just above 50% represents MED-speed on fan.

    Then we're back to the Dimmer device with a custom icon :smile:

    BulldogLowellB Offline
    BulldogLowellB Offline
    BulldogLowell
    Contest Winner
    wrote on last edited by
    #10

    @hek said:

    Creating a new device type on Vera is not that hard, just a few config files.

    But finding a standard set of speeds for a fan is harder. There might be all kinds of configurations here. Maybe a dimmer-slider is the best way to handle this and the sketch has to translate it into the local-attached fans step-levels. So in your example setting fan-slider to just above 50% represents MED-speed on fan.

    Then we're back to the Dimmer device with a custom icon :smile:

    Right then, that works for me.

    anything that works, works! I have a few fans I want to Arduino-ize. :wink:

    1 Reply Last reply
    0
    • BulldogLowellB BulldogLowell

      @hek

      I like the fan idea. an everyday item that is in a lot of homes.

      Here in the US we see mainly 3 speed fans. It would be great to see a four button interface, OFF, LOW, MED, HI

      I have never even looked into developing a 'device' on vera; would that be too hard?

      We could develop a capacitor speed control board, like what you all did for the RGBW lights, no?

      axillentA Offline
      axillentA Offline
      axillent
      Mod
      wrote on last edited by
      #11

      @BulldogLowell you can use regular dim controll to control fans with just a few speeds
      I use so with my kitchen fan which is drived automatically depending on the oven power consumption
      my fan has 3 speeds (and off position), so I use 3 SSR to manage one of the 3 speeds and I'm using dim on vera side
      whatever value i will select on dim my device will approximate it into one of 4 positions and will return a new value back to vera
      this behaves very well

      sense and drive

      BulldogLowellB 1 Reply Last reply
      0
      • axillentA axillent

        @BulldogLowell you can use regular dim controll to control fans with just a few speeds
        I use so with my kitchen fan which is drived automatically depending on the oven power consumption
        my fan has 3 speeds (and off position), so I use 3 SSR to manage one of the 3 speeds and I'm using dim on vera side
        whatever value i will select on dim my device will approximate it into one of 4 positions and will return a new value back to vera
        this behaves very well

        BulldogLowellB Offline
        BulldogLowellB Offline
        BulldogLowell
        Contest Winner
        wrote on last edited by
        #12

        @axillent

        hmmm... you are controlling with arduino?

        axillentA 1 Reply Last reply
        0
        • BulldogLowellB BulldogLowell

          @axillent

          hmmm... you are controlling with arduino?

          axillentA Offline
          axillentA Offline
          axillent
          Mod
          wrote on last edited by
          #13

          @BulldogLowell i have build a few devices based on MySensors project and they are doing their job for a few months already

          sense and drive

          BulldogLowellB 1 Reply Last reply
          0
          • axillentA axillent

            @BulldogLowell i have build a few devices based on MySensors project and they are doing their job for a few months already

            BulldogLowellB Offline
            BulldogLowellB Offline
            BulldogLowell
            Contest Winner
            wrote on last edited by BulldogLowell
            #14

            @axillent

            great, did you post them already?

            I'd like to start a fan project.

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

              While thinking about this. There are these 5 generic variables. But are there any generic sensors?

              Imho the 'ARDUINO_NODE' and 'ARDUINO_RELAY' are boards and not sensors so they can't be used for that.

              Shouldn't we have something like 'BINARY' and maybe 'VARIABLE'.

              I know that Indigo uses generic naming for z-wave devices that they do not recognise but here we are in a different play field, creating our own sensors.

              Or am I missing something here?

              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 1 Reply Last reply
              0
              • marceltrapmanM marceltrapman

                While thinking about this. There are these 5 generic variables. But are there any generic sensors?

                Imho the 'ARDUINO_NODE' and 'ARDUINO_RELAY' are boards and not sensors so they can't be used for that.

                Shouldn't we have something like 'BINARY' and maybe 'VARIABLE'.

                I know that Indigo uses generic naming for z-wave devices that they do not recognise but here we are in a different play field, creating our own sensors.

                Or am I missing something here?

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

                @marceltrapman

                Vera also got some generic device it shows for unrecognized or missing device files. Let me think about it... GENERIC might be good to add to the device list to match the VAR1-5.

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

                  'GENERIC' would do too I guess because the var1-5 values can be used for binary as well as any other value obviously.

                  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 axillentA 2 Replies Last reply
                  0
                  • marceltrapmanM marceltrapman

                    'GENERIC' would do too I guess because the var1-5 values can be used for binary as well as any other value obviously.

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

                    @marceltrapman

                    Ahh.. ok, now I understand what you mean.. You need to transfer binary data to the controller? I have added a flag in the message-structure for this... but it has not been implemented fully (the serial protocol should produce base64 encoded output for payload or similar when this flag is set).

                    And Vera controller does not consider this flag.

                    1 Reply Last reply
                    0
                    • marceltrapmanM marceltrapman

                      'GENERIC' would do too I guess because the var1-5 values can be used for binary as well as any other value obviously.

                      axillentA Offline
                      axillentA Offline
                      axillent
                      Mod
                      wrote on last edited by
                      #19

                      @marceltrapman are you looking for binary transfer between node and vera or between two nodes?
                      i would like to see an application which requires binary transfer with vera. Currently do not see it

                      for node to node it is good to have an ability to transfer any kind of custom data including binary.
                      in my view it can be very useful to define own custom struct and transfer it between nodes

                      sense and drive

                      hekH 1 Reply Last reply
                      0
                      • axillentA axillent

                        @marceltrapman are you looking for binary transfer between node and vera or between two nodes?
                        i would like to see an application which requires binary transfer with vera. Currently do not see it

                        for node to node it is good to have an ability to transfer any kind of custom data including binary.
                        in my view it can be very useful to define own custom struct and transfer it between nodes

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

                        @axillent

                        Marcel is developing a MySensor plugin for the indigo controller .
                        http://forum.mysensors.org/topic/62/plugin-for-indigo-for-mac

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


                        17

                        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