Home Automation Voice Commands

Moderator: leecollings

Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

ro. wrote:I had a play with the "Remove location dependency" option, but not knowing how it worked, I've now ended up with three actions all with the same name ("lights"). They all show up on the "Linked commands"/"Command associations" page, but I can't delete any of them with a long press.

The "Autowear instructions" page is blank. I presume this is for Android Wear?
"Enable/Disable autowear inergration" - spelling mistake
When selected, this goes to a page called "Autovoice intergration" - different spelling mistake, and shouldn't it say "Autowear"?

Is there any way to start the voice prompt if you set "App icon launch"/"Launch get voice from app icon" to off?

If you leave a menu page up long enough for the screen to go blank, when you wake up the screen, not only has the menu disappeared, but the whole app has vanished.

I'll fix the remove linked items as there is an error if more than one device has the same name. This was on my to do list, but just got bumped to the top.

Thanks for pointing out the language errors, I'll fix that also. I'm sure there are more as most of the UI made during my lunch breaks :)

You can start the voice prompt by any of the following:
1) App icon
2) A notification in the notification bar (which will show up on the lock screen on android 4.0 and above). This is how I use the app, as the notification is only shown when I am on my home network(s) (see wifi dependency for notification).
3) With AutoVoice, by tapping the google now search box or by saying "OK Google" on some devices.
4) On your android wear device with AutoWear, with a swipe to launch.
5) On your android wear device with AutoWear, with the shake your wrist gesture (this can also be turned on an off with wifi dependency)
I use the last four items, but did not want to force them onto users.


I'm not sure if I included the instructions in the production version of the app but they are working in beta....which I will push to production, along with the correction above, this weekend. The instructions are also listed on google plus with all the other instructions.

The reason the app is "vanishing" is because I have all screens killed when the screen turns off...I did this to prevent the app from using more resources than needed...If you do not back out of the app android will keep the app in memory (this may be another tasker limitation)...I guess this is my personal preference and I could add a setting to prevent this, but it is low priority.
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Home Automation Voice Commands

Post by juankar »

How change Settings Word to enter App? It says it can be changed in settings but I can do it!!! (I want change it from Setting to Ajustes, sapnish)
And in Domotic settings I see a "Domoticz device/group action association" I's supossed that here you can change on by another Word... encender=On apagar= Off, cambiar=Toggle, but if you do so the new wrods are not saved. It keep with the default associations. So I need to use "Word corections and replacements"....
An why a remove location dependency?

Thanks ... and when an spanish translation? :P
Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

juankar wrote:How change Settings Word to enter App? It says it can be changed in settings but I can do it!!! (I want change it from Setting to Ajustes, sapnish)
And in Domotic settings I see a "Domoticz device/group action association" I's supossed that here you can change on by another Word... encender=On apagar= Off, cambiar=Toggle, but if you do so the new wrods are not saved. It keep with the default associations. So I need to use "Word corections and replacements"....
An why a remove location dependency?

Thanks ... and when an spanish translation? :P
Hi, juankar

I just uploaded a fix for the action association not saving (( encender=On,apagar= Off,cambiar=Toggle) es correcto). Also Added the option to add additional words to trigger settings in "Change Language". Please remove items from "Word Corrections and replacements".

"Remove location Dependency" is for items that are not location dependent such as sprinklers with a device name such as "zone 1" or items that are unique such as a fountain (unless you have more than one), this will allow you to not specify a location when triggering the device, so "turn on zone 1" and not "turn on "location" zone 1".

Translations will be in a month or so depending on my free time, please email me if you are interested in helping. I am putting together a spread sheet for translations, but it still needs a lot of work.

Thanks,
Javier
Frums
Posts: 2
Joined: Monday 23 November 2015 13:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Home Automation Voice Commands

Post by Frums »

Hi Javier,

First of all, great work man, you did an awesome job building this app!
Last weekend i installed and tested your app in combination with domoticz and after updating the "Word corrections and replacements - list" i can turn my domoticz devices on and off.
I have a question, is it also possible to dim the dimmable devices in my domoticz configuration with voicecontrol using your app?

Thanks in advance and keep up the good work!
Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

Yes, however I just noticed a problem if you add the action association in the app.....I will fix it in the next update

