Page 1 of 1

642 - A custom numeric virtual sensor

Posted: Tuesday 19 January 2016 23:24
by jmleglise
Hi,

I would like to vote to this suggestion : http://www.domoticz.com/forum/tracker.php?p=2&t=642

I have the same need that this member. I think that a simple agnostic Virtual sensor that can display only a numeric decimal value should be the most important instead of creating a lot of specific sensor.

ideally with, in settings a blank field to write the unit and of course , with the history log.

For example, I need unit that are missing today :
- degree for the solar data script.
- minutes for the waze script.
- octa (cloud layer in n/8)

Cheers to the developpers ! continue the great work !

Re: 642 - A custom numeric virtual sensor

Posted: Wednesday 20 January 2016 11:51
by BobS
Would be great!

And if it's not to much a user selectable icon.

Re: 642 - A custom numeric virtual sensor

Posted: Saturday 06 February 2016 15:35
by paulD
Yes, this is a must have.

I would use it for weight unit. (KG).

Re: 642 - A custom numeric virtual sensor

Posted: Monday 08 February 2016 15:52
by alexsh1
Yes, I would be excellent!

Re: 642 - A custom numeric virtual sensor

Posted: Wednesday 17 February 2016 19:15
by gizmocuz
Please provide a git pull request

Re: 642 - A custom numeric virtual sensor

Posted: Friday 11 March 2016 0:28
by Pedro
I am new here. Thank you for this nice tool.

Coming from FHEM I am missing a feature to customize “virtual device” and showing small float values in the log.
I would like to show radiation in µSv/h but I am not able to show values like 0,05.
It seems that the log can only handle small decimal values. I could change SI prefix to handle this as work around, but it is not used to show nSv/h.
What am I doing wrong?

Should I use variables? And how can I create a device from a variable to show a log?

Re: 642 - A custom numeric virtual sensor

Posted: Saturday 12 March 2016 23:47
by Pedro
Pedro wrote:I am new here. Thank you for this nice tool.

Coming from FHEM I am missing a feature to customize “virtual device” and showing small float values in the log.
I would like to show radiation in µSv/h but I am not able to show values like 0,05.
It seems that the log can only handle small decimal values. I could change SI prefix to handle this as work around, but it is not used to show nSv/h.
What am I doing wrong?

Should I use variables? And how can I create a device from a variable to show a log?
Found the solution using "custom sensor" of new beta version

Re: 642 - A custom numeric virtual sensor

Posted: Saturday 19 March 2016 9:04
by jmleglise
I close this thread, It's include since the #4937 beta.

=> Create a virtual sensor / type : custom sensor
You can choose the label (Y axis in graph log) and an icon.

Well done. Thank you Gizmocuz.