richonguzman / LoRa_APRS_iGate

LoRa APRS iGATE for ESP32 Based Board with Rx + Tx capabilities
MIT License
151 stars 49 forks source link

Release build #100

Closed S57PNX closed 1 week ago

S57PNX commented 1 month ago

Riccardo, would it be possible to have a new prebuilt release for the web installer? There's been quite a lot of changes since April 16th :)

I have no idea how much extra work does this create on you and I hope it can be automated, but a nightly experimental build would be great too.

Regards, S57PNX (from Slovenia, not Poland!)

richonguzman commented 1 month ago

Hi ,

it will be tonight or tomorrow as I have finished a few updates already and I think I will let the others for another one.

Be patient and I will inform everywhere when its available :)

S57PNX commented 3 weeks ago

I am sorry to reopen this issue. We have started to build a nationwide LoRa APRS based on your firmware, and there was at least 5 new sites installed in the last two days. All these sites are installed using web flasher 1.0.2 (running firmware from April).

We know that OTA upgrade from April firmware is not possible, and I feel sorry that everybody will need to go again to new sites (mountains, rooftops etc.) and reinstall with a new firmware once it is available. Can I kindly suggest a new FW release so that people can start from it and continue using OTA in future? This will help us a lot.

Thanks for your hard work!

richonguzman commented 3 weeks ago

Hi!!!

i will try to get this done this weekend and see about having it running soon!

Mane76 commented 2 weeks ago

I did successfully test a workaround on some iGates here running various versions of code following this procedure (no guaranty, on your own risk, worked for me)

"AP": [{ "ssid":"BEZEICHNUNG", "password":"GEHEIM"}]

on my site this worked

S57PNX commented 2 weeks ago

Hi Manfred,

thanks for the writeup, I had thought of this approach a few weeks ago and tested it extensively in my lab, starting with virgin Lora32 2.1.6 and web flasher 1.0.2. Sadly it did not work for me, and certainly is not reliable enough for casual user. After the final step i was still presented with “Failed to load configuration”. Perhaps you already started with a version that had the new partition size definitions?

I believe that the OTA flasher doesn’t update the partition definitions (partitions.bin).

Regards, Mitja

On 7 Jun 2024, at 21:40, Mane76 @.***> wrote:

I did successfully test a workaround on some iGates here running various versions of code following this procedure (no guaranty, on your own risk, worked for me)

get latest sources via github and open in vscode edit /data/igate_conf.json to match your configuration. if using WLAN add your ssid and password within the "AP": [] in section wifi. Should then look like: "AP": [{ "ssid":"BEZEICHNUNG", "password":"GEHEIM"}]

compile FW in vscode compile Filesystem in vscode using platformio (alienhead) -> your board -> "build filesystem image" open webui on igate and go to OTA choose "Firmware", choose compiled firmware-file (firmware.bin) and start update when finished go back, choose "Filesystem" and choose generated filesystem-file (spiffs.bin) when finished go back to webui and perform a reboot on my site this worked

— Reply to this email directly, view it on GitHub https://github.com/richonguzman/LoRa_APRS_iGate/issues/100#issuecomment-2155433114, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHDLO6DZPSYOOIDANDUESU3ZGIEELAVCNFSM6AAAAABIELWFOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGQZTGMJRGQ. You are receiving this because you authored the thread.

richonguzman commented 2 weeks ago

Hi Manfred, thanks for the writeup, I had thought of this approach a few weeks ago and tested it extensively in my lab, starting with virgin Lora32 2.1.6 and web flasher 1.0.2. Sadly it did not work for me, and certainly is not reliable enough for casual user. After the final step i was still presented with “Failed to load configuration”. Perhaps you already started with a version that had the new partition size definitions? I believe that the OTA flasher doesn’t update the partition definitions (partitions.bin). Regards, Mitja On 7 Jun 2024, at 21:40, Mane76 @.***> wrote: I did successfully test a workaround on some iGates here running various versions of code following this procedure (no guaranty, on your own risk, worked for me) get latest sources via github and open in vscode edit /data/igate_conf.json to match your configuration. if using WLAN add your ssid and password within the "AP": [] in section wifi. Should then look like: "AP": [{ "ssid":"BEZEICHNUNG", "password":"GEHEIM"}] compile FW in vscode compile Filesystem in vscode using platformio (alienhead) -> your board -> "build filesystem image" open webui on igate and go to OTA choose "Firmware", choose compiled firmware-file (firmware.bin) and start update when finished go back, choose "Filesystem" and choose generated filesystem-file (spiffs.bin) when finished go back to webui and perform a reboot on my site this worked — Reply to this email directly, view it on GitHub <#100 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHDLO6DZPSYOOIDANDUESU3ZGIEELAVCNFSM6AAAAABIELWFOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGQZTGMJRGQ. You are receiving this because you authored the thread.

hi @S57PNX ,

OTA needs the same partitions as before this is why the new update will be only for FULL ERASE FLASHING MODE

and from this update and forward OTA will be available again.

as there are much more updates and code, I needed to change partitions size as there was not enough space to continue.

soon more news

richonguzman commented 1 week ago

new WebInstaller V1.0.3 is available for a few days ;)