Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Support Weekly Schedule #1

Closed
lukasf98 opened this issue Oct 9, 2021 · 4 comments
Closed

Support Weekly Schedule #1

lukasf98 opened this issue Oct 9, 2021 · 4 comments

Comments

@lukasf98
Copy link

lukasf98 commented Oct 9, 2021

I've looked in the logs and it seems that the weekly schedule is transmitted in the following way:

[day_of_week, temperature * 2, time_in_hours * 4, ...]
Example: [1, 34, 1, 34, 96, 34, 68, 42, 92, 34, 96, 42, 96, 34, 96, 42, 96, 34]
Translated: [Monday, 17°, 0:15, 17°, 24:00, ... ]

Note: day_of_week ist starting with Monday (0) and ending with Sunday (7).
It would be great if that could be added and also sending weekly schedules to the valve.

@Lavisx
Copy link
Owner

Lavisx commented Oct 9, 2021

Now is added base stupid scheduling. I don't know how use array structure to expose to UI so it now use simple flat and stupid variables name.

@Lavisx Lavisx closed this as completed Oct 9, 2021
@lukasf98
Copy link
Author

Great! Thanks a lot!

I tested it and I have one problem that I can't change the times. Is that just an issue on my side or haven't you implemented it yet?

@Lavisx
Copy link
Owner

Lavisx commented Oct 10, 2021

When you change the times and click apply so it will send the new values.
There is some issue in UI.
I opened new issue Koenkk/zigbee2mqtt#9096

@lukasf98
Copy link
Author

You're right. It works when I click apply.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants