https://github.com/crusaider/node-red-contrib-leakbot
A set of nodes allowing communication with the Leakbot API
https://github.com/crusaider/node-red-contrib-leakbot
Last synced: 3 months ago
JSON representation
A set of nodes allowing communication with the Leakbot API
- Host: GitHub
- URL: https://github.com/crusaider/node-red-contrib-leakbot
- Owner: crusaider
- License: mit
- Created: 2024-07-02T18:04:22.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-07-04T19:22:24.000Z (12 months ago)
- Last Synced: 2025-02-28T11:17:36.438Z (4 months ago)
- Language: HTML
- Size: 229 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-leakbot
## Leakbot Node Red Nodes

## Description
A set of nodes allowing communication with the [Leakbot](https://leakbot.io) API.
## Nodes
### List Leakbot Devices
Get the devices avialble to the user.
#### Inputs
The node disrespects any input. It will only serve as a trigger to get the status of the device.
#### Outputs
The node will output a array of objects containing information of the avilable devices.
### Leakbot Device Status
Get the status of a Leakbot device. Note that the device reports it's status to the cloud about once every 24 hours.
#### Inputs
The node disrespects any input. It will only serve as a trigger to get the status of the device.
#### Outputs
The node will output the status of the device of witch the id have been specified in the settings as a object.
#### Details
The id of the device needs to be provided. This can be found by using the List Leakbot Devices node. In the output of that node there will be a array of objects containing the devices. Each object will have a id property. This id should be used in the Device ID field of this node.
### Leakbot Water Usage
Get the water usage data of a Leakbot device.
#### Inputs
The node disrespects any input. It will only serve as a trigger to get the status of the device.
#### Outputs
The node will output the water usage stats of the device of witch the id have been specified in the settings as a object.
#### Details
The id of the device needs to be provided. This can be found by using the List Leakbot Devices node. In the output of that node there will be a array of objects containing the devices. Each object will have a id property. This id should be used in the Device ID field of this node.
### Leakbot Credentials
Stores the credentials for the Leakbot API.
#### Note
Leakbot Only Allows One Login: If you use theese nodes the token your mobile app is connected to becomes invalid and you get logged out. This happens also if you re-log back into the app it invalidates the token for the nodes, however the nodes should automatically re-authenticate.
## Disclaimer
This is not an official Leakbot product. This is a community project and is not affiliated with Leakbot. Use at your own risk.