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: 55)
for TRANSMIT board:
ALR-TRANSMIT_20240904.ino.merged.zip (Size: 606.17 KB / Downloads: 50)
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: 51)
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.
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: 55)
for TRANSMIT board:
ALR-TRANSMIT_20240904.ino.merged.zip (Size: 606.17 KB / Downloads: 50)
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: 51)
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.