It is currently Mon Dec 17, 2018 8:06 am

All times are UTC - 8 hours [ DST ]




 Page 1 of 7 [ 100 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: Vera support
PostPosted: Thu Mar 07, 2013 4:29 pm 
Site Admin

Joined: Wed Aug 17, 2011 4:55 pm
Posts: 39
I just received my VeraLite device and will be integrating it into my home automation setup over the next few days. I'll then be able to kickstart Vera support in Andre. From the initial looks of it, basic control support should be pretty easy. I'll share more when I've had time to research it a bit.


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Fri Mar 08, 2013 2:23 pm 

Joined: Wed Aug 24, 2011 12:10 am
Posts: 31
Awesome! This is an exciting development!

My laptop died last week, so currently the only devices I would be able to test with would be the Vera and the Elk, until I manage to get another computer. Might take me a while since I'm currently a student.
Let me know if you want me to test anything on the Vera. I have a Vera 2 running UI5.


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Sat Mar 09, 2013 11:34 am 
Site Admin

Joined: Wed Aug 17, 2011 4:55 pm
Posts: 39
How much are you looking to do through Andre? I've gotten Andre controlling on/off of light modules. Doing other write-only commands will be a trivial adjustment to the web service call I've already got working.

Status updates from Vera to Andre are still pending, because Vera doesn't seem to have a good default way to listen to events (though I'm far from an expert yet). I've seen the Vera developer app plugin stuff and will likely build one which will send status updates through the Google Cloud Messaging service to Andre to achieve full two-way communication. But that'll probably be awhile unless I can find an existing example to learn from.


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Sat Mar 09, 2013 2:22 pm 

Joined: Wed Aug 24, 2011 12:10 am
Posts: 31
I was able to use Web service calls as well, but I was hoping to eventually have status reports. Check here: http://wiki.micasaverde.com/index.php/UI_Simple
There seems to be a pretty elaborate system in place. If you look at apps like Authomation, they work very effectively. I'm sure you could build something with your level of abilities.
I would want to have it work over my home LAN because the idea of relying on an internet connection to control my lights bothers me. Also, at the moment I have no Web access at home because I'm back in school and a little strapped for cash.


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Sat Mar 09, 2013 7:51 pm 
Site Admin

Joined: Wed Aug 17, 2011 4:55 pm
Posts: 39
I read through Simple UI but the problem is that suggests polling the server repeatedly. Depending on your desired frequency, this may not be a good approach, given that it'll prevent the device from deep sleeping and kill the battery. There are 'clever' ways to do it efficiently though.

For example, you could poll state only when Andre starts/wakes up/resumes (so either you turn on the screen or you leave Andre to go to another App and return), and it'll make sure the UI is in sync with the server. If all you care about is having the dim levels and on/off/etc status of devices reflected in the Andre UI, then this is fine, and in fact I've implemented exactly this behavior for other HA controllers already.

But if you want Vera state to actively cause things to happen in Andre regardless of your Android device state, which you'd probably want fairly responsive (say, within 30 seconds of the event happening), you'd have to constantly 'wake' the device with a timer, make sure the WiFi radio is connected, make your polling call out to the server, react accordingly, then go back to sleep. (note this doesn't mean the screen keeps coming on, just that the app gets processor/radio/sensor access and runs code.) This is liable to do bad things to battery life, and that's possibly getting event changes 30 seconds late.

You could do this right now with Andre, using a combination of a re-occurring timer, a button that calls the Vera web service, and a small snippet of JavaScript to parse it (trivial given that it's JSON) and react accordingly. Maybe I'll set it up and run some experiments. I'm still going to implement GCM, because it's far more efficient and would seamlessly work no matter what network you're connected to (cell or any WiFi). :)


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Mon Mar 11, 2013 6:37 pm 

Joined: Wed Aug 24, 2011 12:10 am
Posts: 31
Sounds like you've got a handle on things.
Maybe there could be a way to set it to poll frequently only when the device is plugged in and the wifi is connected. That way we wouldn't waste the battery or bandwidth on our data plans.
As for having instant events based on polling the Vera, I'm not sure what I would use that for, but I know it could be useful for some. One example could be having your phone alert you if the light of the shed in your backyard is turned on, or maybe having a panic switch that sends an automatic text in the case of an emergency, etc.


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Sun Mar 31, 2013 10:35 pm 

Joined: Wed Aug 24, 2011 12:10 am
Posts: 31
So how's your Vera experience going?


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Wed Apr 03, 2013 1:42 pm 
Site Admin

Joined: Wed Aug 17, 2011 4:55 pm
Posts: 39
Very good, I'm quite impressed with the capabilities. I was out of town all last week so I didn't get to work on Andre at all, and now I'm catching up with emails and work this week, but hope to get back to Andre dev by the weekend. I'm anxious to move over a bunch of my HA stuff to Global Cache and Vera for my personal use which will drive Andre experimentation and new feature dev.


 Profile  
 
 Post subject: Vera support
PostPosted: Fri Jul 15, 2016 1:51 pm 

Joined: Wed Jul 13, 2016 5:04 am
Posts: 1
Vera clearly has a testing /QA problem if something as significant as non-functional Insteon support is not recognized.


 Profile  
 
 Post subject: Vera support
PostPosted: Sun Apr 15, 2018 9:54 am 

Joined: Sat Apr 14, 2018 4:57 am
Posts: 1
Location: Madagascar
If I just keep using my vera2, which doesn't support UI6, what features will I be missing going forward?

Which of these might be considered the most important?

Anything critical?


Thanks,
Tom



_________________
Titan Gel Thailand http://kpopselca.com/titangel
 Profile  
 
 Post subject: Re: Vera support
PostPosted: Thu Jun 21, 2018 1:34 pm 

Joined: Fri Jun 08, 2018 6:08 am
Posts: 713252
wh1441wh1441wh1441wh1441wh1441


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Thu Jun 21, 2018 1:34 pm 

Joined: Fri Jun 08, 2018 6:08 am
Posts: 713252
wh1441wh1441wh1441wh1441wh1441


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Thu Jun 21, 2018 1:34 pm 

Joined: Fri Jun 08, 2018 6:08 am
Posts: 713252
wh1441wh1441wh1441wh1441wh1441


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Thu Jun 21, 2018 1:35 pm 

Joined: Fri Jun 08, 2018 6:08 am
Posts: 713252
wh1441wh1441wh1441wh1441wh1441


 Profile  
 
 Post subject: Re: Vera support
PostPosted: Thu Jun 21, 2018 1:35 pm 

Joined: Fri Jun 08, 2018 6:08 am
Posts: 713252
wh1441wh1441wh1441wh1441wh1441


 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 7 [ 100 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC - 8 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron