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

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
So I went ahead and updated my Veralite to UI7 last night. It doesn't seem tooooooo bad (lol), but my ZWave setup is still pretty simple.

Over this weekend, I'm planning to integrate the app with UI7. I was playing around with the remote APIs last night, and I think I just about have them down. At this point, I'm debating on whether to make the UI7 functionality its own separate application, just from a maintenance standpoint.

Does anyone know what the time table is for sunsetting UI5? I imagine with the release of UI7, remote support of UI5 probably wont last forever. If it will be some time (years), I may just merge the two rather than create a separate application. Just not sure.

In either case, I'm planning to pick up zwave camera, and just installed a thermostat, so expect that functionality to hit soon as well.

« Last Edit: May 22, 2015, 10:30:39 am 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
Judging from the fact that Vera still has remote access for Ui4 users, I'd say UI5 remote access is probably going to be around for a while. You may want to PM Marc Shenker as he would be able to provide you with a more definitive answer.
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 Android Wearable
« Reply #17 on: May 24, 2015, 01:48:57 pm »
Thanks for the info.

It should now support Vera UI5 and UI7 systems.

I had to go back and re-write most of the data handling/communication side of things but I think it was for the better. It gave me a chance to refactor some things so now it should be more extensible for the future. I can understand why some people haven't integrated with the UI7 APIs yet.....it's a pain lol. 

Before posting the latest update, I downgraded my setup to UI5 just to make sure I didn't break anything (I'm back on UI7 now.) Everything appears to still work on UI5 as it does now on UI7. 
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 Android Wearable
« Reply #18 on: May 24, 2015, 05:26:18 pm »
I have both a Ui5 and a Ui7  Vera 3. Unfortunately I see no option in the app (on the phone) to add or change a Vera. All I can find is 'Update Credentials'. I must be missing something as it's still talking to my Vera UI5.
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 Android Wearable
« Reply #19 on: May 24, 2015, 09:47:49 pm »
Interesting. The app doesn't support multiple systems. The new update should've prompted you to pick which one you would want to add.  Did it do that? If it didn't,  perhaps double-check that there isn't a pending update on the Play store. lastly, maybe delete and reinstall.
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 Android Wearable
« Reply #20 on: May 24, 2015, 10:24:38 pm »
Mystery solved. The app hadn't updated itself yet even though a visit to the play store showed one was available. after I manually did the update it prompted me to select between UI5 and UI7.

UI7 works like a charm. Unfortunately mine has only one switch. The rest are sensors at this time. :-)

Getting the app to prompt me to select again took a clearing of the cache and data via settings. After which UI5 works as normal.

It would rock if the app would merge both Vera's environments into one like eg Imperihome does. Not sure how much work that takes though.

The latest Android Wear update for my LG G watch now allows me to slowly swipe the watch face left and there is Smart Abode. Ready for the tapping. Great job!
 
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 Android Wearable
« Reply #21 on: May 25, 2015, 11:12:51 am »
Glad  to know it worked. I was getting worried lol.

I'll see what I can do about multiple Veras. I would like to get all of the basic devices handled first. I just installed a thermostat and a Foscam camera (finally got this to work after hours of tinkering in UI7.) The next couple of updates will probably center around support for sensors, IP cams, and thermostats. I also need to clean up some things regarding the background services going on between the watch and mobile device. 

When you initially start the mobile app, it will push the latest information to the watch (this is the notification you'll see on the watch.) 
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 #22 on: May 25, 2015, 11:38:30 am »
Thermostat support would be great as would be IP cam support. Multiple Vera support, even though beneficial to me, woudl be low priority I agree. I would much prefer IP cam support first. ;)
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 konradwalsh

  • Hero Member
  • *****
  • Posts: 564
  • Karma: +19/-6
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #23 on: May 25, 2015, 04:35:12 pm »
I cannot login using ui7 credentials.. I have a Vera edge on ui7. I have a veralite on ui5 and that logs in no problem

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 #24 on: May 25, 2015, 04:48:13 pm »
Make sure to check the Play store and verify you have the latest version. During setup it should prompt you for UI5 or Ui7 login (each has it's own button)

If you have the latest version:
On your Android phone, go to Settings -> Apps. Locate the Smart Abode app and delete both it's data and cache.
Then restart the app. It will prompt you to connect to a Ui7 or Ui5 Vera.  Tap the appropriate button and provide your correct credentials to log in.

Follow the above procedure also when you are switching between Vera's.
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 konradwalsh

  • Hero Member
  • *****
  • Posts: 564
  • Karma: +19/-6
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #25 on: May 25, 2015, 04:56:09 pm »
Make sure to check the Play store and verify you have the latest version. During setup it should prompt you for UI5 or Ui7 login (each has it's own button)

If you have the latest version:
On your Android phone, go to Settings -> Apps. Locate the Smart Abode app and delete both it's data and cache.
Then restart the app. It will prompt you to connect to a Ui7 or Ui5 Vera.  Tap the appropriate button and provide your correct credentials to log in.

Follow the above procedure also when you are switching between Vera's.

Unfortunately, I am a seasoned Android user... and tried all this.... no joy... i have also tried being on the same netqork and remote connection

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #26 on: May 25, 2015, 08:10:56 pm »
For UI7, it shouldn't matter whether you are on the same network.

After you enter your UI7 credentials, it just mentions that it fails to login? Other than incorrect credentials, I am a little stumped. I'll double-check some things on on the authentication side. If you have access to adb, you could pull the log files and forward it to me. Otherwise, I can work on an update to forward error logs to me.

Random question, do you have local access disabled on your UI7?
« Last Edit: May 25, 2015, 08:12:56 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 #27 on: May 26, 2015, 02:33:25 am »
Hey

I have triple checked my credentials...
In fact, I just learned that the latest update also fails to log in to Ui 5 too...

I have adb access... if you tell me what exactly you need I will send it to you... I think its logcat you want me to use?

Offline konradwalsh

  • Hero Member
  • *****
  • Posts: 564
  • Karma: +19/-6
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #28 on: May 26, 2015, 02:54:25 am »
Sent the log in a PM... let me know if y ou need anything else

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 & UI7 Control via an Android Wearable
« Reply #29 on: May 26, 2015, 07:08:39 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.
« Last Edit: May 26, 2015, 08:53:01 am 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