Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Question

Posted

Hello,

 

With help of AI (using Gemini), I am trying to integrate KNX devices via KNX/IP Routing protocl to Fibaro. I am working more with KNX devices these days, so I wanted to try to get them into Fibaro UI :D. I started with the switch as it is easiest to implement. I have working Commands, link in the end of post. Now me and AI hit roadblock with Feedbacks.

 

Have you worked with UDP Sockets before? Seems like some parts of net class are either missing or unavailable. To me it looks like net.getInterface is not implemented.

QA in question

Please login or register to see this attachment.

Logs:

Please login or register to see this code.

 

Working switch 1-way

Please login or register to see this attachment.

If you wanna use it, just use it. I am giving the 1-way one (commands only) as it is.

 

Command Group Address: 1/0/0 (high byte 8 is 1/0, Low byte 0 is .../0)

 

For now KNX Group Addresses are "Hardcoded" till it works even with Feedbacks.

This QA works with KNX/IP Routing protocol (multicast), so for your test with KNX installations you need KNX/IP Router, like

Please login or register to see this link.

. KNX/IP interfaces (unicasts) are not supported.

 

For some wondering, I am @jakub.jezek, I am just using different account on my personal PC if I am out of office or on vacation.

  • Like 1

5 answers to this question

Recommended Posts

  • 0
Posted
3 hours ago, jakub.jezek.personal said:

Hello,

 

With help of AI (using Gemini), I am trying to integrate KNX devices via KNX/IP Routing protocl to Fibaro. I am working more with KNX devices these days, so I wanted to try to get them into Fibaro UI :D. I started with the switch as it is easiest to implement. I have working Commands, link in the end of post. Now me and AI hit roadblock with Feedbacks.

 

Have you worked with UDP Sockets before? Seems like some parts of net class are either missing or unavailable. To me it looks like net.getInterface is not implemented.

QA in question

Please login or register to see this attachment.

Logs:

Please login or register to see this code.

 

Working switch 1-way

Please login or register to see this attachment.

If you wanna use it, just use it. I am giving the 1-way one (commands only) as it is.

 

Command Group Address: 1/0/0 (high byte 8 is 1/0, Low byte 0 is .../0)

 

For now KNX Group Addresses are "Hardcoded" till it works even with Feedbacks.

This QA works with KNX/IP Routing protocol (multicast), so for your test with KNX installations you need KNX/IP Router, like

Please login or register to see this link.

. KNX/IP interfaces (unicasts) are not supported.

 

For some wondering, I am @jakub.jezek, I am just using different account on my personal PC if I am out of office or on vacation.

 

I cant help you, but would love to see an integration with KNX :D

 

 

  • 0
Posted
5 minutes ago, Brors94 said:

 

I cant help you, but would love to see an integration with KNX :D

 

There actually is an integration with KNX, with logicmachine from openrb. It was discussed on the English Discord. 

  • Like 1
  • 0
Posted
On 7/3/2025 at 3:57 PM, SmartHomeEddy said:

There actually is an integration with KNX, with logicmachine from openrb

Yes, that is possible, but Logic Machine costs something about 1000 Euro, just the box. KNX/IP Router is about 365 Euro (price for

Please login or register to see this link.

).

 

@m.roszak, any idea how to make Fibaro listen on UDP Multicast? Multicast Ip would be 224.0.23.12 and port 3671.

  • 0
Posted
9 hours ago, jakub.jezek said:

Yes, that is possible, but Logic Machine costs something about 1000 Euro, just the box. KNX/IP Router is about 365 Euro (price for

Please login or register to see this link.

).

 

@m.roszak, any idea how to make Fibaro listen on UDP Multicast? Multicast Ip would be 224.0.23.12 and port 3671.

 

I guess this dosent help? 

Please login or register to see this link.


 

And I dont know how it works, But if we do a request to the gateway with the multicast ip and port and "open" a socket and set the timeout for 60sec, and reopen each 60sec or right after reciveing some data? 

 

I dont have a gateway to test against myself at the moment 🤔 
But I will check if you could get one from work 😅

 

 

  • 0
Posted

Thanks @Brors94, I used this to create devices that can send data to KNX (Switching and Dimming).

 

I'll try to see what I can do about it, but as I am doing it in my free time its quite challanging as I do not have that much free time at office where we have KNX :D 

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...