Author Topic: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable  (Read 7847 times)

Offline konradwalsh

  • Hero Member
  • *****
  • Posts: 564
  • Karma: +19/-6
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #30 on: May 26, 2015, 09:13:03 am »
Hey Konrad,
This should be fixed in the next update (1.6.1.) I've already pushed it to the Play store, so it should be available in the next couple hours now.

In terms of the issue, it looks like during one of the calls, Vera returns a server outside of the set the device is currently authenticated for. This is causing the initial authentication piece to fail when the app tries to reach out to it for the next step. I'm curious why it would return a server outside of the authenticated set for you, but in either case, it should work in 1.6.1. I'll have to revisit this logic to make it a bit more intelligent.

Thanks for the help.

Hi ya

I can confirm that works 100%

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #31 on: May 26, 2015, 09:32:47 am »
Hi ya

I can confirm that works 100%

Awesome. Thanks again for your help.

Kind of a random question, but does everyone generally have two systems running different firmware? I thought BOFH was kind of the exception, but maybe its more common than I thought.

My Veralite was initially running UI5, but I think I'm going to stick with UI7. For the most part, it seems to work well (even though I spent half a day on Sunday trying to get my Foscam to work reliably lol.)  I think the web UI for UI7 is considerably better than the one for UI5....at least from the wife acceptance rate. If only the remote API stuff was as simple as it was in UI5....
« Last Edit: May 26, 2015, 12:57:30 pm by Randmness »
Developer of Smart Abode: Vera UI5/UI7 Control via an Android Wearable
https://play.google.com/store/apps/details?id=automation.com.veracontroller

Offline konradwalsh

  • Hero Member
  • *****
  • Posts: 564
  • Karma: +19/-6
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #32 on: May 26, 2015, 09:36:37 am »
For me...
i have two devices that dont work with ui7
and I also have plugins that i need to develop on ui5

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2372
  • Karma: +110/-137
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #33 on: May 26, 2015, 05:27:53 pm »
I have my original Vera 3 running Ui5 which has most of my mains power devices on it. I obtained a 2nd Vera 3 as a QA system for testing (back them the Craftsman part of the MyQ plugin) and QA for Ui7. I ended up pushing that QA Ui7 Vera into 'production' and have been adding any new ZWave devices I bought there first. This ended up being mostly sensors.
Both Vera's are 'interconnected' via scripts using HTTP calls to directly run scenes or change values on a MultiSwitch to be used as a trigger.

Eventually, both units will be running Ui7 and depending on the load, I may end up with a 1 'production' and 1 'QA/testing' Vera or 2 'production' Veras if the load so requires. I would prefer the former.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #34 on: May 26, 2015, 08:40:00 pm »
Good to see a healthy developer community.

I just pushed another build (1.6.4) to the Android Play store. This should fix the random crashes on the Wear side. I also added some logic for updating the Location on initial entry.

It looks like for UI7, the server relays are changing almost constantly (every account is assigned to a particular server for remote access.) The problem is that when this happens, I have to refetch almost the entire initialization pipeline (via Update Location Details) to first find the server, and then authenticate against it. It seems really backwards to have to authenticate against a particular server instance considering that [I assume] they can be added/removed from the server pool. Each session is authenticated against an instance, which adds to the headache lol.
« Last Edit: May 26, 2015, 10:06:32 pm by Randmness »
Developer of Smart Abode: Vera UI5/UI7 Control via an Android Wearable
https://play.google.com/store/apps/details?id=automation.com.veracontroller

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2372
  • Karma: +110/-137
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #35 on: May 26, 2015, 10:17:50 pm »
I've checked the AuthomationHD app which shows the primary and 'backup' server on teh MIOS side and that ones hasn't changed in a while for my account. The primary one has been relay41 for a while now. It's the same one that shows when I login to the WebUI via home.getvera.com

One of the app developers can most likely provide more details on this. I could have sworn someone started a thread on UI6/UI7 authentication a while back with a lot of info but I can't seem to find it.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #36 on: May 26, 2015, 10:42:47 pm »
I'll have to play around some more. I was sifting through my logs and noticed my relay server shifting between server41 and server11 (including the online portal access through vera.) For the longest, it was always using 41, not sure what changed.


