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 8.8k 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.
  • H 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:

    B Offline
    B 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
    • B 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?

      A Offline
      A 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

      B 1 Reply Last reply
      0
      • A 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

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

        @axillent

        hmmm... you are controlling with arduino?

        A 1 Reply Last reply
        0
        • B BulldogLowell

          @axillent

          hmmm... you are controlling with arduino?

          A Offline
          A 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

          B 1 Reply Last reply
          0
          • A axillent

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

            B Offline
            B 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
            • M Offline
              M 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.

              H 1 Reply Last reply
              0
              • M 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?

                H Offline
                H 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
                • M Offline
                  M 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.

                  H A 2 Replies Last reply
                  0
                  • M marceltrapman

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

                    H Offline
                    H 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
                    • M marceltrapman

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

                      A Offline
                      A 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

                      H 1 Reply Last reply
                      0
                      • A 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

                        H Offline
                        H 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

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        5

                        Online

                        12.0k

                        Users

                        11.2k

                        Topics

                        113.4k

                        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