From e98545e69d217b778e4a53c78cfe567ca134ecae Mon Sep 17 00:00:00 2001 From: Vincent RAMPAL Date: Fri, 22 Jan 2016 20:27:23 +0100 Subject: [PATCH 1/2] Create config for NP310, copy improvements done by dominicdesu to all greenwave products --- .../database/greenwave/np210.xml | 36 ++++ .../database/greenwave/np310.xml | 157 ++++++++++++++++++ .../database/greenwave/ns210.xml | 35 ++++ .../database/products.xml | 11 +- 4 files changed, 234 insertions(+), 5 deletions(-) create mode 100644 bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml diff --git a/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml index 845e668fa46..82fcb27ad86 100644 --- a/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml +++ b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml @@ -20,6 +20,16 @@ + + 0 + byte + 0 + 100 + 1 + + Minimum variation in load current before a message is sent. Value in percent (30 => 30%) + + 1 byte @@ -34,6 +44,7 @@ list 0 1 + true 128 @@ -79,5 +90,30 @@ The room color (Corner wheel color) on the GreenWave device + + + + 1 + 1 + + + + 2 + 1 + + + + 3 + 1 + + The new power reading is sent if the delta of the change is greater than the defined minimum variation + + + 4 + 1 + + + + diff --git a/bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml new file mode 100644 index 00000000000..cf6a38a88c3 --- /dev/null +++ b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml @@ -0,0 +1,157 @@ + + + NP310 + + + 0x20 + 0x25 + 0x27 + 0x32 + 0x56 + 0x60 + 0x70 + 0x71 + 0x72 + 0x75 + 0x85 + 0x86 + 0x87 + + + + + + 0 + byte + 0 + 100 + 1 + + Minimum variation in load current before a message is sent. Value in percent (30 => 30%) + + + + 1 + byte + 2 + 1 + + After how many minutes the GreenWave device should start flashing if the controller didn't communicate with this device + + + + 2 + list + 0 + 1 + true + + -128 + + + + -127 + + + + -126 + + + + -125 + + + + -124 + + + + -123 + + + + -122 + + + + -121 + + + + -120 + + + + -119 + + + + + Wheel position on the GreenWave device (read-only) + + + + 3 + list + 2 + + 0 + + + + 1 + + + + 2 + + + 1 + + Default state after power loss + + + + 4 + list + 0 + 1 + + 0 + + + + 1 + + + + If the LED should indicate a network error by flashing or not + + + + + + 1 + 1 + + + + 2 + 1 + + + + 3 + 1 + + The new power reading is sent if the delta of the change is greater than the defined minimum variation + + + 4 + 1 + + + + + + diff --git a/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml b/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml index 76d9fb756e7..d590d4e2c72 100644 --- a/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml +++ b/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml @@ -18,6 +18,16 @@ + + 0 + byte + 0 + 100 + 1 + + Minimum variation in load current before a message is sent. Value in percent (30 => 30%) + + 1 byte @@ -32,6 +42,7 @@ list 0 1 + true 128 @@ -78,5 +89,29 @@ + + + 1 + 1 + + + + 2 + 1 + + + + 3 + 1 + + The new power reading is sent if the delta of the change is greater than the defined minimum variation + + + 4 + 1 + + + + diff --git a/bundles/binding/org.openhab.binding.zwave/database/products.xml b/bundles/binding/org.openhab.binding.zwave/database/products.xml index e825c910480..7303b2d5a37 100644 --- a/bundles/binding/org.openhab.binding.zwave/database/products.xml +++ b/bundles/binding/org.openhab.binding.zwave/database/products.xml @@ -1261,17 +1261,18 @@ 0003 0003 - NP210 - - greenwave/np210.xml + NP210/NP310 + + greenwave/np210.xml + greenwave/np310.xml 0002 0002 - NS210 - + NS210/NS310 + greenwave/ns210.xml greenwave/ns310.xml From 4a984048d150e6a91750dbd4de57b2b35331031b Mon Sep 17 00:00:00 2001 From: Vincent RAMPAL Date: Wed, 27 Jan 2016 19:31:18 +0100 Subject: [PATCH 2/2] Updated greenwave powernode according to technical documentation --- .../database/greenwave/np210.xml | 69 +++++++++++++++---- .../database/greenwave/np310.xml | 35 +++++----- .../database/greenwave/ns210.xml | 67 ++++++++++++++---- .../database/greenwave/ns310.xml | 39 ++++++----- 4 files changed, 148 insertions(+), 62 deletions(-) diff --git a/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml index 82fcb27ad86..63752059b37 100644 --- a/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml +++ b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np210.xml @@ -3,19 +3,19 @@ NP210 - 0x20 - 0x25 - 0x27 - 0x32 - 0x56 - 0x60 - 0x70 - 0x71 - 0x72 - 0x75 - 0x85 - 0x86 - 0x87 + 0x20 + 0x25 + 0x27 + 0x32 + 0x56 + 0x60 + 0x70 + 0x71 + 0x72 + 0x75 + 0x85 + 0x86 + 0x87 @@ -23,8 +23,9 @@ 0 byte - 0 + 1 100 + 10 1 Minimum variation in load current before a message is sent. Value in percent (30 => 30%) @@ -33,6 +34,8 @@ 1 byte + 1 + 255 2 1 @@ -89,6 +92,44 @@ The room color (Corner wheel color) on the GreenWave device + + + 3 + list + 2 + + 0 + + + + 1 + + + + 2 + + + 1 + + Default state after power loss + + + + 4 + list + 0 + 1 + + 0 + + + + 1 + + + + If the LED should indicate a network error by flashing or not + diff --git a/bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml index cf6a38a88c3..94866b401bc 100644 --- a/bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml +++ b/bundles/binding/org.openhab.binding.zwave/database/greenwave/np310.xml @@ -3,19 +3,19 @@ NP310 - 0x20 - 0x25 - 0x27 - 0x32 - 0x56 - 0x60 - 0x70 - 0x71 - 0x72 - 0x75 - 0x85 - 0x86 - 0x87 + 0x20 + 0x25 + 0x27 + 0x32 + 0x56 + 0x60 + 0x70 + 0x71 + 0x72 + 0x75 + 0x85 + 0x86 + 0x87 @@ -23,8 +23,9 @@ 0 byte - 0 + 1 100 + 10 1 Minimum variation in load current before a message is sent. Value in percent (30 => 30%) @@ -33,6 +34,8 @@ 1 byte + 1 + 255 2 1 @@ -118,11 +121,11 @@ 1 0 - + 1 - + If the LED should indicate a network error by flashing or not diff --git a/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml b/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml index d590d4e2c72..da42f1be64e 100644 --- a/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml +++ b/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns210.xml @@ -3,26 +3,27 @@ NS210 - 0x20 - 0x25 - 0x27 - 0x32 - 0x56 - 0x70 - 0x71 - 0x72 - 0x75 - 0x85 - 0x86 - 0x87 + 0x20 + 0x25 + 0x27 + 0x32 + 0x56 + 0x70 + 0x71 + 0x72 + 0x75 + 0x85 + 0x86 + 0x87 0 byte - 0 + 1 100 + 10 1 Minimum variation in load current before a message is sent. Value in percent (30 => 30%) @@ -31,6 +32,8 @@ 1 byte + 1 + 255 2 1 @@ -87,6 +90,44 @@ The room color (Corner wheel color) on the GreenWave device + + + 3 + list + 2 + + 0 + + + + 1 + + + + 2 + + + 1 + + Default state after power loss + + + + 4 + list + 0 + 1 + + 0 + + + + 1 + + + + If the LED should indicate a network error by flashing or not + diff --git a/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns310.xml b/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns310.xml index f667a08c50b..c5a989f896b 100644 --- a/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns310.xml +++ b/bundles/binding/org.openhab.binding.zwave/database/greenwave/ns310.xml @@ -3,26 +3,27 @@ NS310 - 0x20 - 0x25 - 0x27 - 0x32 - 0x56 - 0x70 - 0x71 - 0x72 - 0x75 - 0x85 - 0x86 - 0x87 + 0x20 + 0x25 + 0x27 + 0x32 + 0x56 + 0x70 + 0x71 + 0x72 + 0x75 + 0x85 + 0x86 + 0x87 0 - int - 0 + byte + 1 100 + 10 1 Minimum variation in load current before a message is sent. Value in percent (30 => 30%) @@ -30,10 +31,10 @@ 1 - int + byte + 1 + 255 2 - -1 - 127 1 After how many minutes the GreenWave device should start flashing if the controller didn't communicate with this device @@ -118,11 +119,11 @@ 1 0 - + 1 - + If the LED should indicate a network error by flashing or not