I am using a simple thermostat widget where I can set the temperature and see the current temperature in a diagram. Now it would be nice to have such widget where it is possible to setup a scheduler in order to decrease/increase the temperature during the night/day.
Unfortunately I could not find such widget and/or there is a “rule” or something similar which I can use.
There are several ways you could accomplish this, and the “best” one depends on how you are planning to use it. Would you change the schedule frequently, or do you want to “set-and-forget”? In the latter case, a few cron-based rules would probably be easiest. In the former case, there could be marketplace widgets that might suit your needs, I know there’s a “Timeline picker” that could work, but haven’t used it myself so not sure of what capabilities it offers.
One way to implement 1 is instead of hard coding the time in the trigger, you can use the Time is Item trigger and set the time in a DateTime Item. You can use DateTime Standalone Widget and DateTime List Item to set the date times.
Hello
I am trying to use the #3 you proposed. I installed both widgets but I do not fully understand how they works. I can select a date and link it to an item so far. In the widget “DateTime List item” I see the current state of the item. When I press afterwards to the checkmark symbol I get an error message “comunication error” and the inserted date/time is removed.
Question:
How do I use your widgets in order to switch on/off a light for example or changing the temperature during nightime? It looks that I am missing something here…
There isn’t anything special about my widgets. They just do a tiny bit of configuration of features that are built in to MainUI and the underlying F7n framework. If it’s not working, there’s a problem with something upstream from the widget.
I think I saw an issue go by that mentioned that if you do not enter anything and press the check an error will be generated. But if you select a DateTime and then hit the check it should command the Item with the newly selected date time.
Once you have the DateTime Item populated, you use that Item as the Item in a Time is <Item> trigger. Then that rule will run a the time carried by the Item.
When I use such DateTime item populated with a specific date and used that item in a rule, will the rule only trigger once at that day I configured? I would like to have a rule which triggers such item always at the same (night) time for example.
Again, there isn’t anything I can do about this. It’s not implemented by the widget. It’s implemented by the F7 framework. All the widget does is set the property to show the date time picker.
You can also use the timepicker widget from the marketplace and add it as default standalone widget. We use it within the semanticHomeMenu project for time schedules for rollershutters.