Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ALR LoRa firmware for home assistant enabled AUTO DISCOVERY
#11
(01-08-2025, 11:21 PM)admin Wrote: because our firmware design for read DS18B20, so if you connect with DS18B20 as our photo, the LCD will show the value.

OK, I will make sure to order a couple of those. I am still not seeing the device on my WiFi router device list even after updating the network ID and password. Do you have any advice for dealing with this? I have followed your instructions and used the UART Assitant to enter the network ID and password along with MQTT settings, but I do not see the device added to my WiFi network. Is the DS18B20 required to make it connect? I had not expected to need any connected sensors to make it function as a LoRa reciever and MQTT gateway.

Thanks for you help.
Reply
#12
now the firmware MUST need connect with DS18B20.
Reply
#13
(01-18-2025, 12:15 AM)admin Wrote: now the firmware MUST need connect with DS18B20.

Thank you for your help. I have ordered a DS18B20, but in the mean time I have been able to purchase the unprotected TMP36 and hooked it up. I was also feeling like there was some other bigger issue so I decided to reflash the board with the ESP Tool and then try resending the setting in the UART Assistant. This seems to have worked! I think there was a bad flash of the Reciever firmware from the start. After that I was struggling to get the board to connect via MQTT to my HA instance on the same network.

I knew things were going in the right direction though since I was getting RECV messages back in the UART display and my board was both assigned an IP and appearing as an attached device on my WiFi network. The ALR display also started to show the mqtt: line along with rssi: and cnt_rcv:, but they were all blank. In other words, the mqtt was not actually connecting to HA. But I could see the device trying to connect to the MQTT broker by checking the log, there was something still not right.

I pulled out one of my NodeMCU boards that I have previsouly used as a MQTT Gateway and checked some of the settings in Arduio IDE for that board and what I noticed is that the mqtt_ip did not have the "http://" preceding the IP or URL. I made the change to my ALR upload and this appears to have fixed the issue! So here are the settings I need to use, in general form, to make my ALR work:

  "wifi_name":"NETWORK_ID",
  "wifi_psw":"wifipassword",
  "mqtt_ip":"192.168.1.10",
  "mqtt_port":"1883",
  "mqtt_user":"brokerusr",
  "mqtt_psw":"password"

I hope this helps others.
Reply
#14
thanks share your result.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)