In the hunt for the impossible, I stumbled across this article about Google home voice control API.
Not being a software tech, it doesn't mean much to me, but is it something that we should consider looking into?
Has any one implemented this or any integration with Siri or other voice activated solutions for voice based commands?
docker run -d --restart always --name="Home-Automation-Bridge" --net="host" -e SERVERIP="192.168.x.x" -e SERVERPORT="8083" -v /volume1/public/hab-philips-hue/:/config:rw -v /etc/localtime:/etc/localtime:ro aptalca/home-automation-bridge
udp://orb:23456/home-cinema-on
rule "home cinema on"when Event($s:source=="udpl", value=="home-cinema-on")
then RockerPress rp = new RockerPress();
rp.setCnt(1); rp.setSource("TR1"); rp.setValue("ROCKER_BI"); // TV, "ROCKER_BI" Sat insert(rp);end
Although it would be nice to have audio commands natively supported through openremote. There is definitely a lot of interest in voice support on the home automation front at least here in the US.
Nevertheless, IMHO web/app based UI are domed. In my case they are single use only and usually I don't open dedicated apps after few days anymore. Voice control is the way to go. This is the most natural user interface, and when done right it will dusk all other solutions.
Let me know if there is any way I can help. I am no software programmer but if you need any devices for testing, I can certainly buy if available in US and either ship them to you or I am planning to be in Europe in November so can bring them with and ship from within Europe.
Also if you can perform testing via remote acces in any way, will be happy to set up whatever you need and give you access from here.
Thanks for all the pointers. I have made some progress on this but not sure how to proceed.
I have installed and I am able to login to the ha-bridge. It is on the same Raspberry Pi that is running the openremote controller.
Any detailed examples on how to link the ha-bridge to a switch and a dimmer currently working with Openremote (zwave) would be very helpful.
I am not clear on how ha-bridge will interface with Openremote.
Also I don't have the Amazon Echo yet. I am going to order one soon but meanwhile is there anyway to test the connection between Openremote and Ha-bridge with out Amazon Echo?
Also I don't have the Amazon Echo yet. I am going to order one soon but meanwhile is there anyway to test the connection between Openremote and Ha-bridge with out Amazon Echo?
In you example, what is "home-cinema-on"
Based on the rule it appears to be a state of a sensor you have udpl- is it configured as a custom sensor?
How would adopt it for controlling z-wave devices?
rule "abc"
when
Event(source=="name of your UDP listener custom sensor", value=="UDP message defined in ha-bridge to switch the device X")
then
execute.command("your Z-wave device switch on command");
end
Of course you can have many rules like this for all your devices.
hi
One thing that prevented this from working that was not obvious in any start up tutorials online was on the ha-bridge the upnp ip must be set to the ip of the device it is running on ( RPI in my case). The default setting did not work for me.
Here is a link that pointed me in that direction:
https://github.com/bwssytems/ha-bridge/issues/278#issuecomment-322183346
Thanks for all the help to get me started. I will update as I add more devices and test more functionality.
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
stdout
13:53:32
npm info it worked if it ends with ok
stdout
13:53:32
npm info using npm@4.2.0
stdout
13:53:32
npm info using node@v7.10.1
stdout
13:53:32
npm info ok
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m Loaded plugin: homebridge-openremote
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m Registering accessory 'homebridge-openremote.openremote'
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m ---
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m Loaded plugin: homebridge-server
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m Registering platform 'homebridge-server.Server'
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m ---
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m Loaded config.json with 3 accessories and 0 platforms.
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m ---
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m Loading 3 accessories...
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Dimmer][39m Initializing openremote accessory...
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Switch 1][39m Initializing openremote accessory...
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Switch 2][39m Initializing openremote accessory...
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Dimmer][39m Switch received status http://192.168.1.3:8688/controller/rest/status/403148 state is currently 0
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Dimmer][39m Setting power state to off
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Switch 1][39m Switch received status http://192.168.1.3:8688/controller/rest/status/403150 state is currently 0
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Switch 1][39m Setting power state to off
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Switch 2][39m Switch received status http://192.168.1.3:8688/controller/rest/status/403151 state is currently 0
stdout
13:53:32
[37m[7/28/2017, 1:53:32 PM][39m [36m[Switch 2][39m Setting power state to off
stdout
13:53:33
[37m[7/28/2017, 1:53:33 PM][39m [36m[Switch 1][39m HTTP set power function succeeded!
stdout
13:53:33
[37m[7/28/2017, 1:53:33 PM][39m [36m[Switch 2][39m HTTP set power function succeeded!
stdout
13:53:33
[37m[7/28/2017, 1:53:33 PM][39m [36m[Dimmer][39m HTTP set power function succeeded!
stdout
13:53:33
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
stdout
13:53:33
[30m[47m [49m[39m
stdout
13:53:33
[30m[47m ┌────────────┐ [49m[39m
stdout
13:53:33
[30m[47m │ 031-45-154 │ [49m[39m
stdout
13:53:33
[30m[47m └────────────┘ [49m[39m
stdout
13:53:33
[30m[47m [49m[39m
stdout
13:53:33
[37m[7/28/2017, 1:53:33 PM][39m Homebridge is running on port 51826.
stdout
13:54:43
[37m[7/28/2017, 1:54:43 PM][39m [36m[Switch 1][39m Switch received status http://192.168.1.3:8688/controller/rest/status/403150 state is currently 0
stdout
13:54:43
[37m[7/28/2017, 1:54:43 PM][39m [36m[Switch 1][39m Setting power state to off
stdout
13:54:43
[37m[7/28/2017, 1:54:43 PM][39m [36m[Switch 1][39m HTTP set power function succeeded!
stdout
13:54:03
[37m[7/28/2017, 1:55:03 PM][39m [36m[Switch 1][39m Switch received status http://192.168.1.3:8688/controller/rest/status/403150 state is currently 1
stdout
13:54:03
[37m[7/28/2017, 1:55:03 PM][39m [36m[Switch 1][39m Setting power state to on
stdout
13:54:03
[37m[7/28/2017, 1:55:03 PM][39m [36m[Switch 1][39m HTTP set power function succeeded!
stdout
13:54:29
[37m[7/28/2017, 1:55:29 PM][39m [36m[Switch 1][39m Switch received status http://192.168.1.3:8688/controller/rest/status/403150 state is currently 0
stdout
13:54:29
[37m[7/28/2017, 1:55:29 PM][39m [36m[Switch 1][39m Setting power state to off
stdout
13:54:29
[37m[7/28/2017, 1:55:29 PM][39m [36m[Switch 1][39m HTTP set power function succeeded!
<Switch id = "397"><Link type = "sensor" ref = "5837807"><State name = "on" value = "LightOnN.png" /><State name = "off" value = "LightOffN.png" /></ Link></ Switch></ Absolute><Absolute left = "260" top = "202" width = "38" height = "46"><Switch id = "399" />