Comments (7)
This is vastly better for absolute values than the current percentage implementation, but a potential problem is that changing the Alexa imperial/metric unit preference can cause unwanted conversion of input and output values.
from haaska.
For those of us on imperial units, alexa provides celsius measurements for all requests and we specify the unit in the response. So I don't see this as an issue.
from haaska.
@keatontaylor the API works exclusively in Celsius, we don't get to choose the unit in the response.
Edit: Oh, looks like they updated the API to report units ("scale") since I did the implementation; don't think we can tell if there will be conversion performed, though.
from haaska.
We could provide a config variable for users to tell us which unit their alexa is set to.
from haaska.
That seems reasonable.
from haaska.
Hmm, I was hoping this could be expanded for numeric sensors too, but it seems that querying state requires saying:
"Alexa, what is the 'device name' temperature"
but this still works well for input_sliders because the interactions will be limited to:
"Alexa, what is the 'input slider name' set to" and "Alexa, set the 'input slider name' to xxx"
I'm surprised that amazon hasn't released a framework for querying sensors, and setting values for devices as the temperature control framework is already so compatible. So it seems that a lot of that code in their backend could likely be reused.
from haaska.
My guess for the sparse API is that they are only releasing features that partners already have skills written for right now.
from haaska.
Related Issues (20)
- Unreliable Control of Lights HOT 8
- account linking hangs HOT 1
- Can no longer select payload version 2 - Skill can't connect HOT 20
- KeyError: 'header' in haaska.py event_handler HOT 3
- Consider adding a license HOT 1
- Cannot set bulbs to white HOT 1
- JSONDecodeError HOT 1
- alexa does not recognize "script". Haaska does not recognize "climate"
- Alexa no longer working for cover HOT 3
- I am confused. Is this one v3 or v2? Python 2.7 or 3.6 HOT 1
- error when building docker container on OSX
- haaska_hidden and haaska_name not working in customize.yaml HOT 1
- Only scenes exposed
- Editing config.json doesn't seem to have any effect HOT 2
- config.json URL ending with letter "a" are cut short when testing. HOT 1
- updated to hassbian 1.3 Stretch and get error running make HOT 1
- [Question] Future plans HOT 10
- Can you please explain how to use Alexa-adapter on hassio ? I have hassio on rpi 3 and want my home assistant to work with amazon alexa . Thanks HOT 24
- Docker container? HOT 1
- Alexa won't discover any devices HOT 2
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 haaska.