Skip to content
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

Use loxone knx/eib elements in openhab #9

Open
marc252 opened this issue Oct 7, 2018 · 10 comments
Open

Use loxone knx/eib elements in openhab #9

marc252 opened this issue Oct 7, 2018 · 10 comments

Comments

@marc252
Copy link

marc252 commented Oct 7, 2018

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

@ppieczul
Copy link
Owner

ppieczul commented Oct 7, 2018

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

@xeobit
Copy link

xeobit commented Jan 23, 2020

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"
            }
        }

@ppieczul
Copy link
Owner

@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.

@ge-ger
Copy link

ge-ger commented Mar 17, 2021

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

@ppieczul
Copy link
Owner

@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

@ge-ger
Copy link

ge-ger commented Mar 18, 2021

@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).

@ppieczul
Copy link
Owner

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

@ge-ger
Copy link

ge-ger commented Mar 18, 2021

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

@ppieczul
Copy link
Owner

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

@ge-ger
Copy link

ge-ger commented Mar 25, 2021

Runs since a week - everything perfect !
Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants