Yes, but only if I have eaten very, very well
Hey!
Seems like a great project, i’d like to try it too.
Did you disconnect the original white wires from the black, from the mattress?
Then soldered 2 wires to the Xiaomi door sensor, and connected between the black wires of the mat and the door sensor?
hay bro
YES
Thanks for the photo Ill call It a Solution so it move to the top of the POST
Thanks. Currently I’m using 4 weight load cells under the bed legs, hopefully your solution can be more reliable I’ll give it a try when the product arrives from amazon.
i saw this one on ebay too. will this generate the switch needed to trigger the xiaomi sensor?
its a binary_sensor so
if I long press the my bedroom light
it toggle the bedside lamps
- id: 'hold Master light Both On'
alias: hold Master light Both On
initial_state: true
trigger:
- entity_id: sensor.master_light
platform: state
to: 'HOLD'
condition:
- condition: state
entity_id: binary_sensor.in_bed_her_side
state: 'off'
- condition: state
entity_id: binary_sensor.in_bed_his_side
state: 'off'
action:
- data:
entity_id: light.her_side , light.his_side
service: light.toggle
and if one of us are in bed
- id: 'hold Master light His Side'
alias: hold Master light Both His Side
initial_state: true
trigger:
- entity_id: sensor.master_light
platform: state
to: 'HOLD'
condition:
- condition: state
entity_id: binary_sensor.in_bed_her_side
state: 'on'
- condition: state
entity_id: binary_sensor.in_bed_his_side
state: 'off'
action:
- data:
entity_id: light.his_side
service: light.toggle
and its mate
- id: 'hold Master light Her Side'
alias: hold Master light Both Her Side
initial_state: true
trigger:
- entity_id: sensor.master_light
platform: state
to: 'HOLD'
condition:
- condition: state
entity_id: binary_sensor.in_bed_her_side
state: 'off'
- condition: state
entity_id: binary_sensor.in_bed_his_side
state: 'on'
action:
- data:
entity_id: light.her_side
service: light.toggle
I bought this smaller one too:
I have to place it under to sheet / over the mattress. Placing it under the mattress doesn’t work for me (memory foam) which is a pity… It’s otherwise such an easy hack…
I am looking to solve incontinence. Before I venture into trying out this hack with AQARA contact sensor, do you think it will work with this bed pad?
Thank you for any guidance!
Hay for 20.00 why not
If that acts a simple binary switch, it should be no problem.
Pun intended but how is everyone debouncing this or are you using logic like if changed within xxx seconds? I had one with a swabs contact sensor and it was ultra sensitive
Can you help me please. I can’t see your pictures well, as blurry.
This is what I bought, but I don’t understand the following:
A) Where do you put the wires on my picture? Can you please mark on there
B) Which wires? I have marked labelled cables on picture 1-4. Which numbers please?
C) Do I need to solder wires onto circuit board?
what does the ends look like
do you have a continuity tester
i would use that to test each patten
This is what ends look like.
I bought this https://www.ebay.co.uk/itm/263819604399
No i do not own a continuity tester
if you dont have a tester
you could pair it test it with the magnet (working )
then
do
1 to A
2 to B
stand on it does work
3 to A
4 to B
stand on it does work
Thank you, I will try this now.
What do you mean pair test it with magnet. Without wires attached, I put magnet next to circuit board and it blinks blue light.
Is it suppose to do something else when wires attached?
I have this same mat. I connect to pins on an esp instead thought it should be the same for you zigbee device.
I’m using the two wires furthest from the corner of your mat. I can’t see you whole mat from your photo but I hope that makes sense. Then as mentioned above solder those to A and B (shouldn’t matter which is which).
In this case the mat acts like you putting a magnet near the reed switch on the door sensor, its completing/closing the circuit when you stand on it.
So, solder it then stand on it and it should behave in the same way as when you bring the magnet near it.
Thanks bro for jumping and helping