Comments (4)
You can add the media_player
domain if you want to control it with scheduler.
But i don't think it should be part of the standard configuration, since i think most users don't want to program schedules for media players.
See https://github.com/nielsfaber/scheduler-card#options on how to set-up your own domain.
from scheduler-card.
A scheduler with a media player is useful if somebody wants to set up an alarm clock, so the speakers play a tune or a TTS message on time. Also very useful to set up a sleep timer, like stop playback or turn off after 30/60/90/120 minutes.
Another usage scenario is to simulate that somebody's at home, like turn on the TV or music playback for 1 hour and then turn it off, maybe combined with the random request.
These are use cases which are most useful if done through Lovelace, and your scheduler solution would fit perfectly.
from scheduler-card.
A scheduler with a media player is useful if somebody wants to set up an alarm clock, so the speakers play a tune or a TTS message on time.
Playing a tune or TTS message will require the user to set up a specific action (with the right service_params) as well.
Generically speaking, you could only trigger one of the actions you mentioned before.
A possibility for an alarm clock would be to turn on a media player, (set it to a fixed volume), and set source to FM. But currently, it is not possible to program such a sequence of actions with the scheduler.
Also very useful to set up a sleep timer, like stop playback or turn off after 30/60/90/120 minutes.
Such functionality is currently not in scope for the scheduler. It is intended for executing actions at certain time of the day, not X time after an event.
I think current functionality of the scheduler is too limited to really be useful for media players, but again, you can already configure it as you like.
from scheduler-card.
Media player is added in v1.5.0. Actions turn_on
, turn_off
and select_source
are available.
I think other actions are very user dependent, you will have to add them yourself.
Please try it out and close the issue if the problem is solved for you.
from scheduler-card.
Related Issues (20)
- scheduler with scheme for a single day: it runs only the first timeslot HOT 2
- Option to hide the "Excluded items" line HOT 2
- Support (not only the Sun integration but also) the DECONZ-daylight sensor integration HOT 5
- Add integration filter to include list HOT 3
- Restrict tags to only one schedule (enabled) at the time
- Modify schedule switch to On/Off/Auto HOT 3
- Expose current state of conditions HOT 4
- Cannot disarm alarm? HOT 1
- Script option to "Execute" doesn't do anything? HOT 3
- Changing timeslots via service "Scheduler: Edit" leads to "invalid date" HOT 1
- Scheduler-Card keine Verbindung zur Schedulerkomponente
- The possibility to change the name separately to the display name and the entity id. HOT 2
- arming manual alarm with code throught the scheduler card HOT 1
- entity to disable tagged timers HOT 1
- Add the time domain (time entities) to the list of standard configuration actions HOT 3
- After upgrade to HA 2024.03 - crashes when adding a schedule from service-call HOT 1
- "Add item" button missing. HOT 4
- "Name" field title missing on options tab HOT 2
- scheduler-card - Continiously repeating 'Uncaught error from Chrome 123.0.0.0 on Windows 10' HOT 1
- Schedules are turned off or not triggering HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scheduler-card.