https://github.com/pimatic/pimatic-ds18b20
ds18b20 temperature support
https://github.com/pimatic/pimatic-ds18b20
1-wire 1wire ds18b20 pimatic pimatic-plugin
Last synced: 9 days ago
JSON representation
ds18b20 temperature support
- Host: GitHub
- URL: https://github.com/pimatic/pimatic-ds18b20
- Owner: pimatic
- License: gpl-2.0
- Created: 2014-10-17T10:18:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-08-26T10:37:46.000Z (over 5 years ago)
- Last Synced: 2024-11-01T09:13:00.339Z (7 months ago)
- Topics: 1-wire, 1wire, ds18b20, pimatic, pimatic-plugin
- Language: CoffeeScript
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pimatic-ds18b20
================Support for the ds18b20 temperature sensor.
### Drivers
1-Wire drivers need to be loaded in order to create the connection between the physical sensor and the rPI.
You can load them from the terminal (or from the bin/modules.sh script).sudo modprobe wire
sudo modprobe w1-gpio
sudo modprobe w1-therm### Example config
Add the plugin to the plugin section:
```json
{
"plugin": "ds18b20"
}
```Then add a sensor for your device to the devices section:
```json
{
"id": "my-sensor",
"name": "ds18b20 example",
"class": "DS18B20Sensor",
"hardwareId": "10-00080283a977",
"interval": 10000
}
```