Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wutu/pimatic-ultrasonic
Support for the HC-SR04 ultrasonic sensor.
https://github.com/wutu/pimatic-ultrasonic
Last synced: about 2 months ago
JSON representation
Support for the HC-SR04 ultrasonic sensor.
- Host: GitHub
- URL: https://github.com/wutu/pimatic-ultrasonic
- Owner: wutu
- License: agpl-3.0
- Created: 2014-10-26T16:24:00.000Z (about 10 years ago)
- Default Branch: development
- Last Pushed: 2019-01-31T21:11:25.000Z (almost 6 years ago)
- Last Synced: 2024-09-22T14:38:02.566Z (3 months ago)
- Language: CoffeeScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pimatic-ultrasonic
================Pimatic support for the HC-SR04 ultrasonic sensor.
### Example config
Add the plugin to the plugin section:
```json
{
"plugin": "ultrasonic"
}
```Then add a sensor for your device to the devices section:
```json
{
"id": "ultrasonic",
"name": "Ultrasonic HC-SR04",
"class": "Ultrasonic",
"echo": 22,
"trigger": 18,
"timeout": 750,
"interval": 60000
}
```
You can also select the unit:example: "displayUnit": "cm"
### Credits
Luke for mmm-usonic
### License