Oh wells... lol  ;D
Developer of Smart Abode: Vera UI5/UI7 Control via an Android Wearable
https://play.google.com/store/apps/details?id=automation.com.veracontroller

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #37 on: May 27, 2015, 02:00:28 pm »
I think I figured out the changing server relay issue. Looks like my recently installed Foscam camera isnt working as well as I thought (it's connected over wifi.) It appears that it is dropping in and out of my network, which is causing either the new Foscam plugin or my Vera to lock up. and eventually restart. I'm guessing when it boots up, it reconnects to Mios and is issued a server relay (sometimes 41, sometimes 11.)

 
Developer of Smart Abode: Vera UI5/UI7 Control via an Android Wearable
https://play.google.com/store/apps/details?id=automation.com.veracontroller

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #38 on: August 07, 2015, 03:10:52 pm »
After taking a break for the summer, I'm back to work on this some more. I have been kind of debating switching to openHAB (still might), but for now I'm with Vera.

Firstly, I want to finish the thermostat support. It looks to be fairly straightforward. I'm still trying to think of a good layout for the watch, but it shouldn't be too much longer. 

Secondly, I want to add autonomous watch support. Most Android wearables have their own wifi radios. This would allow them to communicate with Vera (sans any smartphone) as long as they are connected to a wifi hotspot. It may not be too helpful/useful, but I would like to see how well it functions.
Developer of Smart Abode: Vera UI5/UI7 Control via an Android Wearable
https://play.google.com/store/apps/details?id=automation.com.veracontroller

Offline konradwalsh

  • Hero Member
  • *****
  • Posts: 564
  • Karma: +19/-6
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #39 on: August 07, 2015, 05:09:43 pm »
Glad to hear it

Sent from my A0001 using Tapatalk


Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2372
  • Karma: +110/-137
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #40 on: August 07, 2015, 11:12:11 pm »
Seconded. Your app basically 'saved' me from buying an Echo. I wear my LG G watch until I go to bed and it is able to keep a BT connection with my phone throughout the house. I prefer using SmartAbode rather  than having to yell at Echo. :-)
I created access to my Vera UI5 devices via scenes on my UI7 Vera (which SA can run) that use LUA with an http call to a scene on the Ui5 Vera. It's working out pretty well.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline Wekurtz74

  • Full Member
  • ***
  • Posts: 221
  • Karma: +3/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #41 on: August 26, 2015, 11:31:17 pm »
Your app is very cool.  Have you given any thought to adding locks?  I thinknit would be great to be able to unlock your front door from your watch.   

Sent from my GT-N5110 using Tapatalk


Offline quie2droid

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #42 on: August 28, 2015, 11:39:07 pm »
Are there any plans to add thermostat control?

Sent from my SM-G900V using Tapatalk


Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #43 on: September 15, 2015, 04:17:21 pm »
Hey Guys,
Sorry for the delay. I've been pretty busy with some other projects (currently working on some Vera integration with Android Auto)  and this kind of fell to the side. I still would like to add thermostat functionality, but I may push this to the side in favor of voice-triggered control. I'm kind of leaning this way since since most devices should be controllable via scenes (including thermostats and door locks). Voice dictation would make interaction with the app a little easier, and it would be pretty cool. lol

In the mean time, I've uploaded the entire project source to GitHub.
https://github.com/Randmness/veraHomeController

If anyone is curious on how everything works, you're more than welcome to check it out. It contains the latest source for what is currently deployed in the Android store. It may also be helpful for those trying to tackle UI5/UI7 remote integration.
Developer of Smart Abode: Vera UI5/UI7 Control via an Android Wearable
https://play.google.com/store/apps/details?id=automation.com.veracontroller

Offline BPoulter

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #44 on: October 06, 2015, 05:41:00 pm »
I just wanted to chime in. I just bought my Vera Edge two days ago. I've integrated(via plugin) my Wink controller which I've had for a week and a hand full of devices I bought to go with them both. I'm a shiny new noobe but I'm pretty excited about finally getting into home automation.

That being said, I've read this thread and I'd like to say THANK YOU for the Smart Abode app and all the work that has gone into it. I've just got started with it but is simplifies my small amount of devices. Very nice design.