jterrace / pyharmony

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

Brief Explanations Please #12

Open gregoliver opened 6 years ago

gregoliver commented 6 years ago

Hi,

I have scoured all of the various forks of this module, and all of them seem to talk about requiring authenticated tokens. In my experience with my Hub, I can send commands and get the config from it without doing anythign at all. Is this expected nowadays? I mean, it is quite slow which I assume is due to it not having a proper token, yet it still works.

Also, I am simply putting it in a for loop and using send_command to send digits to change the channel numerically without having to program 1000 favorites so each channel has it's own identifier. Is there a way to send a sting of commands @ once? I have yet to try it in python, just using the provided harmony built-ins ::

for i in 1 0 0 5 Enter ; do harmony --harmony_ip 192.168.100.191 send_command --device_id=54904916 --command=$i ; done

But this does not change the channel fast enough for my receiver, so it changes the channel 4x - obviously not what I need. I am not apython expert, but can probably find my way around if I need to write it in python to accomplish what I need.

Thanks!

-Greg