TailWind Smart Garage Controller Binding [4.0.0.0;5.0.0.0)

For what it’s worth, I’ll do my best to make sure this binding keeps working as well as respond to issues on this post.

What stops you from submitting a PR?

Some background and my answer to your question…

On release compatibility
I track openHAB releases and test this binding against the latest stable version. If a stable update ever breaks it, I’ll catch that quickly and provide a fix. Snapshot builds change daily, so I don’t actively chase those, but if someone reports a snapshot or milestone issue, I’ll look into it and see what’s feasible.

On how long a snapshot or milestone break might last
It depends on the nature of the change. Some issues are simple and can be fixed quickly; others require deeper adjustments that only make sense once the next stable release settles. I’ll always do my best to keep the binding functional and respond to reports here.

On why this isn’t part of the core add‑ons
I did submit a PR in the past. It received initial feedback, I made the requested changes, and then it sat for nearly a year without further movement. I’ve had similar experiences with other add‑ons I’ve written. That’s not a complaint—just the reality of how open‑source projects operate:

  • Maintainers volunteer their time, and reviews happen on a best‑effort basis.

  • Add‑ons for widely used devices naturally get priority because merging them implies long‑term maintenance.

  • Vendor‑supported add‑ons tend to move faster because they come with guaranteed ongoing support.

The Marketplace exists partly for this reason: it gives the community a place to share useful add‑ons that may never make it into the core set but still serve real needs.

Why I built and shared this binding
I created this binding to fill a gap in my own setup and shared it so others could benefit. The repository is public, and anyone is welcome to contribute or even champion a PR if they want to push it further. I’ll continue maintaining it here and supporting users as best I can.

I hope this helps set expectations and gives a clearer picture of how support works for Marketplace add‑ons within the openHAB ecosystem.

Thanks for the explanation. It is greatly appreciated.

Having contributed 8 bindings and maintain 2 others, I share your experience with trying to get bindings through the process. For the reasons you mention, it can be a long process, especially with new bindings.

I’m more comfortable now. And, since I tend to run pretty current snapshot releases, I might be the one of the first to notice an issue. If so, I’ll post here.

Thanks for your work on this binding!!

I just successfully installed the Tailwind iQ3 2.0, which I bought to replace the MyQ controller.

I’m running openHAB 5.2 SNAPSHOT. I see above that you only address stable builds, but I thought posting this might still be helpful.

The TailWind binding is raising one error and a few warnings:

Line 216: 2026-03-19 19:11:41.200 [ERROR] [.thing.internal.GenericThingProvider] - Channel type tailwind:brightness could not be resolved.

Line 238: 2026-03-19 19:11:43.582 [WARN ] [ind.internal.handler.TailwindHandler] - There was an error communicating to the TailWind controller! Error msg: Rest call failed: statusCode=-1, message=java.util.concurrent.ExecutionException: java.net.UnknownHostException: No such host is known (http)
Line 239: 2026-03-19 19:11:43.584 [WARN ] [ind.internal.handler.TailwindHandler] - There was an unknown exception validating the configuration for the TailWind controller! Error msg: Cannot invoke "String.contentEquals(java.lang.CharSequence)" because the return value of "org.openhab.binding.tailwind.internal.dto.TailwindControllerData.getResult()" is null
Line 240: 2026-03-19 19:11:43.598 [WARN ] [ernal.connector.TailwindUdpConnector] - There was an error communicating to the TailWind controller! Error msg: Rest call failed: statusCode=-1, message=java.util.concurrent.ExecutionException: java.net.UnknownHostException: http
Line 250: 2026-03-19 19:11:46.091 [WARN ] [ernal.connector.TailwindUdpConnector] - Listener thread started but listener is not yet active after 2sec; something seems to be wrong with the JVM thread handling?!
Line 289: 2026-03-19 19:16:45.924 [WARN ] [ind.internal.handler.TailwindHandler] - There was an error communicating to the TailWind controller! Error msg: Rest call failed: statusCode=-1, message=java.util.concurrent.ExecutionException: java.net.UnknownHostException: No such host is known (http)
Line 291: 2026-03-19 19:21:48.266 [WARN ] [ind.internal.handler.TailwindHandler] - There was an error communicating to the TailWind controller! Error msg: Rest call failed: statusCode=-1, message=java.util.concurrent.ExecutionException: java.net.UnknownHostException: No such host is known (http)

Thing tailwind:iQ3:garageDoor “Tailwind iQ3 Garage Door Controller” @ “Garage” [
doorCount=1,
webServerAddress=“http://tailwind-206EF1AFxxxx.local”,
authToken=“732xxx”,
openHabHostAddress=“192.168.2.50”,
doorOneName=“Garage Door”,
doorOnePartialOpen=2.5,
doorTwoName=“Door 2”,
doorTwoPartialOpen=2.5,
doorThreeName=“Door 3”,
doorThreePartialOpen=2.5
] {
Channels:
Type doorNum : controller#doorNum “Number of Doors”
Type nightModeEnabled : controller#nightModeEnabled “Night Mode”
Type brightness : controller#ledBrightness “Brightness”
Type routerRssi : controller#routerRssi “WiFi RSSI”
Type productID : controller#productID “Model Number”
Type deviceID : controller#deviceID “Device ID”
Type supportCommand : controller#supportCommand “Send Support Commands”
Type index : doorOne#index “Garage Door Index”
Type status : doorOne#status “Garage Door Status”
Type openClose : doorOne#openClose “Garage Door Door Control”
Type partialOpen : doorOne#partialOpen “Garage Door Partial Open Time”
Type lockup : doorOne#lockup “Garage Door Locked Up Status”
Type disabled : doorOne#disabled “Garage Door Is Configured”
}

