-
Notifications
You must be signed in to change notification settings - Fork 0
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
Openhab 4.0.0 #8
Comments
I've compile my own version for OH4 for now and it seems to work. |
Installation looks fine, but i didn't find any "sonoff" category under installed bindings. Also when i want to add new thing, then i don't have "sonoff" binding offered as in previous version. |
No sorry. I've had the binding setup before and with replacing the jar, it started working again. Haven't tried creating a new thing yet. I don't have the necessary knowledge or time to debug this issue. |
So when i copied part of jsondb definition for thing, then i can list it in Things list. But it shows that it cannot connect to cloud, but only local, but then i am not able to contorl device via local LAN and still showw as offline in local mode. Do you use Cloud or local connection to your devices? |
I just use local connections |
i installed the binding and get HANDLER_INITIALIZING_ERROR 2023-04-16 12:22:29.980 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'sonoff:account:b0f2e86997': Index 2 out of bounds for length 2 |
can you help me with the compilation steps, i got 1/ git clones openhab-addons C:\Users\J\Documents\OPENHAB\openhab-addons>C:\Users\J\Downloads\apache-maven-3.9.2\bin\mvn clean install -pl :org.openhab.binding.sonoff |
I am having the same problem. I can't see anything in the inbox or when trying to manually add things. I do see a message in the logs "Sonoff Access Mode set to: local" but that is all |
Cloud keys need to be updated: AlexxIT/SonoffLAN@4ae7ee2 @blockbasti could you recompile it with the new keys for OpenHAB 4? |
I just tried the new release https://github.com/jgesser/openhab-3.x-sonoff/releases/tag/v4.4.0-SNAPSHOT on OH4 but I get this error: |
@FrancescoTalotta it is not for openhab 4.0 |
@FrancescoTalotta , that release was compiled for OH 3.4.0. I am still running 3.4. But I will upgrade my environment to OH4 next week and then compile and test this addon. I hope no major change will be required and be able to release a 4.0 compatible binary. |
btw may i ask somebody to check my error with 4.0 binary https://github.com/delid4ve/openhab-sonoff-compiled/files/11006939/org.openhab.binding.sonoff-4.0.0-SNAPSHOT.zip `i installed the binding and get HANDLER_INITIALIZING_ERROR 2023-04-16 12:22:29.980 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'sonoff:account:b0f2e86997': Index 2 out of bounds for length 2 |
@FrancescoTalotta, I just released a binary for OH4 in my fork, please test and let me know if it is working as expected: |
@jgesser working well on Version: 4.0.0 (Build) |
It works fine! Thank you very much!! |
Yes, it's working fine, thank you for the great update! |
hi, there is a problem when trying to add new device. the bridge is missing from things. |
Hello. This morning again I get this error |
Same issue here |
appId and appSecret are externalized as configurations on the Thing in my fork. We only need to find a new pair that is working. |
This one seems to be working: appId="4s1FXKC9FaGfoqXhmXSJneb3qcm1gOak", appSecret="oKvCM06gvwkRbfetd6qWRrbC3rFrbIpV" |
@jgesser Thank you very much, it works now :) |
Hello,
can you please recompile your package for Openhab version 4.0.0. It should be similar as 3.4.0, but in Thing bridge configuration i have next error
HANDLER_INITIALIZING_ERROR
'void org.openhab.core.library.types.DecimalType.(long)'
Thanks in advance
The text was updated successfully, but these errors were encountered: