jterrace / pyharmony

Python library for connecting to and controlling the Logitech Harmony Link
BSD 3-Clause "New" or "Revised" License
129 stars 110 forks source link

Add function to send command to devices #4

Open Zananok opened 9 years ago

Zananok commented 9 years ago

I tried this: action_cmd.attrib['mime'] = ('vnd.logitech.harmony/vnd.logitech.harmony.engine?holdAction') cmd = 'type=IRCommand:deviceId=19594158:command=PowerToggle:status=press:timestamp=0'

but im not exactly sure how to separate the data

Got some info from here: https://github.com/jterrace/pyharmony/blob/master/PROTOCOL.md