advlib-eep-msc
v1.1.1
Published
Wireless advertising packet decoding library for EnOcean Equipment Profile MSC telegrams. We believe in an open Internet of Things.
Downloads
75
Maintainers
Readme
advlib-eep-msc
Wireless advertising packet decoding library for EnOcean Equipment Profiles of manufacturer specific communication data (MSC). advlib-eep-msc is typically used as a library for advlib-esp which itself is commonly a processor module of the protocol-agnostic advlib.
advlib-eep-msc is a lightweight Node.js package with no dependencies. See also its sister libraries advlib-eep-4bs, advlib-eep-vld and advlib-eep-rps.
Installation
npm install advlib-eep-msc
Hello advlib-eep-msc!
const advlib = require('advlib-eep-msc');
let eepType = 'D1-07-10';
let telegram = 'd10470a500007b0414006980';
let processedData = advlib.processMSCTelegram(eepType, telegram);
console.log(processedData);
Which should yield the following console output:
{
batteryVoltage: 3.3,
passageCounts: [ 123 ],
uri: "https://sniffypedia.org/Organization/DEUTA_Controls_GmbH/"
}
Supported EnOcean Equipment Profiles
The following EEPs are currently supported by advlib-eep-msc.
| Mfr. Id | EEP | Profile Name | /lib file | |:--------|:---------|:-----------------------------|:------------------------| | 0x047 | D1-07-10 | People Counter | deutacontrols.js | | 0x047 | D1-07-11 | Noise Sensor | deutacontrols.js | | 0x047 | D1-09-01 | Solar CO2 Sensor | deutacontrols.js |
See www.reelyactive.com/pareto/anywhere/devices/enocean-alliance/ for a list of all EEPs supported by our Pareto Anywhere open source IoT middleware.
Contributing
Discover how to contribute to this open source project which upholds a standard code of conduct.
Security
Consult our security policy for best practices using this open source software and to report vulnerabilities.
License
MIT License
Copyright (c) 2024 reelyActive
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.