Comments on: Remotely control your HS100 timer (API) http://itnerd.space/2017/06/05/remotely-control-your-hs100-timer-api/ Blog about Cloud, Automation, Android, Smart things... Thu, 27 Jul 2017 22:01:00 +0000 hourly 1 https://wordpress.org/?v=4.7.5 By: Mark http://itnerd.space/2017/06/05/remotely-control-your-hs100-timer-api/#comment-185 Thu, 13 Jul 2017 04:32:00 +0000 http://itnerd.space/?p=334#comment-185 It gives me Bad JSON Formatting with the first request (even with hurl.it). This is the manual script request
curl -XPOST -H “Content-type: application/json” -d ‘{"method":"passthrough", "params": {"deviceId": "YOUR_DEVICE_ID_HERE", "requestData": "{"count_down":{"get_rules":null}}" }}’ ‘https://eu-wap.tplinkcloud.com/?token=YOUR_TOKEN_HERE’

]]>