We have moved at community.getvera.com

Author Topic: 2nd Genaration H@L - Android Only Voice Recognition for Vera  (Read 61255 times)

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #75 on: April 20, 2014, 12:55:22 pm »
It's on my list .. I have to get the UI6 stuff working ... Then I have a bunch of queued up changes for HAL ... it's been on the back burner.

Offline Da_JoJo

  • Hero Member
  • *****
  • Posts: 1380
  • Karma: +16/-78
  • If something aint work, we can allways try n make
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #76 on: May 05, 2014, 09:03:43 am »
i had a few times crash on the app when using the voice button and it turned out i had only the IP of vera filled in. as soon as i changed this too vera-ip:3480 it works ok now with latest version.
also works on local lan on UI6 and UI7 beta using android 4.3 on my samsung S3 using Ivona HQ voices
for remote from WAN to work on UI6 it needs a MMS login with token and for UI7 beta it needs to have other auth servers to connect. they will change to UI6 auth servers when UI7 final comes out according to garrettwp.
« Last Edit: May 05, 2014, 09:07:30 am by Da_JoJo »
Vera lite (1.5.622), 2x an-158/2, dead usb pl2302 rs-232, 2x greenwave 6 port, 4x Fibaro FGD211 v1.6, FGBS001, few FGS - 221, etc. AuthomationHD 3 for android :-)
Dutch & German translator http://wiki.micasaverde.com/index.php/Special:AllPages http://support.micasaverde.com http://domotica-shop.nl

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #77 on: May 05, 2014, 09:08:59 am »
I have an upgrade coming soon ... uses my new library for UI6 remote support ... better switching between local/remote. A few more supported devices, multiple Veras, ...

Offline Da_JoJo

  • Hero Member
  • *****
  • Posts: 1380
  • Karma: +16/-78
  • If something aint work, we can allways try n make
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #78 on: May 05, 2014, 11:05:13 am »
oh that is great news :-)
u make this in java ? i could use the code for that to implement in my windows vera remote.. saves me a lot of waiting for mcv to answer mail and figuring out.
i can translate that to .net like ur former java connector thingy. if u want to give this in private its ok too. u know if MMS uses OAuth ?
« Last Edit: May 05, 2014, 11:08:20 am by Da_JoJo »
Vera lite (1.5.622), 2x an-158/2, dead usb pl2302 rs-232, 2x greenwave 6 port, 4x Fibaro FGD211 v1.6, FGBS001, few FGS - 221, etc. AuthomationHD 3 for android :-)
Dutch & German translator http://wiki.micasaverde.com/index.php/Special:AllPages http://support.micasaverde.com http://domotica-shop.nl

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #79 on: May 05, 2014, 11:07:04 am »
I will post my notes today ... I asked permission to do so over a week ago.
If they had a problem they had plenty of time to answer.

Offline Da_JoJo

  • Hero Member
  • *****
  • Posts: 1380
  • Karma: +16/-78
  • If something aint work, we can allways try n make
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #80 on: May 05, 2014, 11:09:38 am »
great ! looking forward to it.. it is most usefull and we all love u , u know that right ? :D
asking anything from mcv takes ages sometimes ... really annoying.
Vera lite (1.5.622), 2x an-158/2, dead usb pl2302 rs-232, 2x greenwave 6 port, 4x Fibaro FGD211 v1.6, FGBS001, few FGS - 221, etc. AuthomationHD 3 for android :-)
Dutch & German translator http://wiki.micasaverde.com/index.php/Special:AllPages http://support.micasaverde.com http://domotica-shop.nl

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #81 on: May 05, 2014, 11:34:24 am »
I will post my notes today ... I asked permission to do so over a week ago.
If they had a problem they had plenty of time to answer.

I made sure I took a lot of notes several months ago when working with the MMS authentication. The documentation at the time when mcv provided it to me was incomplete and helped them with several bugs / issues along the way. Hopefully with our knowledge we can help others smoothly transition and not go through the pains that we had to go through.

- Garrett


