Creates a device that summarises multiple sensors into one virtual device. Multiple aggregate functions like average, min, max, ... can be used to calculate the displayed value.
List of devices to be summarised. The icon, scaleTitle and probeTitle will be taken from the first device in the list.
Specifies the aggregate function. Available functions are
- average: Average value
- min: Min value
- max: Max value
- count: Count devices with values not equal to zero
- sum: Sum of all values (useful for energy meters)
This module creates a virtual sensorMultilevel device.
No events are emitted
The prefered way of installing this module is via the "Zwave.me App Store" available in 2.2.0 and higher. For stable module releases no access token is required. If you want to test the latest pre-releases use 'k1_beta' as app store access token.
For developers and users of older Zway versions installation via git is recommended.
cd /opt/z-way-server/automation/userModules
git clone https://github.com/maros/Zway-SummarySensor.git SummarySensor --branch latest
To update or install a specific version
cd /opt/z-way-server/automation/userModules/SummarySensor
git fetch --tags
# For latest released version
git checkout tags/latest
# For a specific version
git checkout tags/1.02
# For development version
git checkout -b master --track origin/master
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.