I have a corresponding Items and Sitemap files.

All items are NULL even though the Thing is connected and online. It does lose its connect over time. Also CPU is at maximum.

When I remove all the TailWind artefacts, the system runs well.

Thanks for the heads up. To be sure, you are manually configuring the binding, correct? Have you tried using autodiscovery? If so are you having the same errors?

I set it up manually using files. I tried several times to scan for auto-discovery, but the binding did not find the TailWind device.

Just installing the binding, without thing, items, and sitemap, consumes 100% of the CPU.

I updated a test RPI to v5.2 Snapshot that already had tailwind installed. It came up online and did not generate any errors or issues with CPU. What platform are you running this on? Is there anything else you can provide to help me recreate this on my test machine…

I’m running openHAB 5.2 on Windows 10.

I removed the things, items, and sitemaps files. I cleared the cache and tmp folders and restarted the system.

When I add the TailWind binding again, the CPU jumped to 100%. Perhaps something’s was still lingering in the background. State persistence maybe?

I just tried reinstalling the TailWind binding again. Same issue with CPU going to 100%.

Running Windows 10 with the latest Snapshot is a hard one for me to try and recreate what you’re experiencing. (I would have to set up a Window 10 system to test this, not trivial for me)

I would need more details around how you are installing the binding - are you using the UI’s Administration → Add-on Store → Bindings to find the Tailwind binding, then selecting install from there? Or loading the jar file manually.

Have you verified from your Win 10 pc, that you can find the Tailwind controller on your network? I have a link to a doc I put together to help folks with this.

Tailwind controller discovery tests

I installed the binding using Main UI. I can see the controlled using ping. The controller works as expected using the TailWind app. I don’t think the issue is with the controller.

Out of curiosity, and maybe I missed this in the discussion, but why are you defining the channels? They already are defined for you.

This is all I have in my things file:

Thing tailwind:iQ3:garagedoors "Tailwind Garage Doors" [doorCount=2, webServerAddress="192.168.nnn.mmm", authToken="XXXXXX", openHabHostAddress="192.168.xxx.yyy", doorOneName="Small Door", doorOnePartialOpen=2.5, doorTwoName="Big Door", doorTwoPartialOpen=2.5]

That’s what the Main UI gives me when I look at the code, so I just included it in the things file. I’ve done this with all things and have not run into issues.

In any case, I’ve removed all the files and just tried to install the binding without any things defined.That’s when the CPU goes to 100%.

Yeah, that’s really weird.

I wonder if you would get the same behavior if you drop the jar file in your addons folder rather than install from main ui. I’m running this version of the binding successfully on 5.2.0 snapshot build 5191.

250 │ Active │  80 │ 4.2.0.202405202231    │ org.openhab.binding.tailwind

Of course I’m running on Ubuntu, not Windows.

Thanks for contributing to this one Mark. George, the reason I was asking about the discovery tests is that the binding uses Microsoft discovery services to find tailwind controllers on the network. It may be the case that the binding is searching for a controller and causing the performance issue. This is a long shot guess based on what I understand about your setup.

If you’re not using the auto discovery feature, you should disable it per the instructions here: Discovery.

Another option is to change the logging to debug for the binding. And share the log. I’ve included some instructions below if you are not familiar with this. You may need to adjust for your windows environment as this assumes a linux OS is running Openhab. The console commands should be the same…

🛠️ How to Enable DEBUG Logging for the Tailwind Binding

If you’re experiencing issues with the Tailwind Smart Garage Controller binding, please follow the steps below to capture DEBUG‑level logs. These logs help diagnose communication or discovery problems.


:one: Log into the openHAB Console

Run this on your openHAB system:

sudo openhab-cli console

If prompted for a password, the default is:

habopen

:two: Enable DEBUG Logging for the Tailwind Binding

Inside the console, run:

log:set DEBUG org.openhab.binding.tailwind

You should now see more detailed messages in:

  • openhab.log
  • events.log (if applicable)

:three: Reproduce the Issue

Please:

  • Operate your Tailwind device
  • Trigger the behavior you’re trying to diagnose
  • Let the system run for 10–20 seconds afterward

Then attach the relevant portion of your openhab.log.


:four: Restore Normal Logging (INFO)

Once logs are captured, return the binding to its default log level:

log:set INFO org.openhab.binding.tailwind

You can confirm the current level with:

log:get org.openhab.binding.tailwind

