Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - Unable to get Characteristic in Mac OS environment #6

Open
akrtek opened this issue Dec 18, 2021 · 2 comments
Open

Error - Unable to get Characteristic in Mac OS environment #6

akrtek opened this issue Dec 18, 2021 · 2 comments

Comments

@akrtek
Copy link

akrtek commented Dec 18, 2021

I am unable to get the app working successfully. Running homebridge on an M1 Mac Mini. I have gone into terminal and installed python-kasa library and confirmed that it is running in terminal, but I am still getting three errors for error getting characteristic 'xxx' where xxx is brightness, hue/saturation, and on.

Do I need to tell the homebrige ui to look for Python-kasa somehow? Appreciate any help

@steveredden
Copy link
Owner

This plugin just needs to be able to execute commands from the python-Kasa library. I’d start with confirming you can control your device using the commands from that library.

https://github.com/python-kasa/python-kasa

@akrtek
Copy link
Author

akrtek commented Feb 16, 2022

Hello and sorry for the delay. Life became quite busy and I didn’t have time to attempt making this work until recently.

I appreciate the reply before but perhaps I am confused about the process to get it working so let me explain more.

I am running this from my M1 Mac mini. I have installed the Kasa python library using the Mac’s terminal and can run commands there.

What I don’t understand is should I be installing python as a plug-in for homebridge? With running it from the max it seems like python will only run in that specific terminal window.

So to make things easier, I went out and got a raspberry pi instead. I am running the latest version of pi os and setup homebridge as a service. I have installed the Kasa strip plugin through the homebridge gui. I went into terminal and ran pip3 install Kasa-python and it installs the library. So far so good. I then type Kasa into the terminal and it tells me command not recognized 🤦

Please forgive me as the workings of python are still new to which might explain why I had issues on both devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants