Custom sensors
-
I am not looking for how to do this @axillent. I have that covered. It is just that I want to 'discuss' what variable I should use.
@hek Based on your reply I assume you consider 'fan speed' not to be such a candidate?
We have very few device-types today and I think "fan" is a good candidate actually.
(for Vera we might use a dimmer to represent fan but other controllers they might want to show some other symbol etc.)
On variable-ids we should probably be a bit more restrictive (now). But for the next version of the OTA protocol we could perhaps consider having a separate set of variables per sensor type. Then this is a no-issue as we will get 255 possible variable-types per sensor-type.
-
@marceltrapman we thought it through a few months ago. If we will try to create a new VAR_FAN for each specific solution we will easily run out from the available numbers.
This why we use a special numbers only for limited staff and the rest can be covered with VAR_1-VAR_5It is still not much experience with the project. May be in a year it will be a good base to review the approach
p.s. IMHO
-
We have very few device-types today and I think "fan" is a good candidate actually.
(for Vera we might use a dimmer to represent fan but other controllers they might want to show some other symbol etc.)
On variable-ids we should probably be a bit more restrictive (now). But for the next version of the OTA protocol we could perhaps consider having a separate set of variables per sensor type. Then this is a no-issue as we will get 255 possible variable-types per sensor-type.
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?
-
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:
-
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:
@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:
-
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?
@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 -
@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 wellhmmm... you are controlling with arduino?
-
hmmm... you are controlling with arduino?
-
@BulldogLowell i have build a few devices based on MySensors project and they are doing their job for a few months already
-
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?
-
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?
-
'GENERIC' would do too I guess because the var1-5 values can be used for binary as well as any other value obviously.
-
'GENERIC' would do too I guess because the var1-5 values can be used for binary as well as any other value obviously.
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.
-
'GENERIC' would do too I guess because the var1-5 values can be used for binary as well as any other value obviously.
@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 itfor 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 -
@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 itfor 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