This web app uses web-ble to control a esp32 device over ble, while subscribing to its' updates, and includes 'autoranging'. App is designed to work with esp32 ble controlled apps, see breathing LED gist and Hobby servo gist. App is deployed at https://urishx.github.io/ESP32_fader/.
- There's currently no documentation and little to no code remarks in the web app.
- However, The Arduino sketches in the attached Gists are commented pretty well.
- There are probably better ways to implement this web-ble web app. It was just a quick test for myself, and as such was not taken too seriously.
- On the UI side, I should probably define several portrait orientation widths, and move the slider accordingly. Right now it is not positioned correctly on all devices.
- On the UX side, I should probably ditch the slider alltogether, and replace it with something that will not cause accidental refreshes.
- I started making this app a PWA, but never quite figured it out completley. It can and should be done.