Jump to content

Beacon mode = triggers push in bthome


jeroenvdd

Recommended Posts

2 hours ago, jeroenvdd said:

hey lads,

I've just enabled beacon mode ON via the debug app ->

this doesn't only update the battery every 8 secs it also sends the push command every 8 secs 🙂 my lights were confused 😄

There is no push commands, it's only battery in beacon mode. You need to check your script or BThome integration. 

Link to comment
Share on other sites

16 hours ago, Dimitar said:

There is no push commands, it's only battery in beacon mode. You need to check your script or BThome integration. 

I'll check the integration with HA isn't 'super' yet.

(the button itself is working fine for me)  

but in HA at least is you make an automation using 'button pressed'

image.thumb.png.f1ee3791b6225aded759d032e8205116.png

 

this gets triggered every time the beacon is sent 🙂

So maybe some weird shenanigan's on the bt home front.

I'll see wha thappens if i use the shelly app to do the same thing

Link to comment
Share on other sites

  • Members

Yeah I can see the same with beacon mode enabled. You can check all BTHome signals if you go and subscribe to bthome_ble_event

Every ~25secs I get 

event_type: bthome_ble_event
data:
  device_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
  address: B4:XX:XX:XX:XX:XX
  event_class: button
  event_type: press
  event_properties: null

 

BTW I did my automation with bthome_ble_event trigger and then in Actions I get the choose option and go for template condition {{ trigger.event.data.event_type == 'press' }} so you have all button actions in 1 automation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...