#!/bin/bash # # When solidoodle is unplugged, this turns off the power. # curl 'http://newvera.my.lan:3480/data_request?id=action&output_format=xml&DeviceNum=5&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0'