Balboa Binding

Nice one. Don’t think I could of been any help if it didn’t :slight_smile:

Has anyone made any fancy OH3 UIs for their spas?

1 Like

Not UIs, but rules!

  1. heat the Spa up, if needed
  2. turn the Spa down at night
  3. use PV logic (e.g. if there’s plenty of yield: "over"heat the Spa for later use, use it as “storage” so to speak)

So I don’t have an UI, I just want to use “Alexa turn on the Spa” or have it change to low range at night, …

1 Like

You sir are a bloody legend!!! It’s working flawlessly for me!!!

Happy i could help. :slight_smile:

I updated to openHAB 3.2.0.M3 and all is working well :slight_smile:

1 Like

Hi Guys,

I was trying to get this binding to work with my OH3.1 before and didn’t have any luck. Tried this today again with 3.2 binding but for some reason I can’t get this installed. What I’m doing is downloading the file and placing it in my addons folder, changing permissions on the .jar file and restarting OH service. Same process that I was doing with my other addons in the past but this binding is not visible in my OH3 install. I’ve checked via WebUI and also via openhab-cli. Can someone help me to get this working please.

Regards,
Walter

You don’t even need to restart OH3, just dropping the file in addon is enough.
Do you use openhabian? And you’re sure you got the correct folder? It‘s now named openhab/addons
not openhab2/addons if you upgraded from OH2… got that mistake also until I deleted the openhab2 folders

Hi Thomas,

Thank you for your reply. My install is on Ubuntu and it was not migrated, it was a clean new install. My addons are in /usr/share/openhab/addons When I drop the file in that folder I get this error message in the logs

2021-10-13 10:12:08.239 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.balboa-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.balboa [294]
Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"

at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]

That’s why I was trying to restart my OH instance to see if it can resolve this error.

Not sure what else to try here.

Regards,
Walter

something is missing, which is a prerequisite for the balboa-Binding. On what exact version did you try it? Seems, OH3 changed something regarding measurement units (temperature here I guess?) and the error seems to be connected to this.

I’m running 3.1.0 - Release Build (on openHABian), and it works just fine…

I’m running OH3 stable
OpenHAB:$ openhab-cli info

Version: 3.1.0 (Build)

User: openhab (Active Process 20501)
User Groups: openhab tty dialout audio

Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab | openhab:openhab
OPENHAB_CONF | /etc/openhab | openhab:openhab
OPENHAB_LOGDIR | /var/log/openhab | openhab:openhab
OPENHAB_BACKUPS | /var/lib/openhab/backups | openhab:openhab

I have tried this binding version
https://github.com/ddempsey3/openhab-addons/releases/download/balboa-beta2-o3/org.openhab.binding.balboa-3.1.0-SNAPSHOT.jar

Also have tried this one

Did you clear the cache.

What error do you get when using the binding I updated?

I did try clearing the cache and tmp directory but have same result with ver 3.1

If I use ver 3.2 jar file I have zero log messages no (INFO WARN or ERROR). It’s like it’s not even registering… I’ve also checked via openhab cli and webui to see if it shows up but still nothing.

Runnin out of ideas what to try next. Is anyone here running this binding on OH stable 3.1?

jepp. As I said before - running smoothly with my setup:

  • Raspberry PI 4 (4 GB)
  • openHABian v1.6.6.
  • openHAB 3.1-stable

I dropped the JAR from clinophobic in the openhab/addons folder and could easily add a thing.

What I do see after I checked right now: there’s no entry in the OH3.1 UI in “Addons-Bindings”, but I can add a Thing easily with Balboa. Also in the console there’s this:

[18:45:01] openhabian@openhabMain:~$ openhab-cli console

Logging in as openhab
Password:
                           _   _     _     ____
   ___   ___   ___   ___  | | | |   / \   | __ )
  / _ \ / _ \ / _ \ / _ \ | |_| |  / _ \  |  _ \
 | (_) | (_) |  __/| | | ||  _  | / ___ \ | |_) )
  \___/|  __/ \___/|_| |_||_| |_|/_/   \_\|____/
       |_|       3.1.0 - Release Build

Use '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
To exit, use '<ctrl-d>' or 'logout'.

openhab> bundle:list | grep Balboa
 29 x Active x  80 x 3.2.0.202108270027    x openHAB Add-ons :: Bundles :: Balboa Binding
openhab>

That is expected behavior for manually installed bindings.

1 Like

I guess so (same with your ekey binding tests :wink: ), but perhaps this was the stopping point for Walter…?

1 Like

Here is my output

user@OpenHAB:/usr/share/openhab/addons$ ls -lh
total 231M
-rw-r–r-- 1 openhab openhab 231M Jun 27 15:57 openhab-addons-3.1.0.kar
-rw-r–r-- 1 openhab openhab 129K Oct 14 11:29 org.openhab.binding.balboa-3.2.0-SNAPSHOT.jar
-rw-r–r-- 1 openhab openhab 70 Jun 27 15:57 README
user@OpenHAB:/usr/share/openhab/addons$
user@OpenHAB:/usr/share/openhab/addons$ openhab-cli console

                       _   _     _     ____

___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | || | / _ \ | _
| (
) | () | __/| | | || _ | / ___ \ | |) )
___/| / _/|| |||| ||// _|__/
|
| 3.1.0 - Release Build

Use ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
To exit, use ‘’ or ‘logout’.

openhab> bundle:list | grep Balboa
openhab> bundle:list | grep balboa
openhab>

Once dropped into the folder you do not have to install the binding through to UI.

If you go to things and select the blue + button you should see it there to pick from in the bindings.

Spent my weekend trying to get this to work but I have 0 luck with this binding. Thanks for help everyone.

I have the same problem, I`m trying to install the aWATTar binding by dropping the .jar file into the addons-folder. Nothing in the bundle:list

anyone manage to get this working with oh 3.2?