Zigbee Bed occupancy sensor

Yes! works like a charm. 1st 2 cables from the large side seen. NO (Normally Open)

2 Likes

Thanks @sender iā€™ll give that a go!

Works like a charm! thanks @sender @myle and @kiwinol et al.

Cool! Hope youā€™ll sleep well despite :rofl:

1 Like

All good bro

1 Like

Back againā€¦ from each of your experience, where is the best place to position? I tried it in a baby cot (under the mattress) but the baby doesnā€™t appear to be heavy enough to trigger the state change. Would prefer that its not under the sheet because its think enough, uneven and may cause discomfort.

Be interested to get your thoughts. Thanks :smiley: :+1:

I ended up with a smaller one:

the big one was too ā€œwarmā€ under the topperā€¦ It did not work for me under the matras.

Does it still detect changes when put under the matras ?

Yes, but only if I have eaten very, very well :rofl:

2 Likes

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?

1 Like

hay bro
YES

Thanks for the photo Ill call It a Solution so it move to the top of the POST

1 Like

Thanks. Currently Iā€™m using 4 weight load cells under the bed legs, hopefully your solution can be more reliable :slight_smile: 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
1 Like

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?