mianos / hk-heltec-radar

3 stars 0 forks source link

Mqtt credentials #2

Open rikki78 opened 7 months ago

rikki78 commented 7 months ago

Could for add the possibility to connect a mqtt server that requires credentials?

mianos commented 7 months ago

Sure, can maybe in the next few days. I am on rec leave. I was planning on moving everything to the esp-idf but I'll add credentials in the spiffs json config for you. I only have a local mqtt but am interested in add credentials to it for fun.

mianos commented 6 months ago

I wrote the whole thing again for the esp-idf.

https://github.com/mianos/mqttradar

It stores all the config in nvram and can be updated with an http post. I have included auth support for the mqtt server.

The wifi is configured with esptouch. (I have used the access point style web server on the other one but it's very slow and kinda crappy having to switch networks). You can download it from Espressif for android or apple.

I need to do a bit more debugging of the tracking time management and I'll write up how to configure it.

(The IDF is so so much more reliable. The mqtt is noticeably more reliable already).

rikki78 commented 6 months ago

Nice! I'll have a look at it soon!