Skip to content

Latest commit

Β 

History

101 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

KinkonyAGFW

IR + RF Hub Firmware for Kincony AG Hub with Haptique RS90

Version Build License Platform


πŸ”Ž Quick Links


πŸ—‚ Project Skeleton


/
β”œβ”€ bin/
β”‚  └─ Haptique_Kincony_AG_Firmware_V1.Main.bin
β”‚  └─ Haptique_Kincony_AG_Firmware_V1.1.2.Main.bin
β”‚  └─ Haptique_Kincony_AG_Firmware_V1.2.1.Main.bin 
β”œβ”€ KinkonyAGFW_Arduino/
β”‚  └─ Haptique_AGFW.ino
β”œβ”€ docs/
β”‚  β”œβ”€ SetupGuide.md
β”‚  └─ API_Reference.md
β”œβ”€ tools/
β”‚  β”œβ”€ flash_firmware.sh    # Flash ESP32 firmware via esptool.py
β”‚  β”œβ”€ wifi_config.py       # POST /api/wifi/save
β”‚  β”œβ”€ status_check.py      # GET  /api/status
β”‚  β”œβ”€ ir_send.py           # POST /api/ir/send
β”‚  β”œβ”€ ir_capture.py        # GET  /api/ir/last
β”‚  └─ rf_send.py           # POST /api/rf/send
β”œβ”€ LICENSE
└─ README.md


πŸ“¦ Firmware Installation

βœ… Recommended: Web Browser Flash (No Tools Required)

Flash via Chrome / Edge directly from the web:

Start here:
πŸ‘‰ https://support.haptique.io/en/firmware/install

Steps

  1. Connect Kincony Hub via USB-to-Mini-USB
  2. Open the link above
  3. Select .bin firmware file
  4. Click Flash

⚠️ Some USB cables are power-only β€” use a data-capable cable.

πŸ› οΈ Advanced: Flash via esptool.py

# Replace /dev/ttyUSB0 with your serial port
# macOS: /dev/cu.usbserial* or /dev/cu.usbmodem*
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 write_flash 0x1000 bin/Haptique_Kincony_AG_Firmware_V1.bin

Windows GUI (Kincony Flash Tool)

  1. Download: https://www.kincony.com/esp-module-flash-download-tools.html
  2. Open the tool and select the firmware file: bin/Haptique_Kincony_AG_Firmware_V1.bin
  3. Choose your COM port β†’ Start.

For cross-platform and automation, prefer esptool.py.


πŸ”„ First Boot / Provisioning

After flashing, the hub reboots and starts an AP:

SSID: HAP_IRHUB
Password: 12345678

Provision Wi-Fi via the API (2.4 GHz only). Default hostname: haptique-extender (mDNS).


πŸ’» Source (Arduino)

Build with Arduino IDE or PlatformIO

  1. Install ESP32 Board Support.
  2. Open KinkonyAGFW_Arduino/Haptique_AGFW.ino.
  3. Board: ESP32 Dev Module (or your ESP32 variant); set correct Port.
  4. Click Upload.

πŸ”Ž Arduino rule: the sketch folder must match the .ino filename. If prompted, allow Arduino to place it in Haptique_AGFW/.


πŸ§ͺ Developer Test Tools (Python)

Simple scripts live in /tools to exercise the device APIs.

Prerequisites

python3 -m pip install --upgrade pip
pip install requests

Replace --host with either your device IP (e.g., 192.168.1.100) or the hostname haptique-extender.local (when mDNS works).

1) Provision Wi-Fi

python tools/wifi_config.py --host http://haptique-extender.local \
  --ssid "Your2GSSID" --pass "YourPassword"
# POST /api/wifi/save

2) Check Status / IP

python tools/status_check.py --host http://haptique-extender.local
# GET /api/status

3) Send IR (raw durations)

python tools/ir_send.py --host http://<device-ip> \
  --raw 9000,4500,560,560,560,560 --freq-khz 38 --duty 33 --repeat 1
# POST /api/ir/send

4) Read Last Captured IR

python tools/ir_capture.py --host http://<device-ip>
# GET /api/ir/last

5) Send RF 433 MHz code

python tools/rf_send.py --host http://<device-ip> \
  --code 123456 --bits 24 --protocol 1 --repeat 8
# POST /api/rf/send

These scripts only require requests and map 1:1 to the firmware endpoints implemented in the sketch.


πŸ—“οΈ Changelog

See the full CHANGELOG.md for release history.

✨ Features

  • AP + STA Wi-Fi provisioning with mDNS
  • HTTP APIs for IR send, capture, and status
  • RF 433 MHz send support
  • OTA update system (manifest or direct URL)
  • WebSocket live events for IR & RF receive
  • Built for Kincony AG Hub & Haptique RS90 integration

πŸ“š Documentation

We’ve moved detailed instructions to /docs:


🀝 Contributing

Pull requests and improvements are welcome. Fork this repo, make changes, and open a PR.


πŸ“œ License

This project is licensed under the MIT License β€” see the LICENSE file.


Β© 2025 Cantata Communication Solutions Β· Haptique RS90 Γ— Kincony AG Hub

About

IR+RF Hub firmware to use Kinkony AG hub with Haptique RS90

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages