thechrislewis / escape_room_public

public files for escape room dev
2 stars 0 forks source link

Not reestablishing Wi-Fi connection. #1

Open Alekeep opened 5 months ago

Alekeep commented 5 months ago

I have encountered what I believe to be a flaw. If Wi-Fi drops then, no surprise, the MQTT connection is lost as well. After ten attempts to reestablish the MQTT link, the device reboots without ever attempting to reestablish the Wi-Fi connection. Am I missing something?

thechrislewis commented 5 months ago

I did consider reconnecting wifi, but rebooting seemed like the fastest way to get up and running.

Will relook at logic when I next have a bit of time 🤔

Alekeep commented 5 months ago

@thechrislewis, In many cases it wouldn't be difficult to work around. However, in my particular case, there are two situations where this presents a challenge.

thechrislewis commented 5 months ago

No problem. Will have a look

On Mon, 15 Apr 2024, 19:47 Alekeep, @.***> wrote:

@thechrislewis https://github.com/thechrislewis, In many cases it wouldn't be difficult to work around. However, in my particular case, there are two situations where this presents a challenge.

  • a game requires a series of inputs and completed steps are lost in the reboot.
  • outputs control other devices (i.e. mag latches) that require a manual reset after losing power. Sure, it's not the end of the world but I would be grateful if you can find the time. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/thechrislewis/escape_room_public/issues/1#issuecomment-2057582928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFN4OAK437JMNL43B2OO52TY5QOEBAVCNFSM6AAAAABGEI2JH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGU4DEOJSHA . You are receiving this because you were mentioned.Message ID: @.***>