raspberry-outlet-sender

Simple helper libary which use wiring pi to send 433mhz signals to power outlets.

Usage no npm install needed!

<script type="module">
  import raspberryOutletSender from 'https://cdn.skypack.dev/raspberry-outlet-sender';
</script>

README

To use my code you will need a 433mhz modul for the raspberry pi and wiring pi for node js

var ros = require('raspberry-outlet-sende');

ros.sendCode("1111101000", true);

(send power on with a dip of 11111 to the outlet 01000 On the remote could this be the outlet 'b' or '2')