Evgeny Posted July 24 Posted July 24 Device: Shelly Pro 3 Firmware: 20240223-142037/1.2.2-g7c39781 Schedule: Turn ON, after Sunset with offset of 1h 20m Problem: The device incorrectly calculates the scheduled on-time when the sunset occurs close to midnight. Expected behavior: On June 30, 2024, sunset was at 22:40. The relay should have turned on at 00:00 on July 1, 2024. On July 1, 2024, sunset was at 22:39. The relay should have turned on at 23:59 on July 1, 2024. Actual behavior: The relay incorrectly skipped a cycle from June 30 and turned on at 23:59 on July 1, 2024 only. Root cause: It appears the device uses an incorrect calculation for the offset when the scheduled on-time crosses midnight. Additional notes: A similar issue might occur with Sunrise schedules when using negative offsets. This issue is likely to occur in regions with long daylight hours. Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.