Skip to content

Commit 9f3a6a7

Browse files
committed
update BTHome apps
1 parent 0c7211e commit 9f3a6a7

File tree

14 files changed

+15
-5
lines changed

14 files changed

+15
-5
lines changed

apps/bthome_button/ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
0.01: New App!
2-
0.02: Handle long/short press
2+
0.02: Handle long/short press
3+
0.03: Disable manufacturer data (enabled in 2v26, BTHome/HomeAssistant appears to have a bug that causes problems)

apps/bthome_button/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function updateAdvertising(buttonState) {
2121
},
2222
]), {
2323
name : "Sensor",
24+
manufacturer : false, ///< turn off manufacturer data advertising (enabled by default in 2v26, interferes with BTHome)
2425
interval: buttonState?100:2000, // fast when we have a button press, slow otherwise
2526
// not being connectable/scannable saves power (but you'll need to reboot to connect again with the IDE!)
2627
//connectable : false, scannable : false,

apps/bthome_button/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "bthome_button",
33
"name": "BTHome Button",
44
"icon": "icon.png",
5-
"version": "0.02",
5+
"version": "0.03",
66
"description": "Turn your device into a BTHome/Home Assistant compatible button",
77
"tags": "bluetooth,homeassistant",
88
"readme": "README.md",

apps/bthome_door/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
0.01: New App!
2+
0.02: Disable manufacturer data (enabled in 2v26, BTHome/HomeAssistant appears to have a bug that causes problems)

apps/bthome_door/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function updateAdvertising(buttonState) {
2121
},
2222
]), {
2323
name : "Door",
24+
manufacturer : false, ///< turn off manufacturer data advertising (enabled by default in 2v26, interferes with BTHome)
2425
interval: (buttonState!="none")?20:2000, // fast when we have a button press, slow otherwise
2526
// not being connectable/scannable saves power (but you'll need to reboot to connect again with the IDE!)
2627
//connectable : false, scannable : false,

apps/bthome_door/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "bthome_door",
33
"name": "BTHome Door Sensor",
44
"icon": "icon.png",
5-
"version": "0.01",
5+
"version": "0.02",
66
"description": "Turn your Puck.js into a BTHome/Home Assistant compatible door open detector",
77
"tags": "bluetooth,homeassistant,door",
88
"readme": "README.md",

apps/bthome_energy/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
0.01: New App!
2+
0.02: Disable manufacturer data (enabled in 2v26, BTHome/HomeAssistant appears to have a bug that causes problems)

apps/bthome_energy/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function update() {
1717
}
1818
]), {
1919
name : "Electricity",
20+
manufacturer : false, ///< turn off manufacturer data advertising (enabled by default in 2v26, interferes with BTHome)
2021
// not being connectable/scannable saves power (but you'll need to reboot to connect again with the IDE!)
2122
//connectable : false, scannable : false,
2223
});

apps/bthome_rotate/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
0.01: New App!
2+
0.02: Disable manufacturer data (enabled in 2v26, BTHome/HomeAssistant appears to have a bug that causes problems)

apps/bthome_rotate/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function updateAdvertising() {
2828
},
2929
]), {
3030
name : "Rot", interval:1000,
31+
manufacturer : false, ///< turn off manufacturer data advertising (enabled by default in 2v26, interferes with BTHome)
3132
// not being connectable/scannable saves power (but you'll need to reboot to connect again with the IDE!)
3233
//connectable : false, scannable : false,
3334
});

0 commit comments

Comments
 (0)