Closed bezibaerchen closed 1 year ago
Workaround still working though, just confirmed here
Workaround still working though, just confirmed here
I thought that was a bit complicated.. and wasn't sure it would work for me.. This afternoon I just sat down... and miraculously, it works! Thanks!
Workaround with 2022.8.1 still working
5. apk add libsodium
Could you please help with the error I get after fully following your guide? `Logger: homeassistant.components.shell_command Source: /usr/src/homeassistant/homeassistant/components/shell_command/init.py:115 Integration: Shell Command (documentation, issues) First occurred: 18:49:42 (1 occurrences) Last logged: 18:49:42
Error running command: /usr/share/hassio/homeassistant/custom_components/freeathome/scripts/fah_requirements.sh
, return code: 127
NoneType: None`
My full path is mentioned above, though I tried only pointing to config
path. No matter what it doesn't run within HA startup. Tired of installing libsodium
manually via docker everytime after updates.
All, I've look at the two options: https://github.com/jheling/freeathome/issues/130#issuecomment-1197912093
Option 2 is very complex and not sustainable as it requires - next to time to develop and test - significant future maintenance. Option 1 should be considered to make this integration future proof.
I've made a first try, but this is not working yet. It cannot do a successful key exchange, perhaps because pynacl lacks an important libsodium function crypto_onetimeauth. If anybody has time to investigate and would like to contribute: https://github.com/jeroen84/freeathome/tree/move-pynacl
A third option we could consider is moving to the REST API. I notice that this option was considered ~2 years ago in https://github.com/jheling/freeathome/issues/80
There were limitations of the API back then. Perhaps there are developments in due course that makes this option feasible?
I have just pushed a PR for replacing libnacl with pynacl. This should fix the issue structurally. Please test on your setup: https://github.com/jheling/freeathome/pull/134
I have just pushed a PR for replacing libnacl with pynacl. This should fix the issue structurally. Please test on your setup: #134
It works fine here! Well done! I'm running HA on intel nuc
Super that it is fixed, when can we expect a new release? Just ask; no pressure :)
Real nice guys! this works like a charm! Update HA 2022.8.2 -> 2022.8.5
Super that it is fixed, when can we expect a new release? Just ask; no pressure :)
We do not currently use GitHub releases for this custom component.
Do you use HACS? I'm not an HACS user myself, but you should be able to update the component there somewhere.
Thx, I will try that. I am very new to HomeAssistant and HACS. I don't know anything about the internal release process. I will give it a try in the evening.
I updated using HACS just fine. It updates to the latest commit.
I have just pushed a PR for replacing libnacl with pynacl. This should fix the issue structurally. Please test on your setup: https://github.com/jheling/freeathome/pull/134
Works for me too! Good job and thanks to all contributors!
I read about changes in Python.
Status as of now: "Failed to set up: Import error