cdjackson / HABmin

A web admin console for openHAB home automation
http://www.cd-jackson.com/index.php/openhab/habmin
217 stars 51 forks source link

POPP Meter power switch database add #209

Closed triggerhappy17 closed 9 years ago

triggerhappy17 commented 9 years ago

Hi,

Would it be possible to add POPP 123665 to the database. I attempted this myself but was not sure how to compile and test :(. If you could advise that would be great.

XML file :+1:

I hope this is correct

<?xml version="1.0" encoding="utf-8"?>

123665 0x20 0x25 0x27 0x32 0x70 0x72 0x73 0x85 0x86 0x8e 1 integer 720 2 If the setting is configured for 1hour (set value =720), the device will report its instant power consumption every 1 hour to Z-Wave Controller. (in seconds) ``` 2 integer 6 2 if the setting is configured for 1hour (set value =6), the device will report its Accumulated Power Consumption (KW/h) every hour (in seconds) 4 integer 10000 2 This is a warning when the KWh of load over the preset threshold value, if the Accumulated Power Consumption exceeds the setting value the device will send a warning alarm command to the controller. 5 list 1 1 0 1 2 11 list 1 1 0 1 1 5 ```

Manual:

http://www.vesternet.com/downloads/dl/file/id/245/z_wave_popp_wall_plug_switch_meter_uk_manual.pdf

Thanks in advance!

cdjackson commented 9 years ago

Can you email me tue files please - github removes formatting from xml :(

chris -at- cd-jackson.com

triggerhappy17 commented 9 years ago

thanks. email sent ;)

cdjackson commented 9 years ago

Hi, It looks like you’ve probably mostly made the XML, but when you paste it into the issue on Github, github (nicely!) removes all the XML formatting! Can you email me the files (chris -at- cd-jackson.com).

For reference, the most current info on the database format is here (https://github.com/cdjackson/HABmin2/wiki/Z-Wave-Product-Database https://github.com/cdjackson/HABmin2/wiki/Z-Wave-Product-Database).

Thanks Chris

On 17 Jan 2015, at 01:13, netmonky notifications@github.com wrote:

Hi,

Would it be possible to add POPP 123665 to the database. I attempted this myself but was not sure how to compile and test :(. If you could advise that would be great.

XML file

I hope this is correct

<?xml version="1.0" encoding="utf-8"?>

123665 Wall Plug Power Meter

. 0x20 . 0x25 . 0x27 . 0x32 . 0x70 . 0x72 0x73 . 0x85 . 0x86 0x8e

1 integer 720 2 Watt Meter Report Period If the setting is configured for 1hour (set value =720), the device will report its instant power consumption every 1 hour to Z-Wave Controller. (in seconds)

2 integer 6 2 if the setting is configured for 1hour (set value =6), the device will report its Accumulated Power Consumption (KW/h) every hour (in seconds)
<Parameter>
    <Index>4</Index>
                <Type>integer</Type>
                <Default>10000</Default>
                <Size>2</Size>
                <Label lang="en">Threshold of KWh for Load caution </Label>
                <Help lang="en">This is a warning when the KWh of load over the preset threshold value, if the Accumulated Power Consumption exceeds the setting value the device will send a warning alarm command to the controller.</Help>
</Parameter>

<Parameter>
    <Index>5</Index>
    <Type>list</Type>
    <Default>1</Default>
    <Size>1</Size>
    <Label>Ignore start level</Label>
    <Item>
        <Value>0</Value>
        <Label lang="Switch Off">No</Label>
    </Item>
    <Item>
        <Value>1</Value>
        <Label lang="en">Last Switch State (Default)</Label>
    </Item>
                <Item>
                        <Value>2</Value>
                        <Label lang="en">Switch On</Label>
                </Item>
    <Help lang="en"></Help>
</Parameter>

<Parameter>
    <Index>11</Index>
                <Type>list</Type>
                <Default>1</Default>
                <Size>1</Size>
                <Label>Ignore start level</Label>
                <Item>
                        <Value>0</Value>
                        <Label lang="en">Disabled</Label>
                </Item>
                <Item>
                        <Value>1</Value>
                        <Label lang="en">Enabled (Default)</Label>
                </Item>

</Parameter>

1 5

Manual:

http://www.vesternet.com/downloads/dl/file/id/245/z_wave_popp_wall_plug_switch_meter_uk_manual.pdf http://www.vesternet.com/downloads/dl/file/id/245/z_wave_popp_wall_plug_switch_meter_uk_manual.pdf Thanks in advance!

— Reply to this email directly or view it on GitHub https://github.com/cdjackson/HABmin/issues/209.

cdjackson commented 9 years ago

Thanks - I also need to know the device type and id - these are reported by HABmin.=