Comments (4)
I was just looking at this as well. This would be very easy to implement, I'm a little hesitant to add new tags until we have eclipse-archived/smarthome#1093 figured out.
from openhab-alexa.
Hi,
Any news on the scenes topic?
Looking through the code, I noticed that "SCENE_TRIGGER" is already mentioned, but not implemented. As well the readme hints with "Alexa turn on Home Theater Scene" that there could be such a feature.
I would very much like to help with this topic. Concerning JavaScript my knowlege is very little, but if there is a way to do something to push this topic, it'd be intresting to know.
Cheers,
Hendrik
from openhab-alexa.
In case, this support will not be part of the initial release of the v3 ported skill [#54], I have implemented the scene trigger support with the current version. This implementation relies on the scene logic being handled on the OH side through rules.
Here is an item definition example:
// Define a scene with on/off capability (default)
Switch sceneOne "Scene One" ['Scene']
// Define a scene with on capability only
Switch sceneTwo "Scene Two" ['SceneOn']
// Define a scene with off capability only
Switch sceneThree "Scene Three" ['SceneOff']
// Define an activity with on/off capability (default)
Switch activityOne "Activity One" ['Activity']
// Define an activity with on capability only
Switch activityTwo "Activity Two" ['ActivityOn']
// Define an activity with off capability only
Switch activityThree "Activity Three" ['ActivityOff']
Based on the API reference guide, the only difference between an activity and a scene is if the changes in that entity must occur in a specific order or not. I am not sure how this difference is represented on the Amazon side as both activities and scenes are showing in the scenes discovered tab and are actionable when called directly. However, when using routines, it seems that only activities are available as scene commands.
from openhab-alexa.
This is implemented in the upcoming v3 skill, closing.
https://github.com/openhab/openhab-alexa/blob/v3/ohConnectorV3.js#L522
from openhab-alexa.
Related Issues (20)
- feature request: support personal profiles HOT 3
- Thermostat Setpoints Not Allowed Above 100 Degrees HOT 3
- Arabic Language Support HOT 2
- Window Covering Rollershutter Item No Control Page in Alexa App HOT 1
- missing several display categories HOT 2
- Window Covering Rollershutter percentage values are inverted HOT 1
- Cooking Device Capabilities Support
- Dimmer percentage commands broken HOT 2
- Support remote video player interface HOT 2
- Television device not discovered if Channel item type is string HOT 4
- Adding transitional states to Custom Semantic Catalog HOT 2
- Can say "Light On" but not "Fan Medium" in an Alexa group without full thing name "Bedroom Fan Medium" HOT 2
- Keep getting [Error]: CliError: The CloudFormation deploy failed for Alexa region "default": Access Denied HOT 6
- AlexaSkillFunction[AWS::Lambda::Function] CREATE_FAILED HOT 1
- MainUI How To Examples
- "message": "Required parameter(s) missing in the request." HOT 4
- The Command "Stop" does not stop the Rollershutter in German HOT 1
- Television.Channel - Mapping names to number not working HOT 1
- devices discovery is terminated without new devices HOT 3
- Fail to deploy (skill not found) 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 openhab-alexa.