node-red-contrib-tractive 0.1.0
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.
- package/LICENSE +21 -0
- package/README.md +38 -0
- package/index.js +1 -0
- package/package.json +21 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Edouard
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# node-red-contrib-tractive
|
|
2
|
+
|
|
3
|
+
A Node-RED palette for integrating [Tractive](https://tractive.com) GPS trackers into your flows.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
cd ~/.node-red
|
|
9
|
+
npm install node-red-contrib-tractive
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Or install directly from the Node-RED palette manager by searching for `node-red-contrib-tractive`.
|
|
13
|
+
|
|
14
|
+
## Nodes
|
|
15
|
+
|
|
16
|
+
| Node | Description |
|
|
17
|
+
|------|-------------|
|
|
18
|
+
| `tractive-config` | Shared credentials node — stores your Tractive email/password securely |
|
|
19
|
+
| `tractive-location` | Get the current GPS location of a tracker |
|
|
20
|
+
| `tractive-tracker` | Get tracker info or hardware status (battery level, signal) |
|
|
21
|
+
| `tractive-history` | Get location history for a tracker over a time window |
|
|
22
|
+
| `tractive-pets` | Get all pets or a specific pet on the account |
|
|
23
|
+
| `tractive-control` | Send commands to a tracker (live tracking on/off) |
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
1. Add a **tractive-config** node and enter your Tractive account credentials.
|
|
28
|
+
2. Connect any other Tractive node to the config node.
|
|
29
|
+
3. Pass a `trackerID` in `msg.payload` or configure it directly on the node.
|
|
30
|
+
4. Results are returned in `msg.payload`.
|
|
31
|
+
|
|
32
|
+
## Attribution
|
|
33
|
+
|
|
34
|
+
Built on [tractive](https://github.com/FAXES/tractive) by [FAXES](https://github.com/FAXES) — ISC licence.
|
|
35
|
+
|
|
36
|
+
## Licence
|
|
37
|
+
|
|
38
|
+
MIT
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Nodes registered here once built
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-red-contrib-tractive",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Node-RED palette for Tractive GPS tracker integration",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"node-red",
|
|
8
|
+
"tractive",
|
|
9
|
+
"GPS",
|
|
10
|
+
"tracker",
|
|
11
|
+
"pet"
|
|
12
|
+
],
|
|
13
|
+
"node-red": {
|
|
14
|
+
"nodes": {}
|
|
15
|
+
},
|
|
16
|
+
"author": "Edouard",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"tractive": "^1.2.1"
|
|
20
|
+
}
|
|
21
|
+
}
|