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

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Hey All,
New member here (but long-term lurker) introducing Smart Abode; a simple application for controlling a Vera UI5/UI7 setup via an Android phone and/or Android Wear smartwatch. Smart Abode has no other dependencies needed to leverage Android Wear functionality; everything is self-contained to the mobile application.

REQUIRED: A Vera UI5 or UI7 System and an Android Lollipop (5.0+) Device

Smart Abode's current features:   
   Mobile:
      - Choose between Local and/or Remote Access
      - Retrieve status of light and dimmer switches
      - Toggle light switches
      - Execute scenes
      - System polling to retrieve latest configuration
   Watch:
      - Retrieve status of light and dimmer switches
      - Toggle light/dimmer switches
      - Execute scenes

Smart Abode in Google Play store:
https://play.google.com/store/apps/details?id=automation.com.veracontroller

If you have any questions, feedback, etc., please feel free to reach out to me.

Thanks!
« Last Edit: May 25, 2015, 11:13:47 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 jolerius

  • Full Member
  • ***
  • Posts: 102
  • Karma: +0/-0
Yes, please make it UI7 compatible

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2372
  • Karma: +110/-137
I second UI7 compatibility. Please! Hopefully Vera will read this thread and perhaps supply you a Ui7 unit for further development of what on looks to be a killer app for those of us with Android wear.

I downloaded the app and installed it on my LG G2 (running Lollypop) and connected LG G (square) watch. Been playing with it for the last 30 minutes and have a big smile on my face. Good thing I've been holding off on getting the Amazon echo as I doubt I'll need that one any more with this app. A simple 'Ok Google' and 'Start Smart Abode' gets it started and I can control devices and scenes  on my UI5 Vera from my watch simply by scrolling through the list and tapping. Since I wear my watch most of the time, it's the perfect interface. And it keeps connection with my phone all over the house. Although at the farthest reaches, the watch app complains about connection to the phone but still switches the device on or off. Looks like a weak bluetooth link...

IP Camera support would be great! Preferably the Blue Iris plugin (me being selfish as that's what runs my cameras)

So far the only con I have found is trying to locate the app in the play store with your direct URL. Smart Abode does not find it but Veracontroller luckily does. Also, I have to speak very clearly or Google does not recognize me stating Abode. :)  English not being my first language.

Keep up the good work! It's appreciated!

« Last Edit: May 18, 2015, 03:41:06 pm by BOFH »
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
Thanks for the comments.

I'm not sure what is going on with the Android Play store. Smart Abode should be searchable from both the regular Play store and the Wear-specific Play store. It may take some time for the app to propagate through their systems (I just uploaded it to their servers less than 12 hrs ago lol.)

In either case, I kind of designed it so that the Wear app is nearly completely autonomous from the mobile UI side of things. With the exception of initial setup, you should be able to use the wear app without needing to open the mobile app at all. If you ever need to update your Vera information (local/remote URL information/preference, credentials, etc.), you will have to do this in the mobile app. These preferences are stored on the mobile side, and leveraged by the Wear app (even when the mobile app is not open.)

Some small info regarding the Wear app:
   - Every clickable action, returns the latest state data.
      eg. If you select to toggle a light. The app will toggle the light and return the latest information regarding your Vera system.
   - There is no polling on the Wear side of things.
   - To retrieve the latest information without executing an action, click the UI headers ("Lights" or "Scenes".) This will trigger the Wear app to request this information

Some small info regarding the Mobile app:
   - On initial opening, it will push the latest system information to the Wear app via Notification.

Let me know what issues you find. I've already found a few that I plan to address tonight. I wrote the mobile portion this past weekend, so there may be some bugs to flush out.
Developer of Smart Abode: Vera UI5/UI7 Control via an Android Wearable
https://play.google.com/store/apps/details?id=automation.com.veracontroller

Offline that_kid

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Good thing my Moto360is fully charged because I'm about to have fun with this.

Offline that_kid

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Looks like android 4.4.2 isn't supported or the play store is messing with me

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Ahhh yes. I completely forgot about Android 4.4W devices. It is currently set for Lollipop and up (5.0+.) I will update it to allow API 20 (4.4W+) devices this evening. I'll have to double-check that I'm not using any new Lollipop specific APIs.
Sorry about that.
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
Unfortunately, I am using Lollipop functionality, so I wont be able to set the version back to API 20 (4.4W) without rewriting some core pieces.

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
Hey all,
I made some changes and released a new version of Smart Abode (latest is 1.5.) To install, your device must support Lollipop (5.0+)

Android Mobile Updates:
  • Updated entire layout to support Google's Material theme
  • Cleaned up UI by adding room dividers for Switches and Scenes

Android Wearable Updates:
  • Some additional error handling and error confirmations
  • Added default response time of 10 sec
  • Scene view now includes room information

Just for reference, both the mobile and wear apps list their items alphabetically. The ordering starts with room, then name, followed by id.

I've attached some sample screen captures as well.
« Last Edit: May 20, 2015, 11:29:45 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 rbraun

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Thanks Randmness!  I downloaded the app on my phone, and am getting an M360 shortly, so will test with that.  I've experienced a few crashes, but when it works it is snappy.  My biggest issue is that most of my lights are controlled with dimmer switches, and only on/off switches appear for control.

Thanks again, and keep up the good work.  Looking forward to trying the Wear version.

Offline Randmness

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Smart Abode - Vera UI5 Control via Android Wearable
« Reply #10 on: May 20, 2015, 11:22:32 am »
Hey rbraun,
Thanks for the info. I am currently grabbing only the BinarySwitches, but will update the app this afternoon to support Dimmables (at least from an on/off perspective.)

I'll try to update the both the app and watch to support the dimming functionality soon. The real challenge is how to effectively display this on the watch (given the small screen real estate.) I have some ideas though.

Thanks again.
« Last Edit: May 20, 2015, 11:27:24 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
Re: Smart Abode - Vera UI5 Control via Android Wearable
« Reply #11 on: May 20, 2015, 12:26:28 pm »
On my LG G watch, when the device name is 2 lines, when it is selectable (gets bolded) the bottom of the 2nd line goes over the top few pixels of the room name. Nothing that's interfering with functionality. Just a heads up on a minor cosmetic appearance.

Now my watch can open and close my garage door. Gotta love 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 Control via Android Wearable
« Reply #12 on: May 20, 2015, 01:07:50 pm »
 Ahhhh...The layout for those watch fields are absolute, when they really should be relative. The "Lights" view would have the same issue.

I'll fix that today as well.
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 Control via Android Wearable
« Reply #13 on: May 21, 2015, 07:00:47 am »
The update should be in the Play store. Your Dimmable device types should show up now and that layout issue should be resolved.

I played around with adding a slider to the watch interface, but the screen becomes too cramped to slide it effectively without tapping on something else (or changing the view entirely.) I'll have to think of some other way to add it to the wearable view.
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 Control via Android Wearable
« Reply #14 on: May 21, 2015, 07:57:15 am »
Fix one bug... Introduce two more.

I have to push a new release to fix some layout issues on the lights view.  The sizing and orientation is slightly off.

That update is available now.
« Last Edit: May 21, 2015, 03:49:36 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