-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Thanks for the module it's excellent and it does what is says on the tin! It works fine on my desktop but fails to work in python3 environment on my home router (running asuswrt/mertinwrt) with entware. The module installs fine with easy-install but when trying to run the simple on/off switch operation it fails the mac discovery with the following errors:
Traceback (most recent call last):
File "/opt/bin/spoff", line 3, in <module>
displays = S20("192.168.1.89")
File "/opt/lib/python3.5/site-packages/orvibo-1.1.1-py3.5.egg/orvibo/s20.py", line 137, in __init__
File "/opt/lib/python3.5/site-packages/orvibo-1.1.1-py3.5.egg/orvibo/s20.py", line 187, in _discover_mac
orvibo.s20.S20Exception: Couldn't discover 192.168.1.89
The actual script I am running is trivial:
#!/opt/bin/python3 from orvibo.s20 import S20, discover displays = S20("192.168.1.89") if displays.on == False: print("Switching monitors extension on") displays.on = True else: print("Switching monitors studio extension off") displays.on = False
It probably has to do with the platform:
Kernel is 2.6.36.4 and is is running on arm-hf
Metadata
Metadata
Assignees
Labels
No labels