trainman419 / python-cec

Other
171 stars 42 forks source link

cec.set_physical_addr(addr) #29

Closed scordinskyc closed 6 years ago

scordinskyc commented 6 years ago

Hello,

I'm trying to work with my CEC adapter which constantly loses its physical address and causes the rest of my system to spas out. I need to set its address as 4.4.0.0, as it's connected to the 4th input of my AVR which is connected to the 4th input of the TV. I pass this in to this function and I get a variable type error, where the function is expecting a string. How are we supposed to format the address to pass into this function? (I've tried having it as 4.4.0.0, 4400, 0x4400)

Thanks!

scordinskyc commented 6 years ago

Nevermind. Stupidly forgot quotes. So it's "X.X.X.X".