ALR LoRa firmware for home assistant enabled AUTO DISCOVERY - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KinCony ALR (https://www.kincony.com/forum/forumdisplay.php?fid=59) +--- Thread: ALR LoRa firmware for home assistant enabled AUTO DISCOVERY (/showthread.php?tid=6602) |
ALR LoRa firmware for home assistant enabled AUTO DISCOVERY - admin - 09-05-2024 here is KinCony firmware for ALR LoRa board - ALR. it support control relay , monitor DS18B20 temperature and 4 channel analog input, 1 channel digital input state in home assistant by MQTT. You not need config any code for home assistant yaml. Because we have design firmware enabled MQTT auto discovery for home assistant. here are two ALR board. one work as RECEIVER(gateway), another work as TRANSMIT(read sensor state, control relay), just set DIP switch on PCB, let two board same DIP state, so that they will communication with each other, easy! RECEIVER(gateway) board's LCD displayer will show MQTT broker connection state, LoRa signal value and how many LoRa package have received. TRANSMIT board's LCD displayer will show DS18B20 temperature value, LoRa signal value and how many LoRa package have sent. here is two firmware BIN file for different board: for RECEIVER board: ALR-RECEIVER-20240904.ino.merged.zip (Size: 614.04 KB / Downloads: 53) for TRANSMIT board: ALR-TRANSMIT_20240904.ino.merged.zip (Size: 606.17 KB / Downloads: 49) download firmware by ESP32 DOWNLOAD TOOL: chose ESP32-S3 and USB mode. chose RECEIVER board's firmware and set address to 0x0 chose TRANSMIT board's firmware and set address to 0x0 set router's wifi ssid, password, mqtt broker ip, mqtt port, mqtt username, mqtt password for RECEIVER board via USB-C cable. config json command: { "wifi_name":"KinCony", "wifi_psw":"a12345678", "mqtt_ip":"192.168.3.124", "mqtt_port":"1883", "mqtt_user":"mqtt", "mqtt_psw":"123" } serial port debug tool download: UartAssist.zip (Size: 468.4 KB / Downloads: 49) after config complete and reboot. you can see KinCony ALR board is showed on home assistant DEVICE list: you can add these entities to home assistant dashboard. RE: ALR LoRa firmware for home assistant enabled AUTO DISCOVERY - maso - 11-23-2024 Hello, I have problems to write code and now I need to test original firmware. While uploading my installed code is not removed. The flash tools says finish, but I hear the my old code (which reboots ever second) was not overwritten. ----------------------- In the flasher cmd windows I see following prompt: Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. NO XMC flash detected! SPI_BOOT_CRYPT_CNT 0 SECURE_BOOT_EN False is stub and send flash finish ------------------------------- it detects following info: AP: DCDA0C7B7EE5 STA: DCDA0C7B7EE4 BT: DCDA0C7B7EE6 ETHERNET: --------------------- The display keeps dark. Any Idea what I should do? Thanks, Martin RE: ALR LoRa firmware for home assistant enabled AUTO DISCOVERY - maso - 11-23-2024 All fine. I found problem..I did not check mark the box of the bin file :-) RE: ALR LoRa firmware for home assistant enabled AUTO DISCOVERY - admin - 11-24-2024 ok |