In the meantime you can edit the file "DZdeviceactionstoactiincodes.txt" with the following

on,off,toggle,dim:::On,Off,Toggle,Set%20Level&level=6

The "6" in "Set%20Level&level=6" is the "level"

Level should be a value between 1 (0%) and 16 (100%). Though in some cases you need to use the percentage, so if 1 to 16 doesn't work for you , then try 1 to 100 (without the percentage symbol)

Also I found a bug in word corrections which will also be fixed in the next update.

Sent from my Nexus 6 using Tapatalk
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Home Automation Voice Commands

Post by StanHD »

Hi Javier,
This app really works well, particularly the tolerance when issuing instructions is superb. We even had some fun trying to catch it out, but as long as location, device, instruction were all in the sentence somewhere it works perfectly. So great work thank you.

In the current version, I think there can only be one device using a group or scene. If I add another then the first stops working. Am I doing something wrong? or is this possibly a future feature?

Thanks again.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

Hi Stan,
I was able to duplicate the problem. I'll fix it when I have some free time. Email me if you are interested in testing before production release.

Best,
Javier

Sent from my Nexus 6 using Tapatalk
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Home Automation Voice Commands

Post by juankar »

Just a question, is it posible to switch devices without location? For instance, If in my kitchen I have just a light I could say "switch on kitchen" instead of "switch on light of kitchen"

Thanks, the App works fine
Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

Yes it is possible, but I would not recommend doing it because it may trigger an item in the "default room" if a voice command is chained. I would instead change the "default room" to "kitchen", then just say " turn on the light(s)".... I intentionally made this hard to do because it is not how humans talk to other humans.....Anyway remove "kitchen" from locations and then add it to "Devices", then say your command, it will initially link it to the default room (i.e. livingroom-kitchen), then you will have to remove location dependency....so it can be done but I highly discourage this setup because it may break links that require location, prevent future indoor location tracking, or cause the wrong item to be triggered and would limit the possible phrase that can trigger the device.

Sent from my Nexus 6 using Tapatalk
Frums
Posts: 2
Joined: Monday 23 November 2015 13:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Home Automation Voice Commands

Post by Frums »

Javier wrote:In the meantime you can edit the file "DZdeviceactionstoactiincodes.txt" with the following

on,off,toggle,dim:::On,Off,Toggle,Set%20Level&level=6

The "6" in "Set%20Level&level=6" is the "level"

Level should be a value between 1 (0%) and 16 (100%). Though in some cases you need to use the percentage, so if 1 to 16 doesn't work for you , then try 1 to 100 (without the percentage symbol)
Yes that worked for me. I added 3 setpoints, this is how my "DZdeviceactionstoactiincodes.txt" now looks like:
of,on,off,toggle,dim,brighten,fifty:::Of,On,Off,Toggle,Set%20Level&level=2,Set%20Level&level=16,Set%20Level&level=8

Thanks for the support!
Last edited by Frums on Tuesday 24 November 2015 21:42, edited 1 time in total.
pluggin
Posts: 45
Joined: Tuesday 26 May 2015 22:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Argentina
Contact:

Re: Home Automation Voice Commands

Post by pluggin »

