Replies: 2 comments 1 reply
-
If you leave |
Beta Was this translation helpful? Give feedback.
0 replies
-
This kinda works for me but feels rather high overhead and clumsy. I think it would be much nicer to have such functionality as a native Tasmota sensor type.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is possible to build a pressure sensor that can be used, e.g., to detect whether a bed is occupied by (ab)using touch sensor pins to create a pressure sensitive pad by using two layers of alu foil separated by some foam foil. One alu foil is connected to GND, the other is connected to a touch sensor pins. Using this, I can reliably see whether a bed is occupied by looking at the
TouchCal
raw values.Details: https://community.home-assistant.io/t/bed-occupancy-sensor-using-parts-you-have/189490
In Tasmota it is currently possible to use the ESP32 touch sensor pins to toggle power on/off.
However, I would like a slightly different behavior:
As long as the
TouchCal
raw values are above the threshold set withTouchThres
, I need the resulting value to be "ON", and as long as values are below the threshold, the resulting value should be "OFF", or vice versa. To increase reliability, a few readings could be averaged.Could this be implemented in Tasmota or in Berry?
Beta Was this translation helpful? Give feedback.
All reactions