Israr / msnswitch

Python utility to control MSNSwitch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python utility to control MSN-Switch

Usage

python msn_sw.py --outlet <outlet>  --state <control>
python msn_sw.py status

Where control has following values

Value numeric meaning
on 1 Turn ON
off 0 Turn OFF
toggle 2 Toggle
power_cycle 3 Power Cycle (off and then on)

Outlet can be 1 or 2 (representing outlet 1 or outlet 2) , 3 means both, 0 means UIS)

About

Python utility to control MSNSwitch


Languages

Language:Python 100.0%