node-red-contrib-lgtv-notify 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,76 @@
1
+ [
2
+ {
3
+ "id": "lgtv-example-flow",
4
+ "type": "tab",
5
+ "label": "LG TV Notify Example",
6
+ "disabled": false,
7
+ "info": "Basic example showing how to send toast notifications to an LG webOS TV."
8
+ },
9
+ {
10
+ "id": "lgtv-inject-node",
11
+ "type": "inject",
12
+ "z": "lgtv-example-flow",
13
+ "name": "Send Notification",
14
+ "props": [
15
+ {
16
+ "p": "payload"
17
+ }
18
+ ],
19
+ "repeat": "",
20
+ "crontab": "",
21
+ "once": false,
22
+ "onceDelay": 0.1,
23
+ "topic": "",
24
+ "payload": "Hello from Node-RED!",
25
+ "payloadType": "str",
26
+ "x": 160,
27
+ "y": 100,
28
+ "wires": [
29
+ [
30
+ "lgtv-notify-node"
31
+ ]
32
+ ]
33
+ },
34
+ {
35
+ "id": "lgtv-notify-node",
36
+ "type": "lgtv-notify",
37
+ "z": "lgtv-example-flow",
38
+ "name": "LG TV",
39
+ "tv": "",
40
+ "message": "",
41
+ "x": 370,
42
+ "y": 100,
43
+ "wires": [
44
+ [
45
+ "lgtv-debug-node"
46
+ ]
47
+ ]
48
+ },
49
+ {
50
+ "id": "lgtv-debug-node",
51
+ "type": "debug",
52
+ "z": "lgtv-example-flow",
53
+ "name": "Response",
54
+ "active": true,
55
+ "tosidebar": true,
56
+ "console": false,
57
+ "tostatus": false,
58
+ "complete": "true",
59
+ "targetType": "full",
60
+ "statusVal": "",
61
+ "statusType": "auto",
62
+ "x": 540,
63
+ "y": 100,
64
+ "wires": []
65
+ },
66
+ {
67
+ "id": "lgtv-comment-node",
68
+ "type": "comment",
69
+ "z": "lgtv-example-flow",
70
+ "name": "Instructions",
71
+ "info": "1. Double-click the 'LG TV' node\n2. Add a new TV configuration with your TV's IP address\n3. Deploy the flow\n4. Accept the pairing prompt on your TV\n5. Click the inject button to send a notification",
72
+ "x": 130,
73
+ "y": 40,
74
+ "wires": []
75
+ }
76
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-lgtv-notify",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Send toast notifications to LG webOS TVs from Node-RED. Works with webOS 10+ (2025 TVs).",
5
5
  "keywords": [
6
6
  "node-red",
@@ -24,6 +24,7 @@
24
24
  },
25
25
  "homepage": "https://github.com/Ricardo-Miguel-Caldeira/node-red-contrib-lgtv-notify#readme",
26
26
  "node-red": {
27
+ "version": ">=2.0.0",
27
28
  "nodes": {
28
29
  "lgtv-notify": "nodes/lgtv-notify.js"
29
30
  }