Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including pimatic-owjs with all npm packages installed. Try it out:

require("pimatic/package.json"); // pimatic is a peer dependency. var pimaticOwjs = require("pimatic-owjs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pimatic-owjs v0.1.7

OWFS plugin for pimatic


This plugin basic for Pimatic


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 =

or access from all addresses

server: port =


  "plugin": "owjs",
  "active": true,
  "host": "",
  "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.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free