ILP Enabled TP-Link HS110 Smart Plug
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

ILP based power switch for TP-Link Smart Plugs

Allows you to switch a tp-link HS-110 Smart Plug based on incoming streaming ILP payments (The HS-100 doesn't offer Power Monitoring, so if one day someone (or I) updates the code to adjust the payments to the actual power use, you'll need the HS-110!)



Make sure you have a local moneyd instance configured (XRP at livenet) running on your local computer.

  1. Connect and configure your tp-link Smart Plug with your smartphone (using the "Kasa" app). Make sure your plug connects to the same WiFi network as your computer.
  2. Make sure you have node installed.
  3. Clone this repo on your computer.
  4. Discover the device on your network. Run: npm run discover
  5. Run the ILP-PowerSwitch 'bridge' with: npm run go AA:BB:CC:DD... (use the HWADDR found in step 4).
  6. Make sure ILP payments come in at the Payment Pointer displayed by this tool when started (step 5). If you have an active Coil account, you can use (fork) this piece of code.


If you want to specify your own subdomain (, enter your subdomain after your HWADDR when starting (step 5):

npm run go AA:BB:CC:DD... pepperparrot

If your subdomain is available, your Payment Pointer will be: $