Jump to content

A quick script to reboot your ISY994i remotely


f1d094

Recommended Posts

I wanted to be able to reboot my ISY programmatically from my Home Assistant if needed and found it wasn't immediately obvious how to do this, so I took a minute and parsed out the commands into a simple script. Modify accordingly if you need ssl, etc.

Note: This has only been tested on 4.9.0.

YMMV. IANAL. XYZPDQ. WTFBBQ.

#!/bin/bash
HOST="192.168.1.2"
USER="admin"
PASS="admin"
/usr/bin/curl -v -u "$USER:$PASS" -H 'Content-Type: text/xml; charset="utf-8"' -H 'SOAPACTION:"urn:udi-com:service:X_Insteon_Lighting_Service:1#Reboot"' --data '<s:Envelope><s:Body><u:Reboot xmlns:u="urn:udi-com:service:X_Insteon_Lighting_Service:1"></u:Reboot></s:Body></s:Envelope>' http://$HOST/services

 

Edited by f1d094
Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...