Offline Da_JoJo

  • Hero Member
  • *****
  • Posts: 1380
  • Karma: +16/-78
  • If something aint work, we can allways try n make
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #82 on: May 05, 2014, 11:48:30 am »
i admire u guys patience .. really am.. without the both of you our domotica-life would be so much different than it is today. re-inventing the wheel never helped anyone imho
Vera lite (1.5.622), 2x an-158/2, dead usb pl2302 rs-232, 2x greenwave 6 port, 4x Fibaro FGD211 v1.6, FGBS001, few FGS - 221, etc. AuthomationHD 3 for android :-)
Dutch & German translator http://wiki.micasaverde.com/index.php/Special:AllPages http://support.micasaverde.com http://domotica-shop.nl

Offline JimMac

  • Sr. Member
  • ****
  • Posts: 309
  • Karma: +2/-1
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #83 on: May 07, 2014, 02:03:54 pm »
Hi Richard

Love the concept of the app but unfortunately I can't get it to run it on my Nexus 5 phone.  I can get to the configuration tab but once I select my username the app crashes.  I can clear the app data and try again but it crashes at the same location every time.  Have you experienced any issues with the Nexus 5 or has any one else who has one? I have uninstalled/reinstalled but this didn't fix the problem.  I have sent a couple of crash reports through Google.  I think the app is having a hard time writing data to my phone.

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #84 on: June 13, 2014, 06:32:30 pm »
A major upgrade to HAL has been done.

The new version has the following features:
1) UI5 and UI6 support
    Better local/remote handling
2) Support for multiple Vera. To use multiple Veras you will need to name each Vera.
    To switch to another Vera just say:
     USE  YourVeraName
3) Add support for MultiSwitch devices
    On HAL, each  Switch looks like an individual switch, with the Name of the device being the Button name.
4) Add support for Alarm Partitions.
    You have the ability to save your PIN code ... It's encrypted on Vera if you do!
5) Add the ability to Ignore certain devices using the
    Active Status command.  I have some Power switches that are on ALL the time. I do not want to hear about them!

You will have to specify your UI5/UI6 credentials to get started (I did not try to restore from the previous version).
Then List Vera IDs to validate your credentials. If you have more than one Vera ... then you will also need to name your Veras.

The Help file has been improved. You have a different help page per Vera, with that Vera's devices and rooms.

I have some more changes coming ... but this was a working step ... so I thought I would release it.



 

Offline lemrock

  • Full Member
  • ***
  • Posts: 196
  • Karma: +6/-2
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #85 on: June 29, 2014, 03:16:37 am »
Are there versions of the Android operating system that HAL does not work with or am I safe to buy any Android device?

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #86 on: June 29, 2014, 03:42:00 pm »
At present HAL is not licensed ... that may change in the future ... I put hooks in place to license .. but have not activated them yet.
Hal will not work with OLDER Android phones.

Offline Cosworth32

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #87 on: July 02, 2014, 03:20:50 pm »
HAL doesn't like my Samsung Note II at all. Vera is detected direct and via UI5 but after that the following issues exist:

- Upon installation it keeps playing the "please configure my options..." until app is force closed and restarted.
- After that restart it starts background monitor but nothing else happens
- After another close/open cycle it shows the push to talk option
- It then consistently force closes after anything spoken and never are rooms or similar shown on the help pages.

Debug log submitted via google.

Edit: exact Same results on ASUS transformer tablet.
« Last Edit: July 02, 2014, 03:28:20 pm by Cosworth32 »

Offline Adam Ingham

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #88 on: July 14, 2014, 02:07:15 pm »
The above crash is also happening on my Samsung Note 3 and Samsung Note Pro 12.2  :-[

What I have noticed is that there isn't a HAL folder on the ExtSDCard, could this be the problem Richard? Since updating to Android 4.4.
3, I have found that no third party App can write to the ExtSDCard. There is a HAL folder on the internal RAM card!
« Last Edit: July 14, 2014, 02:58:23 pm by Adam Ingham »

Offline qwen3579

  • Full Member
  • ***
  • Posts: 245
  • Karma: +9/-4
Re: 2nd Genaration HAL - Android Only Voice Recognition for Vera
« Reply #89 on: August 20, 2014, 08:35:17 am »
I can't seem to get the latest version to work.

I go into the credential settings and enter my connection information for UI5. I then List Vera IDs, and my Vera is reported as found, but all I have is an option to Cancel. So I press the cancel button. My Vera ID shows under the Vera Names setting and I have given it a name, but HAL doesn't do anything. It seems like I'm missing something?