Share My Creation HomeKit32 – Modular Smart Home Kit

HomeKit32 is a personal hobby project turning the Keyestudio KS5009 Smart-Home kit into a clean, modular automation platform using ESP32, BLE, MQTT and B4X.

The ESP32 runs B4R firmware acting as a BLE GATT server and optional MQTT gateway.
Clients exist for B4J, B4A, Python, and a Blockly visual programming interface integrated into B4J.

All 13 KS5009 devices are supported (LEDs, servos, relays, sensors, LCD, RFID, etc.).
Communication uses framed BLE packets and JSON/MQTT payloads.

Published on GitHub, Overview.

Technical Info:
  • Firmware: ESP32 + B4R, wrapped C++ libraries for performance
  • HMI (Desktop/Android): B4J and B4A using HMI Tiles (ISA-101 Standard)
  • Communication: BLE (UART services), optional MQTT integration for Home Assistant etc.
  • Supported Devices: LEDs, relays, motors, DHT11/22, PIR, buzzer, LCD, servos, RFID, RGB LEDs, etc.
  • Blockly Interface: Visual programming for HomeKit32 devices in B4J > Note: my favorite client solution - will be developed further and published B4J forum.
  • Clients: Python GUI optional for cross-platform control
This is a non-commercial learning project, shared for inspiration and discussion.

Keyestudio Smart Home Kit ESP32
1765710056270.png


B4A & B4J BLE Clients
1765710095210.png


B4J Blockly BLE Client - Fully Integrated in Webview, Custom Blocks
1765710119631.png
 
Top