:five: (Optional) Reset All Loggers

If you changed multiple loggers or want to reset everything:

log:reset

@dschoepel It seems we have the same version range issue here :wink:

I’ve created separate versions of this binding for both OH v4.x and v5.x which are now published in the Marketplace. Should be visible once they are reviewed.

v4.x: org.openhab.binding.tailwind-4.2.3.jar

v5.x: org.openhab.binding.tailwind-5.2.0.jar

Added a couple of new channels:

  • New Server Connection Monitoring channel (controller#serverMonitor), from section 3.8 of the
    Local Control API (firmware 10.61 or later). UNDEF on older firmware.
  • The Firmware Version channel (controller#firmwareVersion) now appears on the Thing.
  • Both channels are added to existing iQ3 Things automatically.

Title: File-defined Thing fails with “Invalid URI host: null”, and startup door states aren’t applied to items (v5.2.0)

Environment

  • openHAB 5.2.3 (Ubuntu 20.04, Zulu Java 21)
  • TailWind binding 5.2.0 (also seen with 4.2.3)
  • iQ3, firmware 10.80, 2 doors, on a separate VLAN from openHAB

Issue 1: a Thing defined in a .things file can never connect

With a .things file like this:

Thing tailwind:iQ3:XXXXXXXXXXXX "Tailwind iQ3" [
    webServerAddress="192.168.20.10",
    openHabHostAddress="192.168.2.157",
    authToken="xxxxxx", doorCount=2,
    doorOneName="Door A", doorTwoName="Door B" ]

every startup and every channel link logs:

WARN TailwindHandler - There was an unknown exception validating the configuration for the TailWind controller! Error msg: Invalid URI host: null (authority: null)
WARN TailwindUdpConnector - Listener thread started but listener is not yet active after 2sec ...

and a stack trace through TailwindHandler.channelLinked → sendCommand → TailwindConnectApi.getTailwindControllerData.

From looking at the 5.2.0 jar:

  • TailwindConnectApi.getTailwindServerUrl() builds the URL from the Thing property httpServerUrl (http://<httpServerUrl>/json). It doesn’t use the webServerAddress config parameter.
  • TailwindHandler.webServerAddressCheck() only copies webServerAddress into httpServerUrl when that property already exists. The null check jumps past the update otherwise. Discovered Things have the property, but file-defined Things never get it, so the host is always null.
  • webServerAddress also has to be a bare IP or a .local name. A value with http:// fails with “ADDRESS FORMAT ERROR”, even though the parameter’s description says “HTTP URL of web service (preferred)”.

Workaround: create the Thing through the REST API with "properties": {"httpServerUrl": "<controller IP>"}. It then initializes, registers notify_url, and receives UDP events normally.

Suggested fix: set httpServerUrl from webServerAddress when the property is missing or blank. Also accept or strip an http:// prefix, or update the parameter’s description.

Issue 2: door states from the startup check aren’t applied to items

On initialization, the token-validation response includes the current door states (for example door1 status=close), but the channels aren’t updated from it. Items keep their previous state until the next UDP event, so they can show a door as open when it’s closed until something changes. Applying updateTailwindDetails() to that initial response would fix it.

Thanks for maintaining the binding. Once the property was set, the UDP events have been instant and reliable.

Thanks for the detailed report and for digging into the jar. You were right on both counts. The fixes are now released:

Latest versions:

Issue 1: Things from .things files never connected. The binding builds its URL from the httpServerUrl property, and only discovered Things had it.

  • httpServerUrl is now set from webServerAddress when it’s missing, so your .things definition works as written. You no longer need the REST API workaround.
  • webServerAddress accepts an http:// or https:// prefix and a trailing /json, so you won’t get “ADDRESS FORMAT ERROR” anymore. The parameter description is corrected too.
  • MAC address, firmware version and model now fill in for Things defined in files.

Issue 2: door states at startup weren’t applied to items. The startup refresh ran while the Thing was still initializing, so openHAB dropped the updates. It now runs once the Thing is online, so items show the correct door state right away instead of waiting for the next UDP event.

Other fixes in these releases

  • A wrong Local Control Key now shows as a token problem in the Thing status, instead of “controller not responding”. It no longer logs an error for every linked item.
  • The Thing stays OFFLINE when its configuration check fails, instead of going ONLINE anyway.
  • After a temporary communication error, the Thing comes back ONLINE by itself.
  • Door Partial Open items no longer briefly flip to 0 when the Thing starts.
  • The Thing connects in the background, so openHAB no longer warns that initializing the handler takes more than 5000ms.
  • If the controller can’t be reached at startup (for example after a power cut), the binding keeps retrying: after 30s, 60s, 120s and 240s, then every 5 minutes. The Thing goes ONLINE as soon as the controller answers.

To install: download the jar for your openHAB version from the release page and copy it into your addons folder, replacing the older org.openhab.binding.tailwind jar.

If you used the Openhab Store:Binding in the UI, then you need to remove the binding and install it.

Let me know if anything still looks off. Glad to hear the UDP events have been instant and reliable for you.