App for control RGB LED ambient light. iPhone is connected via BLE with ESP32 SoC which controls RGB LED(or with few code changes any Bluetooth device)
- Discover nerby Bluetooth pheriperals,
- Connect to any Bluetooth pheriperals, discover their services and characteristics,
- Remember LED device in persistent storage for future autoconnection,
- Converting SwiftUI color into binary data and sending it via BLE to my device,
- Turn ON/OFF LED by quick tap on hanging bulb,
- Control LED Brightness,
- Control LED Color via quick color buttons or using new in iOS14 SwiftUI Color Picker,
- Cool bulb animation thats lights up whole user interface,
- Accelerometer support for moving hanging bulb depending on the tilt of the phone,
- App supports Light and Dark Mode.
- Apple SwiftUI - interface created with SwiftUI.
- Apple Core Bluetooth - enabling iPhone Bluetooth connections.
- Apple Core Motion - detecting iPhone tilt
- ESP32 - used SoC
- ESP-IDF - used to program ESP32 SoC
- ESP32_SmartLED_Device - my device