-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[orbitbhyve] Initial contribution #10426
Conversation
0d212af
to
049e457
Compare
hey @octa22 do you happen to have a JAR for this binding for latest milestone build? |
049e457
to
b53d731
Compare
Hi, here is the latest 3.2.0 SNAPSHOT. I'd be happy if you can test it. |
b53d731
to
4965a5b
Compare
Hi @octa22! I've placed the JAR in my addons folder and added a Bridge manually. After adding a Bridge and immediately after a Sprinkler, I realized that I had a typo in the password field.
Then every 30 seconds it returns 400 HTTP status:
What I did after that was I completely removed all the created things and started over - this time making sure that my password was correct before I hit Save in the UI during Bridge thing creation. After I waited for the bridge to become Online, I navigated to Inbox and then saw that discovery indeed works:
Controlling Smart Watering seem to work:
I couldn't find a way to trigger manual watering yet. Thank you Ondrej for your great work! 🎉 |
Hi,
the binding should automatically detect all programs and zones you have (as
switches where the ON command enables the watering or the program)
This is the way how to enable manual watering.
Apparently the is some error during the communication with the B-Hybe cloud.
It is working fine for the 8-zones Orbit sprinkler that I have.
Please can you enable the trace log and provide it here?
Thanks.
Ondrej
út 29. 6. 2021 v 18:56 odesílatel Kuba Wolanin ***@***.***>
napsal:
… I've added Equipment to Model with the UI but noticed that it doesn't
update Items state:
[image: image]
<https://user-images.githubusercontent.com/2270505/123837937-b1747880-d90b-11eb-9d21-12a9873d9e2a.png>
And unfortunately none of the switches seem to work :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10426 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE7QO52K2NTLZOEH76GWH7TTVH3NRANCNFSM42HW5YQQ>
.
|
0b0bc24
to
e3d3fd1
Compare
Hello @kubawolanin, |
Hi @octa22 Re-added the things after installing the latest binding and it immediately found all my zones! Manual watering works perfectly - here's a proof ;-) Unfortunately I forgot to switch to TRACE when adding things but will test the binding for a few days. Thank you for the great work! |
f03fd38
to
905bec4
Compare
Hi @kubawolanin, thanks again for the testing. Very glad it works! May I ask what device are you using? I am finishing the documentation and I would like to include a list of tested devices so far. |
5023afe
to
69399ef
Compare
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
69399ef
to
a853bf8
Compare
It's B-Hyve Smart Indoor Timer @octa22 |
Thanks. The same as mine. I guess the binding is ready for a review. @kubawolanin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I reviewed your code and here is my feedback.
You need to add your binding to bom\openhab-addons\pom.xml
.
Your binding doesn't build as it contains checkstyle errors. You could take a look at target/code-analysis/report.html
after building it with mvn clean install
.
There is also one compiler warning about a null value left.
...bitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/openhab/binding/orbitbhyve/internal/handler/OrbitBhyveBridgeHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.orbitbhyve/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.orbitbhyve/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.orbitbhyve/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.orbitbhyve/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.orbitbhyve/src/main/resources/OH-INF/thing/sprinkler.xml
Outdated
Show resolved
Hide resolved
31b2dc1
to
fa564bd
Compare
Hi @fwolter, |
aac2ed9
to
a5a6921
Compare
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
a5a6921
to
a6ec3c9
Compare
...bitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java
Outdated
Show resolved
Hide resolved
...bitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/openhab/binding/orbitbhyve/internal/handler/OrbitBhyveBridgeHandler.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/openhab/binding/orbitbhyve/internal/handler/OrbitBhyveSprinklerHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
74993c3
to
b080c71
Compare
...bitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/openhab/binding/orbitbhyve/internal/handler/OrbitBhyveBridgeHandler.java
Outdated
Show resolved
Hide resolved
…ab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Congratulation! Now, you could add your binding's logo to the openHAB website. See https://next.openhab.org/docs/developer/bindings/#add-your-binding-s-logo-to-the-openhab-website |
* [orbitbhyve] initial contribution Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] improvements based on code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] next bunch of fixes related to code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * Update bundles/org.openhab.binding.orbitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java Signed-off-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [orbitbhyve] initial contribution Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] improvements based on code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] next bunch of fixes related to code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * Update bundles/org.openhab.binding.orbitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java Signed-off-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
* [orbitbhyve] initial contribution Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] improvements based on code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] next bunch of fixes related to code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * Update bundles/org.openhab.binding.orbitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java Signed-off-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Fabian Wolter <github@fabian-wolter.de> Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
* [orbitbhyve] initial contribution Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] improvements based on code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * [orbitbhyve] next bunch of fixes related to code review Signed-off-by: Ondrej Pecta <opecta@gmail.com> * Update bundles/org.openhab.binding.orbitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java Signed-off-by: Fabian Wolter <github@fabian-wolter.de> Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
This is the binding for Orbit Bhyve irrrigation systems.
Signed-off-by: Ondrej Pecta opecta@gmail.com