• What’s a good solution for setting up a controller on an iPhone to control the jolt outputs

    I'd go with Web Bluetooth - you need to install a special Web Bluetooth browser on iOS to make it work, but it's not that hard. Nice and easy to develop: https://www.espruino.com/Web+Bluetooth

    Otherwise I believe Adafruit has a Bluefruit app for iOS which already has lots of buttons/things in it. IIRC they send simple characters like l and r, so you'd have to do: USB.setConsole(1);Bluetooth.on('data', ...) to decode it.

    ... also on that Lego tutorial it shows how you can use it with graphical programming from the IDE, so if the grandkids are a little older that could be of interest too.

    Now the missing piece is a native Espruino integration in Home Assistant ;-)

    Tell me about it! I have spent quite a long time looking into it, but I'm not a great Python developer and doing an integration seems like a very steep learning curve :(

    I did add https://www.espruino.com/ble_led which is an interesting solution for controlling Jolt/etc from Home Assistant (and https://www.espruino.com/BTHome is great for going the other way). A lot of these BLE things for Home Assistant don't seem great though as they seem to attempt to maintain a permanent connection.

    If BTHome worked the other way that'd be great too, but I did talk to the developer and he's not interested in getting involved in that at the moment.

  • Tell me about it! I have spent quite a long time looking into it, but I'm not a great Python developer and doing an integration seems like a very steep learning curve :(

    Yeah same conclusion, seems right now difficult to integrate BLE devices in HA (except with BTHome for sensors, obviously).
    I still hope someone will eventually come up with an integration for BLE actuators, or at least with something we can easily use to push data into Espruino. I am thinking especially about Pixls.js which will be perfect for displaying information....

    I did add https://www.espruino.com/ble_led which is an interesting solution for controlling Jolt/etc from Home Assistant

    Oh, that's already really cool, didn't know about it! I will definitely give it a try! Thanks for that!

About