-
Notifications
You must be signed in to change notification settings - Fork 2
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
Not able to find versions of files #9
Comments
Try to update dev by hand. PR will be welcome for next if you succeed 😉 |
Thanks @tikismoke I have read you dismissed it already (you did right ;-)) |
Pip install upgrade pyudev and pyserial, look version and update manifest/dependency. |
Thanks, I assumed that, just cant run PIP (or any python command) on the Home Assistant OS (running as an image on VirtualBox linux VM) |
@tikismoke I am happy to say that you made me challenge myself :-) and get it working!! Thank you I had to do few things like (for the sake of others) I am left with 2 open issues, hoping to resolve / help () How to poll the status of the device? when someone switched the physical light button it goes out of sync (in HomeSeer there was a "poll" function that took care of the sync) (*)BTW - even though I put just 4 units [A1, A2, A3, A4] for some reason all my units were found, is that ok? |
Found the answers Thanks @tikismoke for amazing work! |
Could you make a PullRequest on GitHub to solve dependency issue? |
Keep opens since it need to be done in code |
OK @tikismoke I need to do this (never tried before) |
@ofirda indeed. I had to have only 5/6 device and my adapter was hide under the stairs near my Dell server so never eat it more thant that but I can understand it's annoying in call environment. |
It does look like you did that in code, but I think I am missing something, you are using a parameter called housecode, which isn't defined in configuraiton.yaml (I only have user_code as "FF" in my case, my house code BTW is "A") The PLCBUS interface https://en.wikipedia.org/wiki/PLCBUS does mention that its needed for the address, do you think it should it be defined in the config as well? the code is -
and then `def get_all_on_id(self, housecode, usercode):
` |
First - thank you for the development @tikismoke , I am left over with over 20 devices running on PLC and this is one of the last few items left on my HA list :)
I had an issue with the manifest file, it missed the version, so I added it, but now I have the issue of unmatched versions of pyserial and pyudev
{ "domain": "plcbus", "name": "Plcbus integration", "version": "0.0.2", "documentation": "https://github.com/tikismoke/home-assistant-plcbus", "dependencies": [], "codeowners": ["@Tikismoke"], "requirements": [ "pyserial==3.4", "pyudev==0.22.0" ] }
Unable to install package pyserial==3.4: ERROR: Cannot install pyserial==3.4 because these package versions have conflicting dependencies.
Unable to install package pyudev==0.22.0: ERROR: Cannot install pyudev==0.22.0 because these package versions have conflicting dependencies.
Any idea how I get these versions into my HA setup?
I am running HAOS on windows, using VirtualBox, I can access the HA CLI, I am not sure how to install these python files to start my PLC USB device and therefore the rest of the PLC clients.
The text was updated successfully, but these errors were encountered: