knxultimate
Advanced tools
Comparing version
{ | ||
"name": "knxultimate", | ||
"description": "KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"engines": { | ||
@@ -6,0 +6,0 @@ "node": ">=14" |
@@ -10,3 +10,3 @@  | ||
[](https://standardjs.com) | ||
[![Facebook][facebook-image]][facebook-url] | ||
[![Youtube][youtube-image]][youtube-url] | ||
[](https://www.paypal.me/techtoday) | ||
@@ -20,16 +20,18 @@ | ||
This is the official engine of Node-Red node KNX-Ultimate (https://flows.nodered.org/node/node-red-contrib-knx-ultimate) | ||
This is the official engine of Node-Red node KNX-Ultimate (https://flows.nodered.org/node/KNXUltimate) | ||
I had many users asking for a node.js release of that engine, so here is it. | ||
The node will be KNX Secure compatible. I'm already working on that. | ||
## CHANGELOG | ||
* See <a href="https://github.com/Supergiovane/knxultimate/blob/master/CHANGELOG.md">here the changelog</a> | ||
Here the usage sample (you can find this sample in the "sample.js" file): | ||
```javascript | ||
const knx = require("./index.js"); | ||
const dptlib = require('./src/dptlib'); | ||
// Set the properties | ||
@@ -140,9 +142,3 @@ let knxUltimateClientProperties = { | ||
"help": | ||
`// KNX-Ultimate set as UNIVERSAL NODE | ||
// Example of a function that sends a message to the KNX-Ultimate | ||
msg.destination = "0/0/1"; // Set the destination | ||
msg.payload = false; // issues a write or response (based on the options Output Type above) to the KNX bus | ||
msg.event = "GroupValue_Write"; // "GroupValue_Write" or "GroupValue_Response", overrides the option Output Type above. | ||
msg.dpt = "1.001"; // for example "1.001", overrides the Datapoint option. (Datapoints can be sent as 9 , "9" , "9.001" or "DPT9.001") | ||
return msg;`, "helplink": "https://github.com/Supergiovane/node-red-contrib-knx-ultimate/wiki" | ||
``, "helplink": "https://github.com/Supergiovane/node-red-contrib-knx-ultimate/wiki" | ||
}; | ||
@@ -178,4 +174,2 @@ res.json(jRet); | ||
console.log("WARNING: I'm about to write to your BUS in 10 seconds! Press Control+C to abort!") | ||
@@ -216,4 +210,4 @@ console.log("WARNING: I'm about to write to your BUS in 10 seconds! Press Control+C to abort!") | ||
Why not to try Node-Red https://nodered.org and the awesome KNX-Ultimate node https://github.com/Supergiovane/KNXUltimate ? | ||
<br/> | ||
@@ -225,8 +219,8 @@ <br/> | ||
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg | ||
[license-url]: https://github.com/Supergiovane/node-red-contrib-knx-ultimate/master/LICENSE | ||
[npm-url]: https://npmjs.org/package/node-red-contrib-knx-ultimate | ||
[npm-version-image]: https://img.shields.io/npm/v/node-red-contrib-knx-ultimate.svg | ||
[npm-downloads-month-image]: https://img.shields.io/npm/dm/node-red-contrib-knx-ultimate.svg | ||
[npm-downloads-total-image]: https://img.shields.io/npm/dt/node-red-contrib-knx-ultimate.svg | ||
[facebook-image]: https://img.shields.io/badge/Visit%20me-Facebook-blue | ||
[facebook-url]: https://www.facebook.com/supergiovaneDev | ||
[license-url]: https://github.com/Supergiovane/KNXUltimate/master/LICENSE | ||
[npm-url]: https://npmjs.org/package/KNXUltimate | ||
[npm-version-image]: https://img.shields.io/npm/v/KNXUltimate.svg | ||
[npm-downloads-month-image]: https://img.shields.io/npm/dm/KNXUltimate.svg | ||
[npm-downloads-total-image]: https://img.shields.io/npm/dt/KNXUltimate.svg | ||
[youtube-image]: https://img.shields.io/badge/Visit%20me-Youtube-red | ||
[youtube-url]: https://www.youtube.com/channel/UCA9RsLps1IthT7fDSeUbRZw/playlists |
@@ -111,9 +111,3 @@ | ||
"help": | ||
`// KNX-Ultimate set as UNIVERSAL NODE | ||
// Example of a function that sends a message to the KNX-Ultimate | ||
msg.destination = "0/0/1"; // Set the destination | ||
msg.payload = false; // issues a write or response (based on the options Output Type above) to the KNX bus | ||
msg.event = "GroupValue_Write"; // "GroupValue_Write" or "GroupValue_Response", overrides the option Output Type above. | ||
msg.dpt = "1.001"; // for example "1.001", overrides the Datapoint option. (Datapoints can be sent as 9 , "9" , "9.001" or "DPT9.001") | ||
return msg;`, "helplink": "https://github.com/Supergiovane/node-red-contrib-knx-ultimate/wiki" | ||
``, "helplink": "https://github.com/Supergiovane/node-red-contrib-knx-ultimate/wiki" | ||
}; | ||
@@ -120,0 +114,0 @@ res.json(jRet); |
95
1.06%438416
-0.15%8502
-0.07%220
-2.65%