ppieczul/org.openhab.binding.loxone

Use loxone knx/eib elements in openhab

marc252 opened this issue · 10 comments

No channels are created automatically for knx/eib devices present in miniserver.
How can I add them?

Could you tell what functional blocks you are trying to operate (e.g. eib blinds)?
Can you check if they have the “available in ui” check box enabled and you can see them in Loxone app?
If yes, can you please open a file on your Loxone: /data/LoxAPP3.json
Find the Knx element (by name) and paste the part of Json that describes it?

There is nothing about knx in Loxone api documentation. I suspect these blocks are visible as regular other blocks, but we need to see in practice. I don’t have knx in my installation, so appreciate your help.
Thanks
Pawel

Hi, I also use Loxone to control my KNX components. eg The dimmer
doesn't get created. They are certainly available in ui and I use them in the app. The KNX Switches do work.

This is the JSON element:

"faa30f5c-4b4f-11e2-8928b8ba17ef51ee": {
            "name": "Kitchen dimmer",
            "type": "EIBDimmer",
            "uuidAction": "faa30f5c-4b4f-11e2-8928b8ba17ef51ee",
            "room": "09bf825e-0100-001b-0f00000000000000",
            "cat": "09bf825e-00ff-0002-0d00000000000000",
            "defaultRating": 0,
            "isFavorite": false,
            "isSecured": false,
            "states": {
                "position": "faa30f5d-4b4f-11e2-892eb8ba17ef51ee"
            }
        }

@xeobit this is not documented in the API at all. It looks like it may be similar to regular dimmer, but there are no min/max/step states to indicate the boundaries of the dimmer. Do you know how they are determined? In case of a regular dimmer, they are needed to map the OH standard dimmer range of 0-100 to the range that Loxone understands.

I'd be interested in the EIBDimmer as well, cause I used i frequently and it be great to have it in openhab.
The step can be configured as parameter SI (default: 5). 0-100 should be working well in most cases cause that's what I use with ha-bridge.
Please let me know if you need anything else.
GE

@ge-ger can you give a try for this test jar: https://www.dropbox.com/s/6kzb00w4trttmod/org.openhab.binding.loxone-3.1.0-2-SNAPSHOT.jar?dl=0
It should recognize EIBdimmer and allow sending it the following commands, assuming 0-100 range and 5 step for increase/decrease:
ON/OFF
Increase/Decrease
Number 0-100

@ppieczul I've replaced the original .jar with the one provided and restarted openhab. Unfortunately there's no changed behaviour.
I did a log with DEBUG while creating a new binding - I can only see the already existing channels - anything I could do/test to give you qulified feedback ? Assume EIBdimmer is just a typo in the post (EIBDimmer).

First thing to check is that the new jar is used. You can do it going to openhab-cli console and running bundle:list | grep Loxone
Check if there is only one binding and that it is from yesterday's. Right way to install the binding is to uninstall the original through the UI and copy jar to /usr/share/openhab/addons.
Second thing I would recommend to remove and add thing again. This is not because of this change, but because of the previous change to support HTTPS, which I don't know if you already have in your installation.
Then if it still does not work, post the DEBUG log or send me over email.
Good luck

@ppieczul removing the old binding was the trick. Now it works ! Perfect ! Thank you !

Great! Please use it for a few days and let me know if it is ready to commit to the baseline.

Runs since a week - everything perfect !
Thank you !