-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable / Disable Scene from VIS/Script #164
Comments
Hi @Streit187, nice request. I had a similar scenario and disabling the scene didn't come to my mind. From script this can work for you (set
Please mind, that you must enable special configuration @Apollon77: the suggested additional States "disable object" / "enable object" would be similar to the Absent value and would be a global change in ioBroker mechanisms. A local change in iobroker.scenes is much safer not to break things. Just my thoughts so others can comment. Regards Jan |
Idea3 I have seen this code in README.md for manipulation of a scene:
I believe the new API for enabling a scene could be:
For disabling a scene this may be the call:
Implementation expected in main.js around line 155. Makes sense? |
#164 This update adds the capacity to enable or disable scenes via message commands, assisting issue #164. Changes include modifications to the README.md to reflect this new feature and adjustments to the main.js file to handle these new commands. Additional improvements include efficient scene saving using async functions, the elimination of callback hell, and string checks to better handle messages.
I`m using a Scene for the Night to close some blinds and dimm some lights. This is configured with cron to true or false the scene.
Befor I go on holiday I turn off (disable) the scene in the adapter. I would like to have the possibility to do this script and vis based.
Means it would be great to have for example an additional state to enable/disable a scene or a 4th value for the existing like true/false/uncertain/disable.
The text was updated successfully, but these errors were encountered: