1-wire pimatic plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
device-config-schema.coffee
owjs-config-schema.coffee
owjs.coffee
package.json

README.md

pimatic-owjs-plugin

This plugin basic for Pimatic

Install

You install owserver

sudo apt-get install owserver ow-shell

Edit file /etc/owfs.conf and change lines

server: port = localhost:4304

to access only from localhost

server: port = 127.0.0.0:4304

or access from all addresses

server: port = 0.0.0.0:4304

Configuration

{ 
  "plugin": "owjs",
  "active": true,
  "host": "127.0.0.1",
  "port": 4304
}

OwjsSwitch Device

Tested with device DS2405,DS2406,DS2408

{
  "address": "12.54F81BE8E78D",      "pio": "A",
  "id": "onewire-switch",
  "name": "onewire switch",
  "class": "OwjsSwitch",
  "interval": 2500
}

OwjsSensor Device

Tested with device DS18B20

{
  "address": "28.54F81BE8E78D",
  "pio": "fasttemp",
  "attributeName": "temperature",
  "id": "owjs-one-sensor",
  "name": "onewire sensor",
  "class": "OwjsSensor"
}

OwjsPresenceSensor Device

Tested with device DS2405,DS2406,DS2408

{
  "address": "12.54F81BE8E78D",
  "pio": "B",
  "id": "onewire-presence",
  "name": "onewire presence",
  "class": "OwjsPresenceSensor"
}

For device configuration options see the device-config-schema file.