Page 2 of 4

Re: Home Automation Voice Commands

Posted: Saturday 14 November 2015 5:09
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.

Re: Home Automation Voice Commands

Posted: Sunday 15 November 2015 22:06
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

Re: Home Automation Voice Commands

Posted: Monday 16 November 2015 0:30
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

Re: Home Automation Voice Commands

Posted: Monday 23 November 2015 14:11
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!

Re: Home Automation Voice Commands

Posted: Monday 23 November 2015 14:30
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

Re: Home Automation Voice Commands

Posted: Monday 23 November 2015 15:00
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.

Re: Home Automation Voice Commands

Posted: Monday 23 November 2015 16:50
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

Re: Home Automation Voice Commands

Posted: Monday 23 November 2015 17:26
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

Re: Home Automation Voice Commands

Posted: Tuesday 24 November 2015 0:19
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

Re: Home Automation Voice Commands

Posted: Tuesday 24 November 2015 8:37
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!

Re: Home Automation Voice Commands

Posted: Tuesday 24 November 2015 21:40
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?

Re: Home Automation Voice Commands

Posted: Tuesday 24 November 2015 22:05
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

Re: Home Automation Voice Commands

Posted: Tuesday 24 November 2015 23:38
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 :)

Re: Home Automation Voice Commands

Posted: Wednesday 25 November 2015 2:04
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 !!!

Re: Home Automation Voice Commands

Posted: Thursday 26 November 2015 14:42
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

Re: Home Automation Voice Commands

Posted: Thursday 26 November 2015 17:44
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

Re: Home Automation Voice Commands

Posted: Friday 27 November 2015 8:56
by RoadXY
You could use the android device emulator for testing.

Re: Home Automation Voice Commands

Posted: Saturday 05 December 2015 18:06
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.

Re: Home Automation Voice Commands

Posted: Saturday 05 December 2015 18:11
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

Re: Home Automation Voice Commands

Posted: Sunday 06 December 2015 1:24
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 :)