Replies: 3 comments
-
|
Generally smart plugs don't include a RTC, and the default firmware is set to run with wifi to get (and update) the time as well as the html for the site. You can either run this on custom hardware with an RTC built in or setup a local offline NPT server with home assistant or the like. Either way the firmware would need slight modification to tell it where to get the time from and you'd need to include the html in the binary which is explained in the esphome docs. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the explanation. I’m fine with editing the firmware, that part isn’t a problem for me. Do you know of any specific plug or ESP-based device that already has an RTC built in (ideally with battery backup) that I could flash this onto? I’m trying to find something that would keep accurate time even after a power loss, without needing WiFi at boot. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
|
I'm not aware of any. If you do find one please post it here. I would run a small PC or raspberry pie with home assistant. Or just run a NPT server. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m trying to understand how the Melacha Plug handles timekeeping when WiFi is not available.
Specifically:
Does the device include a hardware RTC (Real Time Clock) with battery backup?
Or does it rely entirely on SNTP/NTP over WiFi to obtain the current time?
My use case is:
I would like to configure the plug while connected to WiFi, then move it to a location without WiFi access.
If the device loses power in that location and reboots without WiFi, will it still retain the correct time and continue running its schedule properly?
Thank you for clarifying.
Beta Was this translation helpful? Give feedback.
All reactions