I use Alexa + HA-Bridge to control light and screens with "turn on" voice commands.
However, is it also possible to sent values?
"Alex, set thermostat to 18"?
setpoint control with HA Bridge and Alexa?
Moderator: leecollings
-
- Posts: 8
- Joined: Thursday 07 November 2019 17:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: setpoint control with HA Bridge and Alexa?
Yes that is possible. You can dim a light or send a value from 0 to 100 to a domoticz dimmer device. I use this for lights, volume and tv channels. In HA-bridge create a domoticz device and add the following to the Dim Items > Target Item field:
http://<IP DOMOTICZ>:<PORT DOMOTICZ>/json.htm?type=command¶m=switchlight&idx=<ID DIMMER&switchcmd=Set%20Level&level=${intensity.percent}
For thermostats the domoticz device changes and so the command. In HA-bridge create a domoticz device and add the following to the Dim Items > Target Item field:
http://<IP DOMOTICZ>:<PORT DOMOTICZ>/json.htm?type=command¶m=setsetpoint&idx=<ID TERMOSTAT>&setpoint=${intensity.percent}
Hope this helps
http://<IP DOMOTICZ>:<PORT DOMOTICZ>/json.htm?type=command¶m=switchlight&idx=<ID DIMMER&switchcmd=Set%20Level&level=${intensity.percent}
For thermostats the domoticz device changes and so the command. In HA-bridge create a domoticz device and add the following to the Dim Items > Target Item field:
http://<IP DOMOTICZ>:<PORT DOMOTICZ>/json.htm?type=command¶m=setsetpoint&idx=<ID TERMOSTAT>&setpoint=${intensity.percent}
Hope this helps
Re: setpoint control with HA Bridge and Alexa?
Sorry, this does not help. It is only part of the solution. How to convert the voice commands from alexa into parameters?
As far as i know alexa can only handle on / off switches. It would be great if you could somehow convert the spoken number to a variable.
- philchillbill
- Posts: 397
- Joined: Monday 12 September 2016 13:47
- Target OS: Linux
- Domoticz version: beta
- Location: Eindhoven. NL
- Contact:
Re: setpoint control with HA Bridge and Alexa?
With HA Bridge you only have access to Philips Hue light commands. So you can turn switches on and off and set dim levels, basically. Back when I used HA Bridge in 2016 I used to have switches called e.g. ‘set living room to 22’ and when I turned it on I used the script:// command in the switch to run a script that changed the thermostat. Worked fine for pre-meditated temps. Bit contrived for sure but if you really want to stick with HA Bridge then you could make it work.
Alexa skills author: EvoControl, Statereport, MediaServer, LMS-lite
Re: setpoint control with HA Bridge and Alexa?
yes, i work with "turn thermostat 18 on" after naming devices Thermostat18 ...19,:etc in HAbridge
Who is online
Users browsing this forum: No registered users and 0 guests