Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ALR LoRa firmware for home assistant enabled AUTO DISCOVERY
#5
(09-05-2024, 12:42 AM)admin Wrote: 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:
for TRANSMIT board: 

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:


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.
I have followed the instructions posted above and found them to be pretty easy to follow be connecting a few dots in places where it was unclear to me, I'm a novice here, so there are gaps in my knowledge that can be challenging to overcome at times. Ultimately, I believe I have the UART Assist working with the board after using the ESP download tool to load the reciever firmware. When I connect the UART Assist at 921600 baud and match the other settings found in the forum, I get a "begin LoRa Initializing OK!" message. Then I modify the Wifi and MQTT settings and click Send, but I get no confirmation, should I be getting something back or should the board display itself show something other than "KinCony"?
Reply


Messages In This Thread
RE: ALR LoRa firmware for home assistant enabled AUTO DISCOVERY - by wint0178 - 01-04-2025, 04:23 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)