executing the script but failing on import... (first line)
from pyicloud import PyiCloudService
[ProgrammableSwitch1] Script Error /volume1/homebridge/ [ 1, 0 ] Error: ImportError: cannot import name 'PyiCloudService' from 'pyicloud' (unknown location)
[1] script with import executes as root, with no errors
[2] allowed permissions on script file being executed
[3] successfully ran python -m pip install pyicloud as root (e.g. and script imports)
and successfully ran python -m pip install pyicloud -- as homebridge user (assuming that might be needed)
-- but didn't work, getting this error
what's the best approach to importing, can that work or how should this work?
Note: one can still manually use a browser, log into iCloud and then issue Find My phone without completing 2FA, this is so you can find your phone without having your phone. This still works from the web page, so something about the client request is not optimized (any more?)
executing the script but failing on import... (first line)
from pyicloud import PyiCloudService
[ProgrammableSwitch1] Script Error /volume1/homebridge/ [ 1, 0 ] Error: ImportError: cannot import name 'PyiCloudService' from 'pyicloud' (unknown location)
[1] script with import executes as root, with no errors
[2] allowed permissions on script file being executed
[3] successfully ran python -m pip install pyicloud as root (e.g. and script imports)
and successfully ran python -m pip install pyicloud -- as homebridge user (assuming that might be needed)
-- but didn't work, getting this error
what's the best approach to importing, can that work or how should this work?
Note: one can still manually use a browser, log into iCloud and then issue Find My phone without completing 2FA, this is so you can find your phone without having your phone. This still works from the web page, so something about the client request is not optimized (any more?)