Newton's Preposterous Miscalculation
Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

pimatic-piblaster

0.9.0 • Public • Published

pimatic-piblaster

Support for the pi-blaster daemon.

Install the pi-blaster daemon (instructions).

Usable pins:

  GPIO number   Pin in P1 header
      4              P1-7
      17             P1-11
      18             P1-12
      21             P1-13 (only for model A/B)
      27             P1-13 (only for model B+)
      22             P1-15
      23             P1-16
      24             P1-18
      25             P1-22

Example config

Add the plugin to the plugin section:

{ 
  "plugin": "piblaster"
}

Then add a device to the devices section:

{
  "id": "led-sw-pwm",
  "name": "LED SW PWM",
  "class": "PiblasterDimmer",
  "gpio": 18,
  "dimlevel": 0
}

Thank you sarfata for pi-blaster.js and sweet pi for inspiration and his work on best automatization software Pimatic.

install

npm i pimatic-piblaster

Downloadsweekly downloads

17

version

0.9.0

license

AGPL-3.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability