Replies: 8 comments
-
The integration automatically creates the type of control which is appropriate for the value provided by the API. Binary values become switches, numeric values become numbers and textual values become selects. This is done automatically, the thing is that some values you would expect to be binary, like the power state of the appliance, are actually provided by the API as text so they become selects (because in that example there is also a "standby" state, not only on/off). |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
When you just need it to start the command with voice you can always add a template (binary) sensor or template switch in HA. I use it that way to control many switches that are not switches in reality with Genie. This way you can also assign a more practical name to the "skill" and don't need to alter the original entity. |
Beta Was this translation helpful? Give feedback.
-
Thanks @NODeeJay. It would be great if you can give a detailed example of how to do it for those who wish to integrate with Alexa. |
Beta Was this translation helpful? Give feedback.
-
Thanks @NODeeJay for the suggestion with the template. `
Hopefully you can also make it work @ekutner. |
Beta Was this translation helpful? Give feedback.
-
I was playing with this and in node red I was able to create a thermostat-like appliance that supports on/off and to set a temperature. It is not perfect and I can’t change modes or set alarms, but 95% of the time I use heat from top and bottom so it’s not bad. And you can ask Alexa to turn it off in a certain amount of time, which fires an Alexa timer instead of a time on the oven, but that is also aceptable. However the node-red package I’m using is unmaintainded and this feels like something that should be baked in. What would require to expose ovens like thermostats natively to Alexa? That’s for now the best solution I’ve found other than creating a custom skill that requires you to use the obnoxious “Alexa, ask Home Assistant to turn on the oven at 220 degrees”. I really hate having to use the skill invocation name for this. |
Beta Was this translation helpful? Give feedback.
-
Looks like this should be a discussion, not an issue, so moving it there. |
Beta Was this translation helpful? Give feedback.
-
FWIW, I managed to get this working using This node-red package (paired with the service in https://alexa-node-red.bm.hardill.me.uk/) allows you to create virtual alexa appliances with the capabilities you select. I created a thermostat that can be turned on and off and allows you to set a target temperature on it: Then you can create node-red flows that start with commands: In this flow, first I have a security check that the home is occupied. This is me wearing a tinfloil hat but I don't ever want my oven to respond to voice commands unless me or some other adult is in the house. This allows Alexa understand commands like:
I went for this approach because I hate with passion having to say the skill name every time I have to interact with an appliance. In case the invocation of my custom skill is "Home assistant":
It has many caveats that for me are worth having:
In case this integration manages to do this natively without home assistant packages, until Alexa supports ovens natively, in case that ever happens, our only solution is to create a thermostat similar to the one I've described. Perhaps it should be the user's choice and not a default. |
Beta Was this translation helpful? Give feedback.
-
The input.select for the programs and the button entities are really nice and clean. This is working well inside Home Assistant.
But there is no chance to control the device with Alexa.
Could you also add switches for on/off and the programs? So we can use the input.select and button with Home Assistant and can use the switches to control the device with Alexa.
Beta Was this translation helpful? Give feedback.
All reactions