pimatic-piblaster

Support for the pi-blaster daemon

Usage no npm install needed!

<script type="module">
  import pimaticPiblaster from 'https://cdn.skypack.dev/pimatic-piblaster';
</script>

README

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.