The Vera Community forums have moved!

General => Power Management => Topic started by: dslachut on July 02, 2012, 03:54:54 pm

Title: Polling vs Pushing Power Usage
Post by: dslachut on July 02, 2012, 03:54:54 pm
I'm using a Vera2 with Aeon Smartswitches for monitoring. Do the meters ever push data to the Vera, or do they only ever communicate via polling?

Also, where could I find such documentation in the future?
Title: Re: Polling vs Pushing Power Usage
Post by: JOD on July 02, 2012, 04:35:38 pm
The SmartSwitches should auto update in the UI every few seconds.
I've had instances where they've stopped updating in the UI and I've needed to do a "Configure node right now" to get them started again.
Title: Re: Polling vs Pushing Power Usage
Post by: dslachut on July 04, 2012, 12:26:20 am
Thanks for the reply.

Could you or someone point me to where that feature is documented?
Title: Re: Polling vs Pushing Power Usage
Post by: Brientim on July 04, 2012, 03:04:17 am
The SmartSwitches should auto update in the UI every few seconds.
I've had instances where they've stopped updating in the UI and I've needed to do a "Configure node right now" to get them started again.

I am not sure if this is correct. When you initially add the device, it will configure the polling within Vera. The default polling is set at 60 seconds. The easist way to confirm this would be to set Polling in the "Advanced" tab to 0 (zero) which is no polling. Do not leave it blank to test this because blank inherrents the Vera global defaults and therefore, your Vera would still be polling the device.

The specification are http://www.aeon-labs.com/site/public/lib/download.php?type=s&f=14

Extract from specifications Monitoring Energy Consumption
The Aeon Labs Smart Energy Switch can report wattage
energy usage or kWh energy usage to a Z-Wave gateway or
controller when requested. If this function is supported by
the gateway/controller, the energy consumption will be
displayed in the user interface of the gateway/controller.
(The specific Z-Wave commands supporting energy
monitoring are the Meter Command Class and Multilevel
Sensor Command Class.) Please consult the operation
manual for these gateways/controllers for specific
instructions on monitoring the Smart Energy Switch.

Title: Re: Polling vs Pushing Power Usage
Post by: oTi@ on July 04, 2012, 06:13:23 am
@dslachut,

Welcome!

Do the meters ever push data to the Vera, or do they only ever communicate via polling?
As @JOD stated, they auto-update, i.e. they push.

This is controlled by the settings on the Device Options tab of the device. (I have them at defaults and never tried to change them.) There's a wiki page (http://wiki.micasaverde.com/index.php/SmartSwitch) on those.
Title: Re: Polling vs Pushing Power Usage
Post by: oTi@ on July 04, 2012, 06:16:37 am
[...] The default polling is set at 60 seconds. [...]
Note that this is a maximum (i.e. poll at most every ...), not a minimum (i.e. poll at least every ...).
Title: Re: Polling vs Pushing Power Usage
Post by: Brientim on July 04, 2012, 09:47:25 am
oTi@,

Thanks for the clarification. In my case, I have established there are two different versions in Australia. One of  the versions appears as an Manufacture Aeon version 6,2,78,1,0 and the other as an manufacture MIOS Smartswitch version 3,2,78,1,43.
The Aeon will not accept the configuration settings and nor does it Push updates.
Title: Re: Polling vs Pushing Power Usage
Post by: JOD on July 04, 2012, 11:00:54 am
As far as Polling vs Pushing, when we first beta'd the SmartSwitches, they were floodng my network with so many packets that my system would constantly crash, so they do indeed push their data.

Quote
One of  the versions appears as an Manufacture Aeon version 6,2,78,1,0 and the other as an manufacture MIOS Smartswitch version 3,2,78,1,43.
All the SmartSwitches are Aeon hardware, have you tried a "Configure node right now" and does the device not update to MIOS?
Title: Polling vs Pushing Power Usage
Post by: Brientim on July 04, 2012, 12:21:10 pm
Yes, they are distinctly different. Yes, I agree both were made by Aeon Labs but curious as i think they were release in Australia before the USA and ones that do not push were the original ones. They work fine except they do not push but it give me a reference point to work from. This is the fun part. Thanks @jod
Title: Re: Polling vs Pushing Power Usage
Post by: dslachut on July 05, 2012, 01:55:32 pm
Brientim, oTi@

Thank you very much. This is exactly what I'd been looking for.
Title: Re: Polling vs Pushing Power Usage
Post by: santoal on July 26, 2012, 05:25:03 am
Hi

