Initial commit: Node.js Example Pack for Attune

Includes:
- 3 Node.js actions (hello, http_example, read_counter)
- 1 counter trigger type
- 1 counter sensor (Node.js, keystore-backed, per-rule state)
- 1 example rule (count_and_log)
- package.json with node-fetch and amqplib
- README with full usage documentation
This commit is contained in:
2026-02-11 17:36:38 -06:00
commit 9072c93fe4
15 changed files with 1442 additions and 0 deletions

10
package.json Normal file
View File

@@ -0,0 +1,10 @@
{
"name": "attune-pack-nodejs-example",
"version": "1.0.0",
"description": "Example Attune pack demonstrating Node.js actions, a counter sensor with keystore integration, and HTTP requests",
"private": true,
"dependencies": {
"node-fetch": "^2.7.0",
"amqplib": "^0.10.4"
}
}