curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: Outdoor Remote Socket 16 amp

From: Hans Henrik Bergan via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 16 Jan 2025 17:11:00 +0100

idk about one that can be controlled from curl directly,
but i know one that can be controlled from a terminal: TP-Link HS110
can be controlled from the terminal via
https://github.com/divinity76/hs110-api-php
for example to turn off:
php tpcli.php 192.168.1.99 off
to turn on:
php tpcli.php 192.168.1.99 on
to get current power draw:
php tpcli.php 192.168.1.99 realtime
to see daily power draw for the last month:
php tpcli.php 192.168.1.99 month

unfortunately it uses a custom obfuscated binary protocol,
incompatible with curl.

disclaimer: I made that repo.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-01-16