Xiaomi vacuum card.
I could do a switch that started the automation, but would be cool if it was integrated by default.
Can you share your config? Right now I’m using the following for the heater:
climate:
- platform: generic_thermostat
name: Study
heater: switch.blitzwolf
target_sensor: sensor.0x00158d0001ab170f_temperature
min_temp: 5
max_temp: 25
ac_mode: false
target_temp: 17.5
cold_tolerance: 0.3
hot_tolerance: 0.3
min_cycle_duration:
seconds: 60
keep_alive:
minutes: 0
initial_hvac_mode: "off"
away_temp: 16
precision: 0.1
However I need to keep some automations to enable and disable the heater at x hours.
Rather than wonder what I mean, I encourage you to read the topic in the Architecture repo (linked above). To help people navigate the long discussion, I’ve created this list of highlights:
In a nutshell, it was decided that scenes were the best choice to represent a ‘unit of work’ for the scheduling engine. In fact, the decision (made in early summer 2019) required improvements to scene management, notably the addition of a service to create scenes.
It’s my understanding that all of the work done so far is on the actual scheduling engine and not the UI to interact with it. The engine schedules scenes, not individual entities. If I had to guess, I’d say the UI will let you select one or more entities and they’ll be transparently assigned to a dynamically created scene (behaving as the “container” I mentioned earlier). However, that’s just my guess; how the UI ultimately handles it is a design conversation yet to take place.
Yes, you’re right. I’m a Douglas Adams fan.
Thank you so much for all the good things you wrote.
Those are the best rewards for all the job done.
I think I reach a good level of satisfaction for most of the users (and me).
So, after the next release, I will slow down on this… but only because I have to complete another custom idea on HA that I can’t find anywhere, and I really need that.
Oh, I almost forgot…
version 0.13 released
- Added Sunset / Sunrise as time alternative
- Added date and time in scheduler log
- General optimization
Ciao!
grat news … waiting your upcoming releases… shure you will make a really fanstatic app… maybe with other people who will help you. Great stuff !!!
Hi, hw to do that? Is possible to add an offset?
Just write “sunset” or “sunrise” instead of time.
Adding offset is not so easy. Maybe in the future.
I don’t need this feature. I just add this because of the many requests
I don’t know about programming. If its difficult you perhaps is easy to add other times near sunrise sunset (dawn dusk)
Probem is at sunset its already too dark, it is needed a moffset, probably dawn is ok
one of the best addon, simple, fast, very useful. Thanks again!!
First time schedulling and got this error:
**Warning** : file_put_contents(/share/simplescheduler/sun.dat): failed to open stream: Permission denied in **/var/www/html/lib.php** on line **221**
That’s odd. Let me do some more test
I scheduled it 2 days ago and since then I restarted HA multiple times
I’ve just installed the addon in a brand new installation of HA, and it works without any error.
Can you give me more details? SimpleScheduler version, HA Version, other addons installed, new install or upgrade, and anything else could help me to figure it out.
The share folder is a HA system folder. The subfolder simplescheduler is created during addon installation (or rebuild) and it receives 777 permission…
So permission denied error is really odd…
Please, check the addon version: should be 0.13
according to the log the permission denied is from /var/www/html/lib.php and not simplescheduler, right?
No, that’s the file that execute the command.
The error is “failed to open stream: Permission denied” while trying to write the file /share/simplescheduler/sun.dat
Could you please check if the subfolder simplescheduler has been created under the share folder?
It’s there and +777
Unesplicable.
Is there anything in /share/simplescheduler ?
Are you able to create schedules? Does it create JSON files inside /share/simplescheduler folder?
One json with my only schedule, a txt with log and sun.dat
Word of the day.
I encourage everyone to slip it in to casual conversation.