Skip to content

ncouro/pimatic-owfs

Repository files navigation

pimatic-owfs

pimatic plugin to interface with the 1-Wire File System (OWFS).

You will need to have installed OWFS. On a Raspberry Pi running the Raspbian distribution, OWFS can be installed using:

sudo apt-get install owfs ow-shell

You then need to start owserver, the OWFS server. The configuration of owserver depends on your 1-wire bus master device, check the documentation relevant to your device.

You can list the 1-wire devices detected on the bus by running owdir.

Supported values:

  • "sensorPath": OWFS path to the 1-wire sensor.
  • "name": sensor name.
  • "unit": measurement unit.

Example:

"plugins": [
  { 
    "plugin": "owfs"
  }
],
"devices": [
{
  "class": "OwfsSensor",
  "id": "my-onewire-sensor",
  "name": "One-wire sensors",
  "attributes": [
    {
      "name": "Temperature 1",
      "sensorPath": "/10.2F8B71020800/temperature",
      "unit": "°C"
    }
  ]
}

About

A Pimatic plugin to interface with the 1-Wire File System (OWFS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published