I am trying to find out similar information and saw this thread. I have the Australian version of the Aeon Labs in line smart energy switches and micro (in wall) switches. The in line switches definitely operate on "push" operation and immediately update when turned on/of using the button on the device. The in-wall switches appear to "Poll" and take several minutes for their status to correct in vera UI4 when operated via the a connected wall switch. When operated through iphone and ipad however, the status update is immediate.

Normally wouldn't be concerned, however I need to trigger other scenes when turning a light off by the wall switch. Having other lights triggered 2 to 5 minutes later doesn't really work.

Any help, information or guidance suggested.

I contacted Aeon Labs and they suggested the device is capable of both.

Thanks
Title: Re: Polling vs Pushing Power Usage
Post by: oTi@ on July 26, 2012, 06:04:36 am
The poll/push question was specific to the energy metering.

In terms of instant updates when you operate the switch manually (on/off), this is a licensed feature and most manufacturers therefore don't support it. There are some workarounds, to make it appear as if true instant updates are supported. Instant updates are no guarantee in that case; the update will come through polling. (When operated through some other control point like an iPhone, the communication is through Vera, so she knows the new state right away.)

Not sure what the Aeon micro switches support. Have you tried moving Vera close to one and see if it makes a difference?
Title: Re: Polling vs Pushing Power Usage
Post by: santoal on July 26, 2012, 06:50:50 am
Thanks for info.

Moving vera closer to the device seems to make no difference. I have tried changing the polling frequency, but still seems to take minutes due to number of devices.

Practical work arounds appreciated.
Title: Re: Polling vs Pushing Power Usage
Post by: Brientim on July 27, 2012, 02:40:33 am
Find below response from Aeon Labs (Aeotec).

Aeon version 6,2,78,1,0 is an older version that is without EEPROM SES, and was written around the year 2009.

The Smartswitch version 3.2.78.1.43 is the latest version of the SES.

Best Regards,
Chris
Title: Re: Polling vs Pushing Power Usage
Post by: jtmoore on July 27, 2012, 03:28:55 am
I think there are options that control how often a report is sent depending upon how big the change in wattage is. I seem to recall changing mine to smaller delta values (percentage and absolute values) that caused it to report more frequently. If your device support those options then try experimenting with those.
Jtmoore.
Title: Re: Polling vs Pushing Power Usage
Post by: santoal on July 27, 2012, 03:30:50 am
Thanks guys.

My version is 3,2,78,1,43 for the microswitch... so will try and find out details. Cheers
Title: Re: Polling vs Pushing Power Usage
Post by: Brientim on July 27, 2012, 04:09:20 am
See post 4 link by oTi@ http://forum.micasaverde.com/index.php/topic,11049.msg78360.html#msg78360

Refer to wiki link in the last paragraph.
Title: Re: Polling vs Pushing Power Usage
Post by: oTi@ on July 28, 2012, 02:15:32 pm
Moving vera closer to the device seems to make no difference. I have tried changing the polling frequency, but still seems to take minutes due to number of devices.
Try setting parameter 80 to 1 (see screenshot) and see how you go.
Title: Re: Polling vs Pushing Power Usage
Post by: santoal on July 29, 2012, 06:58:49 am
Mate... that works just like magic! I had tried everyone for advice but no one had a clue. Everything now responds and is triggered within seconds. Thanks!
Title: Re: Polling vs Pushing Power Usage
Post by: Person on October 30, 2012, 01:54:13 am
Yep works for me as well on HS system - thanks big time!

BTW per manual 1 enables HAIL, 2 enables Basic CC report - any idea what is the difference? Both seem to provide immediate status.

http://www.pepper1.net/zwavedb/uploads/resources/1f5c804cf92d4797dda2d142a452035ba0aefe99.pdf
Title: Re: Polling vs Pushing Power Usage
Post by: oTi@ on November 01, 2012, 11:41:34 am
Correct, both (ultimately) do the same thing. Depends on your setup / what controllers you have / which of the mechanisms they support.
Title: Re: Polling vs Pushing Power Usage
Post by: Person on November 03, 2012, 03:12:01 pm
Do you have more technical details on hail/CC report? I'd like to understand this in more detail if possible....
Title: Re: Polling vs Pushing Power Usage
Post by: oTi@ on November 04, 2012, 08:15:07 am
A hail says the device needs attention and thus can serve as a trigger (e.g. in a controller) to poll that device (e.g. to get a basic report).

The basic report just says what the status of the device is right away.