-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meross divice incorrect timestamp #98
Comments
Hello @frabar55 , If your device is still connected to the internet and the Meross cloud this is unlikely to happen (but could of course) since it should be able to connect to these servers. If instead you have un-paired the devices from Meross and you are running them on a private network this could be due to your router/lan configuration which is not allowing these NTP queries to pass-through. When devices are connected to meross_lan via MQTT, and are unable to connect to external NTP services, my integration tries to set the time but this not supported/tested for every device/firmware so it might not really always work. At any rate, like I said this is not an issue preventing the device from working correctly in HA/meross_lan. Just something to be aware of. |
I have the same timestamp issue on my logs
My meross plugs are connected to my wifi and to meross cloud. |
Hello @ioannispelelis , I'll maybe review the involved code in order to see if there's something else that could explain those logs but that should be it |
Hello @krahabb yes my time on my HA should be correct i mean all my automations based on time are executing at the exact time i set them. |
Well maybe it's just a transient condition..that log should appear once per day (for every device) if the time misalignment persists. |
@krahabb i can see in the logs that usually this happens when i reboot HA > I have like 8-9 log lines like this (out of the 12 meross plugs i have) > maybe just after boot HA has not had the time to sync with NTP and shoots those errors until it does sync time? At least it does not seem to impact the plugs working correctly. |
I don't know really, |
Alright i did some test by rebooting HA few times Weirdly after each reboot i get 9 logs of incorrect timestamp: Test 1:
Test 2:
Test 3:
|
I also get this warning for my MSS310 outlets after restarting HA, they all are running about 40-60 seconds behind HA. If I reboot the outlets (by unplugging them) they don't show the warning any more for a while. After a while they start to fall behind HA again. |
Hello @czornikk, right now meross_lan logs a warning when the device timestamp is more than 5 seconds away from HA. Also, when this happens and the device is able to accept a special kind of command, meross_lan starts the synchronization procedure.
As stated meross_lan logs the warning when the device is more than 5 seconds away from HA epoch and this log repeats once in a week if the condition persists. |
Every morning I find this warning: MerossDevice(2103099103431490845048e1e960a3c2) has incorrect timestamp
I have 6 devices but just that one reports this warning.
Version of the custom_component
home assistant v 2021.9.7Configuration
The text was updated successfully, but these errors were encountered: