Sensor trigger value only allowing a maximum value of 1


#1

What if my trigger value is 300? does it make any sense to limit this to 1?


#2

Maybe it is a two-state switch:


#3

No. It is a gauge, analog generic sensor.


#4

Oh! Sorry. Hope you found an answer though to your problem! :innocent:


#5

This is a bug, we’re fixing this :slight_smile: I will update this thread when resolved.

-B


#6

This should be fixed now. Let us know otherwise :slight_smile:

-B


#7

@bestes Works! thanks a lot. Suggestion: take out the slider and put a text box that only takes integers (just thinking of cases where values might not be within the range allowed by the slider).

Keep up the good work. This is by far the most elegant solution of the sort.

ohh and remember that many of us use the DHT11 sensor :slight_smile: please bring support!


#8

DHT11 can be used with Arduino. Plan is to provide native support for the Pi as well be integrating DHT11 driver. Keep you updated on that!

-B


#9

I am actually interested in using it on an Arduino. Can’t find DHT11 on the list of sensors to add to the dashboard. Hints?


#10

Custom Widgets :slight_smile:


#11

Here’s how I did it:


#12

Looks like @bestes beat me to it haha. His solution is better than mine, so I would follow his instead.


#13

thanks guys @ats1080s @bestes