That's great - thanks for letting us know! Are all those elements needed?
Looking at https://bthome.io/format/ I see the Events heading and it looks like you need 0x3A (event), and then something before to say what it was (0x0F for generic bool?). But is the 0x09 at the start just for backwards compatibility with older BTHomes?
I should make a bthome library to make this easy to use. Do you have any thoughts on what should be in it?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's great - thanks for letting us know! Are all those elements needed?
Looking at https://bthome.io/format/ I see the
Events
heading and it looks like you need 0x3A (event), and then something before to say what it was (0x0F for generic bool?). But is the 0x09 at the start just for backwards compatibility with older BTHomes?I should make a
bthome
library to make this easy to use. Do you have any thoughts on what should be in it?