Securifi Community Forum
Securifi Products => Almond+ => Topic started by: mr23three on December 16, 2015, 01:19:26 pm
-
When a device such as the aeon labs appliance switch changes state, the Securifi UIs' report changes to the power value for about a couple of seconds, then it stops updating, even if the power draw changes significantly.
Is this a shortcoming of the device, or the Almond+ ?
Can it be changed to periodically update, with an adjustable period?
Can it be added to rule conditions, such as, if power < 45 watts, then...
Can you add a text or email message as an action to a rule?
Can you add a Scene as an action for a rule?
Thanks
-Chris
-
Are you asking for the Apps to be changed, add configuration options for polling?
Or would you use the SDK or the soon to be released API to poll the info.
Power fluctuates plenty, surges and all that. I'm gathering the data and smoothing the curves.
-
I would like regularly updating power displays, everywhere the device values can be viewed (Web, LCD, App, Notification drawer). How about widgets, too?
It can be pushed through the websocket framework, doesn't have to be polled. Almond+ may have to poll the device, though, although I already asked that question.
I would also have it implemented elsewhere; can and did under R080 and earlier I could do it by turning the device 'on' while already 'on'. Haven't tried it yet with R083. I'm already receiving/sending via websocket API.
-
I would also have it implemented elsewhere; can and did under R080 and earlier I could do it by turning the device 'on' while already 'on'. Haven't tried it yet with R083. I'm already receiving/sending via websocket API.
Just tested the 'polling'; still works with R083. However, if the power level hasn't changed, there is no update pushed over WebSocket interface. As little as 6watt difference is notified, but I haven't tried to see how low of a power difference will be pushed.
-
Just tested the 'polling'; still works with R083. However, if the power level hasn't changed, there is no update pushed over WebSocket interface. As little as 6watt difference is notified, but I haven't tried to see how low of a power difference will be pushed.
Good to know.
What's the goal here? Near real time or real time power monitoring ?
You going to plot whole house and maybe a couple of outlets?
After Google Power Meter died I just went with my own stuff, now I'm thinking about throwing something into an App and maybe up to the LCD that plots Current, Daily, Weekly, Weekend, Day, Night, Peak, Low, Monthly, Annual, Trends Daytime, Trends Nighttime, Vampires and Spikes. Need to finish roughing out the 'wants', just dumping it text and then processing with SED & AWK. Really need to do a little Python and/or Curl stuff to make it nice.
I haven't decided on a reasonable polling interval so it needs to be adjustable and I want an adjustable threshold. Thing I haven't worked out yet is how I want to handle startup surges which require very short interval polling but it kind of seems like a waste to bother since I really care about usage of a duration more than a few seconds.
The Google Power Meter API info is still available to get a few more ideas.
-
In case it is of interest, I have a Neurio for whole house power monitoring. I was hoping they would work with Securifi (seems like a couple people have both) but it seems that integration by Neurio lost out to other priorities so far. But it all works pretty well on a standalone basis. It is discouraging to see how low I rank compared to most of their users, but I doubt most have a large marine aquarium and put up as many Christmas lights and displays as I do.
-
In case it is of interest, I have a Neurio for whole house power monitoring. I was hoping they would work with Securifi (seems like a couple people have both) but it seems that integration by Neurio lost out to other priorities so far. But it all works pretty well on a standalone basis. It is discouraging to see how low I rank compared to most of their users, but I doubt most have a large marine aquarium and put up as many Christmas lights and displays as I do.
That's a pretty new product right? It's the Kickstarter thing? Last time I checked the number of users was in the hundreds total. Getting support for the Neurio might be a challenge but you never know.
Big Christmas displays, eh? You should post a pic. ;D
-
Eh. Big for me, family and friends but not to the really elaborate people. Ours only has about 10k lights, 8 inflatables (my wife loves those things not my favorite though) and a NOEL display consisting of 5' x 3' letters (1/2" PVC with LED strips inside) that change color. It is all on Z-Wave outdoor plugs now so the on and off times are more reliable and synchronized.
Anyways, yes the Neurio was on Kickstarter. I am not very active in their forum though.
-
Goal? push notification of a 'significant' power change or change beyond some threshold. Real-time (meaning high frequency updates) not necessary. For example, once every 1 or 5 or 30 minutes is fine for some uses. Nothing on the Neurio level.
Good to know.
What's the goal here? Near real time or real time power monitoring ?
You going to plot whole house and maybe a couple of outlets?
-
This is very doable.
Not sure where it is on the internal roadmap at Securifi but if it's beyond the horizon then we can hack something together pretty easily.
-
Goal? push notification of a 'significant' power change or change beyond some threshold. Real-time (meaning high frequency updates) not necessary. For example, once every 1 or 5 or 30 minutes is fine for some uses. Nothing on the Neurio level.
The problem is that Securifi never implemented a way to change the report time on sensors, be it Z-Wave or ZigBee and as such you can only use whatever the default for the specific device is, be it a power meter or a motion sensor. The report time is usually quite high to save battery life on battery powered sensors and still quite high on most mains powered devices. I'm guessing that in the latter case it's due to the manufacturers thinking that most people don't need status updates more frequently than once every 30 minutes or so. Hopefully this is something Securifi will add support for in the future though.
-
The problem is that Securifi never implemented a way to change the report time on sensors, be it Z-Wave or ZigBee and as such you can only use whatever the default for the specific device is, be it a power meter or a motion sensor. The report time is usually quite high to save battery life on battery powered sensors and still quite high on most mains powered devices. I'm guessing that in the latter case it's due to the manufacturers thinking that most people don't need status updates more frequently than once every 30 minutes or so. Hopefully this is something Securifi will add support for in the future though.
But most Z-wave devices allows the user to set parameters, including but not limited to reporting frequency. And that is supported from the LCD-UI!
-
But most Z-wave devices allows the user to set parameters, including but not limited to reporting frequency. And that is supported from the LCD-UI!
Ah, I guess that's new in R083 then, I haven't had a chance to test it with any Z-Wave devices yet.
-
Seems to be working with some devices, but not others. I've got a Fibaro motion/multi sensors and I can't set any parameters for it, although it is at least fully functional now as far as I can tell.
-
But most Z-wave devices allows the user to set parameters, including but not limited to reporting frequency. And that is supported from the LCD-UI!
This feature, currently only available in the LDC interface, is very useful. It's not the most user friendly but we can modify the WiKi to describe some of the most common parameters for popular devices. The 2 I have are;
Aeon Labs DSC06106-ZWUS - Z-Wave Smart Energy Switch
• Adds Z-Wave wireless control to a plug-in appliance
• Supports devices rated up to 1875W, 15A
• Built-in meter monitors energy consumption
• Wireless range up to 100 feet from controller
• Repeats Z-Wave commands to other devices
Aeon Labs AEDSB09104ZWUS Aeotec Z-Wave Smart Energy Monitor
-Low-cost energy monitor for the entire home
-Wirelessly reports immediate wattage and kWh usage to central control point gateways
-Can be easily and safely installed by anyone
The AED unit is a whole house monitor. I wouldn't install it yourself unless you are comfortable with opening your electrical panel. This unit is currently reporting as many as 5x minute. Thinking it is set to a power change threshold. So let's take a look.
-
The subdir for aeon_labs has several files, hem.xml, hem1.xml and hemg.xml look to be the home energy monitor config files.
hem.xml
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- Configuration Parameters -->
<CommandClass id="112">
<Value type="short" index="1" genre="config" label="Country Voltage" units="volts" min="0" max="240" value="120">
<Help>
Voltage to calculate wattage from amperage. US=120. EU,ANZ=240.
</Help>
</Value>
<Value type="byte" index="3" genre="config" label="Power changed" units="" min="0" max="1" value="0">
<Help>
Automatic report only when power is changed.
</Help>
</Value>
<Value type="short" index="4" genre="config" label="Wattage Threshold" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (whole HEM).
</Help>
</Value>
<Value type="short" index="5" genre="config" label="Wattage Threshold C1" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 1).
</Help>
</Value>
<Value type="short" index="6" genre="config" label="Wattage Threshold C2" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 2).
</Help>
</Value>
<Value type="short" index="7" genre="config" label="Wattage Threshold C3" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 3).
</Help>
</Value>
<Value type="byte" index="8" genre="config" label="Wattage Percentage Change" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (whole HEM).
</Help>
</Value>
<Value type="byte" index="9" genre="config" label="Wattage Percentage Change C1" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 1).
</Help>
</Value>
<Value type="byte" index="10" genre="config" label="Wattage Percentage Change C2" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 2).
</Help>
</Value>
<Value type="byte" index="11" genre="config" label="Wattage Percentage Change C3" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 3).
</Help>
</Value>
<Value type="byte" index="12" genre="config" label="Accumulate energy" units="" min="0" max="1" value="0">
<Help>
Accumulate energy when Battery Powered.
</Help>
</Value>
<Value type="byte" index="20" genre="config" label="USB powered" units="" min="0" max="1" read_only="true" value="0">
<Help>
This byte denotes whether the product is using batteries (value = 0) or using USB power (value = 1).
</Help>
</Value>
<Value type="int" index="100" genre="config" label="Reset #101-103" units="" value="0" write_only="true" affects="101,102,103">
<Help>
Reset to default parameters number 101-103. Any value other then 0 will initiate this reset.
</Help>
</Value>
<Value type="int" index="101" genre="config" label="Group 1 Reports" units="" value="0">
<Help>
Which reports need to send in group1. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="102" genre="config" label="Group 2 Reports" units="" value="0">
<Help>
Which reports need to send in group2. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="103" genre="config" label="Group 3 Reports" units="" value="0">
<Help>
Which reports need to send in group3. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="110" genre="config" label="Reset #111-113" units="" value="0" write_only="true" affects="111,112,113">
<Help>
Reset to default parameters number 111-113. Any value other then 0 will initiate this reset.
</Help>
</Value>
<Value type="int" index="111" genre="config" label="Group 1 Interval" units="seconds" value="720">
<Help>
The interval of sending report group 1.
</Help>
</Value>
<Value type="int" index="112" genre="config" label="Group 2 Interval" units="seconds" value="720">
<Help>
The interval of sending report group 2.
</Help>
</Value>
<Value type="int" index="113" genre="config" label="Group 3 Interval" units="seconds" value="720">
<Help>
The interval of sending report group 3.
</Help>
</Value>
<Value type="int" index="253" genre="config" label="Unit Recalibration (dangerous)" units="" value="0" write_only="true">
<Help>
Re-calibrate (will destroy factory calibration). CONTACT AEON LABS before using.
</Help>
</Value>
<Value type="short" index="254" genre="config" label="Device Tag" units="" value="0">
<Help>
Device tag.
</Help>
</Value>
<Value type="int" index="255" genre="config" label="Reset default configuration" units="" value="0" write_only="true" affects="all">
<Help>
Reset to the default configuration.
</Help>
</Value>
</CommandClass>
<!-- COMMAND_CLASS_WAKE_UP. This class is in the list reported by the HEM, but it does not
respond to requests. It still needs to be supported so that wake up notifications are handled. -->
<CommandClass id="132" create_vars="false" />
<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="1">
<Group index="1" max_associations="5" label="Report" auto="true" />
</Associations>
</CommandClass>
</Product>
-
and hem1.xml
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- Configuration Parameters -->
<CommandClass id="112">
<Value type="short" index="1" genre="config" label="Country Voltage" units="volts" min="0" max="240" value="120">
<Help>
Voltage to calculate wattage from amperage. US=120. EU,ANZ=240.
</Help>
</Value>
<Value type="byte" index="3" genre="config" label="Power changed" units="" min="0" max="1" value="1">
<Help>
Automatic report only when power is changed.
</Help>
</Value>
<Value type="short" index="4" genre="config" label="Wattage Threshold" units="watts" value="25">
<Help>
Threshold change in wattage to induce a automatic report (whole HEM).
</Help>
</Value>
<Value type="short" index="5" genre="config" label="Wattage Threshold C1" units="watts" value="25">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 1).
</Help>
</Value>
<Value type="short" index="6" genre="config" label="Wattage Threshold C2" units="watts" value="25">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 2).
</Help>
</Value>
<Value type="short" index="7" genre="config" label="Wattage Threshold C3" units="watts" value="25">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 3).
</Help>
</Value>
<Value type="byte" index="8" genre="config" label="Wattage Percentage Change" units="%" value="5">
<Help>
Percentage change in wattage to induce a automatic report (whole HEM).
</Help>
</Value>
<Value type="byte" index="9" genre="config" label="Wattage Percentage Change C1" units="%" value="5">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 1).
</Help>
</Value>
<Value type="byte" index="10" genre="config" label="Wattage Percentage Change C2" units="%" value="5">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 2).
</Help>
</Value>
<Value type="byte" index="11" genre="config" label="Wattage Percentage Change C3" units="%" value="5">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 3).
</Help>
</Value>
<Value type="int" index="101" genre="config" label="Group 1 Reports" units="" value="12">
<Help>
Which reports need to send in group1. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="103" genre="config" label="Group 3 Reports" units="" value="6912">
<Help>
Which reports need to send in group3. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="111" genre="config" label="Group 1 Interval" units="seconds" value="120">
<Help>
The interval of sending report group 1.
</Help>
</Value>
<Value type="int" index="113" genre="config" label="Group 3 Interval" units="seconds" value="120">
<Help>
The interval of sending report group 3.
</Help>
</Value>
</CommandClass>
<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="1">
<Group index="1" max_associations="5" label="Report" auto="true" />
</Associations>
</CommandClass>
</Product>
and hemg.xml
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- Configuration Parameters -->
<CommandClass id="112">
<Value type="list" index="2" genre="config" label="Reverse Clamping" units="" min="0" max="1" value="0" size="1">
<Help>
If the reverse clamping pliers, negative power is detected.
</Help>
<Item label="Disable" value="0" />
<Item label="Enable" value="1" />
</Value>
<Value type="list" index="3" genre="config" label="Power changed" units="" min="0" max="1" value="0" size="1">
<Help>
Automatic report only when power is changed.
</Help>
<Item label="Disable" value="0" />
<Item label="Enable" value="1" />
</Value>
<Value type="short" index="4" genre="config" label="Wattage Threshold" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (whole HEM).
</Help>
</Value>
<Value type="short" index="5" genre="config" label="Wattage Threshold C1" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 1).
</Help>
</Value>
<Value type="short" index="6" genre="config" label="Wattage Threshold C2" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 2).
</Help>
</Value>
<Value type="short" index="7" genre="config" label="Wattage Threshold C3" units="watts" value="50">
<Help>
Threshold change in wattage to induce a automatic report (Clamp 3).
</Help>
</Value>
<Value type="byte" index="8" genre="config" label="Wattage Percentage Change" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (whole HEM).
</Help>
</Value>
<Value type="byte" index="9" genre="config" label="Wattage Percentage Change C1" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 1).
</Help>
</Value>
<Value type="byte" index="10" genre="config" label="Wattage Percentage Change C2" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 2).
</Help>
</Value>
<Value type="byte" index="11" genre="config" label="Wattage Percentage Change C3" units="%" value="10">
<Help>
Percentage change in wattage to induce a automatic report (Clamp 3).
</Help>
</Value>
<Value type="int" index="100" genre="config" label="Reset #101-103" units="" value="0" write_only="true" affects="101,102,103">
<Help>
Reset to default parameters number 101-103. Any value other then 0 will initiate this reset.
</Help>
</Value>
<Value type="int" index="101" genre="config" label="Group 1 Reports" units="" value="0">
<Help>
Which reports need to send in group1. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="102" genre="config" label="Group 2 Reports" units="" value="0">
<Help>
Which reports need to send in group2. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="103" genre="config" label="Group 3 Reports" units="" value="0">
<Help>
Which reports need to send in group3. Format is as follows:
Byte 1 (msb): Reserved
Byte 2: Reserved
Byte 3: Bit 7: reserved
Bit 6: reserved
Bit 5: Auto Send Meter Report (for kWh) at the group time interval (Clamp 3)
Bit 4: Auto Send Meter Report (for kWh) at the group time interval (Clamp 2)
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (Clamp 1)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (Clamp 3)
Bit 1: Auto Send Meter Report (for watts) at the group time interval (Clamp 2)
Bit 0: Auto Send Meter Report (for watts) at the group time interval (Clamp 1)
Byte 4 (lsb): Bit 7: reserved
Bit 6: reserved
Bit 5: reserved
Bit 4: reserved
Bit 3: Auto Send Meter Report (for kWh) at the group time interval (whole HEM)
Bit 2: Auto Send Meter Report (for watts) at the group time interval (whole HEM)
Bit 1: Auto Send Multilevel Sensor Report (for watts) at the group time interval (whole HEM)
Bit 0: Auto Send Battery Report at the group time interval (whole HEM)
</Help>
</Value>
<Value type="int" index="110" genre="config" label="Reset #111-113" units="" value="0" write_only="true" affects="111,112,113">
<Help>
Reset to default parameters number 111-113. Any value other then 0 will initiate this reset.
</Help>
</Value>
<Value type="int" index="111" genre="config" label="Group 1 Interval" units="seconds" value="720">
<Help>
The interval of sending report group 1.
</Help>
</Value>
<Value type="int" index="112" genre="config" label="Group 2 Interval" units="seconds" value="720">
<Help>
The interval of sending report group 2.
</Help>
</Value>
<Value type="int" index="113" genre="config" label="Group 3 Interval" units="seconds" value="720">
<Help>
The interval of sending report group 3.
</Help>
</Value>
<Value type="list" index="200" genre="config" label="Partner ID" units="" min="0" max="1" size="1" value="0">
<Item label="Aeon Labs Standard Product" value="0" />
<Item label="AT&T" value="1" />
</Value>
<Value type="short" index="254" genre="config" label="Device Tag" units="" value="0">
<Help>
Device tag.
</Help>
</Value>
<Value type="int" index="255" genre="config" label="Reset default configuration" units="" value="0" write_only="true" affects="all">
<Help>
Reset to the default configuration.
</Help>
</Value>
</CommandClass>
<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="1">
<Group index="1" max_associations="5" label="Report" auto="true" />
</Associations>
</CommandClass>
</Product>
A little info from my DeviceList.xml file.
Device 13 is my Power Switch and Device 14 is my Whole House Energy Monitor. You can see the current status and couple of variable's last known values and the Class ID's and Command Index info.
<Device ID="13">
<Name>Air Conditioner</Name>
<Location>House</Location>
<OZWNode>4</OZWNode>
<ZigBeeShortID>NaN</ZigBeeShortID>
<ZigBeeEUI64>NaN</ZigBeeEUI64>
<DeviceTechnology>ZWaveTechnology</DeviceTechnology>
<AssociationTimeStamp>1435254557</AssociationTimeStamp>
<DeviceType>BinaryPowerSwitch</DeviceType>
<FriendlyDeviceType>BinaryPowerSwitch</FriendlyDeviceType>
<AllowNotification>1</AllowNotification>
<ValueVariables Count="2">
<LastKnownValue Index="1" CommandClassID="37" CommandIndex="0" Name="SWITCH BINARY" Type="Bool">false</LastKnownValue>
<LastKnownValue Index="2" CommandClassID="50" CommandIndex="8" Name="POWER" Type="Decimal">0.000W</LastKnownValue>
</ValueVariables>
</Device>
<Device ID="14">
<Name>Main Power</Name>
<Location>House</Location>
<OZWNode>5</OZWNode>
<ZigBeeShortID>NaN</ZigBeeShortID>
<ZigBeeEUI64>NaN</ZigBeeEUI64>
<DeviceTechnology>ZWaveTechnology</DeviceTechnology>
<AssociationTimeStamp>1435508281</AssociationTimeStamp>
<DeviceType>EnergyReader</DeviceType>
<FriendlyDeviceType>MultilevelSensor</FriendlyDeviceType>
<AllowNotification>1</AllowNotification>
<ValueVariables Count="7">
<LastKnownValue Index="1" CommandClassID="128" CommandIndex="0" Name="BATTERY" Type="Byte">0</LastKnownValue>
<LastKnownValue Index="2" CommandClassID="50" CommandIndex="8" Name="POWER" Type="Decimal">254.760W</LastKnownValue>
<LastKnownValue Index="3" CommandClassID="50" CommandIndex="0" Name="ENERGY" Type="Decimal">2240.213kWh</LastKnownValue>
<LastKnownValue Index="4" CommandClassID="50" CommandIndex="8" Name="POWER" Type="Decimal">17.400W</LastKnownValue>
<LastKnownValue Index="5" CommandClassID="50" CommandIndex="0" Name="ENERGY" Type="Decimal">1133.635kWh</LastKnownValue>
<LastKnownValue Index="6" CommandClassID="50" CommandIndex="8" Name="POWER" Type="Decimal">238.200W</LastKnownValue>
<LastKnownValue Index="7" CommandClassID="50" CommandIndex="0" Name="ENERGY" Type="Decimal">1096.884kWh</LastKnownValue>
</ValueVariables>
</Device>
-
Sorry for the multiple posts but there is a character limit that I'm exceeding when posting the xml files.
Anyway, now we just need some of the class info available here:
https://forum.securifi.com/index.php/topic,3426.msg16029.html#msg16029
Almond Plus SDK Docs are posted.
http://firmware.securifi.com/sdkdocs/index.html
Included are the following sections:
Class List
http://firmware.securifi.com/sdkdocs/annotated.html
Class Index
http://firmware.securifi.com/sdkdocs/classes.html
Class Members
including functions, variables, enumerations and enumerator
http://firmware.securifi.com/sdkdocs/functions.html
Open ZWave Library for comparison only
http://www.openzwave.com/dev/annotated.html
Modify message
« Last Edit: June 28, 2015, 02:52:47 am by SecureComp »
And now we can get to work.
-
out of time for the moment, have to put a pin in this...
Goal is to understand then change the reporting threshold for one of the meters.