kairoaraujo / kodak-smart-home

Kodak Smart Home integration for Home Assistant
Apache License 2.0
7 stars 3 forks source link

Error installing integration #13

Open sambarlick opened 2 years ago

sambarlick commented 2 years ago

Hi,

HA gives me the error Integration error: kodak_smart_home - Requirements for kodak_smart_home not found: ['python-kodaksmarthome==0.1.4b0']. Platform error camera.kodak_smart_home - Requirements for kodak_smart_home not found: ['python-kodaksmarthome==0.1.4b0'].

The integration used to work with no issues now I get this error.

Sam

bondiblueos9 commented 2 years ago

I also get this error when checking the configuration:

Integration error: kodak_smart_home - Requirements for kodak_smart_home not found: ['python-kodaksmarthome==0.1.4b0']. Platform error camera.kodak_smart_home - Requirements for kodak_smart_home not found: ['python-kodaksmarthome==0.1.4b0'].

Same error as above.

2600box commented 2 years ago

Did you ever figure this out?

sambarlick commented 2 years ago

No, still get the same error.

2600box commented 2 years ago

Frustrating. There must be a way to manually install a python module, right? v0.1.4b0 is a release on github.

Is there a HACS repository somewhere that needs to be updated? Or is it supposed to pull directly from github?

mattclar commented 2 years ago

did you guys have any luck with this? Im running into this issue too

sambarlick commented 2 years ago

Nope never been fixed. The integration is now unable for me.

mattclar commented 2 years ago

ii see that @2600box has a forked repo that seems to address some issues, just cant get it working properly for me yet

mattclar commented 2 years ago

and has put in a pull request to the pyton module https://github.com/kairoaraujo/python-kodaksmarthome/pull/23

kairoaraujo commented 2 years ago

I bumped all versions in the python-kodaksmarthome and released the new version of kodak-smart-home. I am not sure if it will solve the problems, but I still need some contributions and help.

sambarlick commented 2 years ago

I bumped all versions in the python-kodaksmarthome and released the new version of kodak-smart-home. I am not sure if it will solve the problems, but I still need some contributions and help.

Hi,

Thanks for updating. I installed the update but still no luck. I now get... Integration error: kodak_smart_home - Requirements for kodak_smart_home not found: ['python-kodaksmarthome==0.1.5b1']. Platform error camera.kodak_smart_home - Requirements for kodak_smart_home not found: ['python-kodaksmarthome==0.1.5b1'].

It seems the python version updated, but still causing the same error.

Unfortunately, I don't know anything about coding these integrations but I'm happy to be a tester.

drahdiwaberl commented 1 year ago

just installed freshly on a yellow and am getting the same when doing the config-check in developer tools.

not sure (yet) if it should be possible at all to install things like that on this box, but would assume so.

drahdiwaberl commented 1 year ago

tinkered a bit with the python-lib this is based on - seems Kodak changed the way it authenticates clients.

so this can't work anymore.

mpsamuels commented 1 year ago

I managed to get this working by adding the "Custom deps deployment" add-on to my HA install via the add-on store - It's under the "Home Assistant Developer Add-ons" heading.

Once installed, in the "Custom deps deployment" add-on's configuration page edit the YAML to look like:

pypi:
 - python-kodaksmarthome==0.1.5b1
apk: []

and restart HA. The Kodak add-on will then start as expected.

drahdiwaberl commented 1 year ago

then i might have mis-tinkered on the commandline.. 8)

fwiw here's the Developer Add-ons repo for those missing that: https://github.com/home-assistant/addons-development

unfortunately i'm getting 's6-overlay-suexec: fatal: can only run as pid 1' in it's log when trying to start the custom deps add-on.. maybe a limitation of what is installed on the yellow.