I install the app in a Android tablet but the letters are so small that can´t configure :(
Can I set the apps on a Android Phone and then migrate it to the tablet?
Razberry + 4 Eversrping HSM02 + 2 Aeotec Multi-Sensor + 1 Aeotec Micro Dimmer + 4 Aeotec Micro Smart Energy Switch, 2nd + 1 Remotec ZXT-120 + 1 Aeotec Smart Energy Monitor + 1 Everspring SE812 indoor Siren + 2 fibaro motion sensor + Aeotec water sensor
Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

pluggin wrote:I install the app in a Android tablet but the letters are so small that can´t configure :(
Can I set the apps on a Android Phone and then migrate it to the tablet?
Yes, copy this folder "HA Chaining Voice Commands" from the internal storage of your phone and replace the same folder on the tablet. All settings except usernames, passwords, ports, and notification settings are in the file.

Sent from my Nexus 6 using Tapatalk
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Home Automation Voice Commands

Post by StanHD »

That is very useful, I copied all my setup to my wife's phone via dropbox and saved lots of time. Nice one :)
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
pluggin
Posts: 45
Joined: Tuesday 26 May 2015 22:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Argentina
Contact:

Re: Home Automation Voice Commands

Post by pluggin »

Javier wrote:
pluggin wrote:I install the app in a Android tablet but the letters are so small that can´t configure :(
Can I set the apps on a Android Phone and then migrate it to the tablet?
Yes, copy this folder "HA Chaining Voice Commands" from the internal storage of your phone and replace the same folder on the tablet. All settings except usernames, passwords, ports, and notification settings are in the file.

Sent from my Nexus 6 using Tapatalk
Excelent!!! Thank u !!!
Razberry + 4 Eversrping HSM02 + 2 Aeotec Multi-Sensor + 1 Aeotec Micro Dimmer + 4 Aeotec Micro Smart Energy Switch, 2nd + 1 Remotec ZXT-120 + 1 Aeotec Smart Energy Monitor + 1 Everspring SE812 indoor Siren + 2 fibaro motion sensor + Aeotec water sensor
pluggin
Posts: 45
Joined: Tuesday 26 May 2015 22:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Argentina
Contact:

Re: Home Automation Voice Commands

Post by pluggin »

pluggin wrote:I install the app in a Android tablet but the letters are so small that can´t configure :(
Can I set the apps on a Android Phone and then migrate it to the tablet?
I installed the app on a Samsung phone with Android with the same result. The letters are to small so I can do nothing inside the app because I can't see what I'm doing:(
I changed the letter size of the phone but nothing change.
what I'm doing wrong?
Please I need help I want to test this app

Regards
Image
Razberry + 4 Eversrping HSM02 + 2 Aeotec Multi-Sensor + 1 Aeotec Micro Dimmer + 4 Aeotec Micro Smart Energy Switch, 2nd + 1 Remotec ZXT-120 + 1 Aeotec Smart Energy Monitor + 1 Everspring SE812 indoor Siren + 2 fibaro motion sensor + Aeotec water sensor
Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

pluggin wrote:
pluggin wrote:I install the app in a Android tablet but the letters are so small that can´t configure :(
Can I set the apps on a Android Phone and then migrate it to the tablet?
I installed the app on a Samsung phone with Android with the same result. The letters are to small so I can do nothing inside the app because I can't see what I'm doing:(
I changed the letter size of the phone but nothing change.
what I'm doing wrong?
Please I need help I want to test this app

Regards

Hi pluggin,

I can not replicate this on my devices but I assume it has to do with lower resolution. I do not own any low resolution devices so I can not test the correction of TextSize and will need someone willing test this on a device with this problem. I sent you a PM with a link to beta test.

Best,
Javier
User avatar
RoadXY
Posts: 278
Joined: Monday 07 April 2014 12:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2331
Location: Near Gorinchem
Contact:

Re: Home Automation Voice Commands

Post by RoadXY »

You could use the android device emulator for testing.
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Re: Home Automation Voice Commands

Post by PABben »

This is awesome!
I*ll be happy to help with translations. Is [email protected] the email i should use to get in touch?

I might have found a bug: When adding phrase, i always get error "must contain only letters and spaces". I've tried both using norwegian letters (æ,ø,å) and without.
Javier
Posts: 27
Joined: Sunday 04 October 2015 23:54
Target OS: -
Domoticz version:
Contact:

Re: Home Automation Voice Commands

Post by Javier »

PABben wrote:This is awesome!
I*ll be happy to help with translations. Is [email protected] the email i should use to get in touch?

I might have found a bug: When adding phrase, i always get error "must contain only letters and spaces". I've tried both using norwegian letters (æ,ø,å) and without.
The email is correct,

Where are you trying to add a "phrase"?

Sent from my Nexus 6 using Tapatalk
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Re: Home Automation Voice Commands

Post by PABben »

Javier wrote:
PABben wrote:This is awesome!
I*ll be happy to help with translations. Is [email protected] the email i should use to get in touch?

I might have found a bug: When adding phrase, i always get error "must contain only letters and spaces". I've tried both using norwegian letters (æ,ø,å) and without.
The email is correct,

Where are you trying to add a "phrase"?

Sent from my Nexus 6 using Tapatalk
Oh, sorry about that. When adding word replacements :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests