knxultimate
Advanced tools
Comparing version 1.0.27 to 1.0.28
@@ -10,2 +10,6 @@ ![Sample Node](img/logo.png) | ||
<p> | ||
<b>Version 1.0.28</b> - November 2022<br/> | ||
- NEW: added datapoint 9.009 Airflow.<br/> | ||
</p> | ||
<p> | ||
<b>Version 1.0.27</b> - October 2022<br/> | ||
@@ -12,0 +16,0 @@ - FIX: fixed an issue accurring when you put a wrong IP/hostname in the configuration of the gateway. Leaving node running with such wrong configuration, after a month or so, all UDP channels remain occupied until reboot. Thanks to @tarag for reporting that.<br/> |
{ | ||
"name": "knxultimate", | ||
"description": "KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"engines": { | ||
@@ -6,0 +6,0 @@ "node": ">=14" |
@@ -14,3 +14,3 @@ /** | ||
// kudos to http://croquetweak.blogspot.gr/2014/08/deconstructing-floats-frexp-and-ldexp.html | ||
function ldexp (mantissa, exponent) { | ||
function ldexp(mantissa, exponent) { | ||
return exponent > 1023 // avoid multiplying by infinity | ||
@@ -23,3 +23,3 @@ ? mantissa * Math.pow(2, 1023) * Math.pow(2, exponent - 1023) | ||
function frexp (value) { | ||
function frexp(value) { | ||
if (value === 0) return [value, 0] | ||
@@ -81,3 +81,3 @@ const data = new DataView(new ArrayBuffer(8)) | ||
help: | ||
`// Send 16-bit floating point value. | ||
`// Send 16-bit floating point value. | ||
msg.payload = 25; | ||
@@ -153,2 +153,10 @@ return msg;` | ||
// 9.009 Airflow (ppm) | ||
'009': { | ||
name: 'Airflow (m3/h)', | ||
desc: 'Airflow', | ||
unit: 'm3/h', | ||
range: [-671088.64, 670433.28] | ||
}, | ||
// 9.010 time (s) | ||
@@ -155,0 +163,0 @@ '010': { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
2
915872
105
9161