You can do it a bunch of ways - since it's Bluetooth LE you can use pretty much any of the ways that you'd connect to a normal Bluetooth LE Espruino device.
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.
You can do it a bunch of ways - since it's Bluetooth LE you can use pretty much any of the ways that you'd connect to a normal Bluetooth LE Espruino device.
There's some code for connecting directly here: https://www.espruino.com/Interfacing#bluetooth-le
You can use Advertising (which is maybe easier for IOS stuff):
http://www.espruino.com/BLE+Advertising
or there are loads of tutorials at http://www.espruino.com/Bangle.js2#tutorials
There's also a post on the forum where I showed how to use bthome with Home Assistant on a pi