r/KNX • Teacher • 6d ago

vKNX - Simulate and Program virtual installation through ETS

Hello fellow knx-people.

I'm a Tutor from Denmark, and teach electrician apprentinces at a technical school. My biggest problem with the students is they have no way of training ETS/KNX outside the school, after 4 weeks with me, they are back to work at companies that do not do KNX, and their certifications gotten from school, while still valid - are pretty much useless after a year or two.

So I have built a windows program that simulates a KNX installation, like a cross-breed between KNX Virtual and KNX Simulator. I called it vKNX.

The point of the program is, you import your custom ".knxprod" devices in ETS, programm them and set group adresses as you would in normal installation, and download to your vKNX enviroment. There you need to press programming button on each device to adress it, and configurate. Then you can try it out, and see it work on the ETS Group Monitor.

There are also a floor planning, where you can add a floor plan and put your outputs etc on the floorplan and see it react.

Right now I have 18 different devices, the ones I especially proud of is my logic controller - with in-built 16 inputs and outputs, that inside vKNX can be connected through logic gates, for more complex tasks. (inspired by ABB's ABA/S 1.2.1 - logic controller - Claude AI and I used it only for inspiration). And secure devices - (I have push button and switch actuator) - which can be set to KNX Secure with commisioning codes etc.

Line couplers work, with their filter tables - that was a hard one to do, but it works.

vKNX - will forever be open-source and is made to get more people into KNX world - hopefully also people who want to stay trained.

It's still in the early stages, I only been gathering information and doing research for about 6 months, and vibecoding it for about 2 months only. But it's where I want to take a step back, and gather as much feedback as possible - to build it further.

Here is a link to my GitHub: https://github.com/MrDahl/vKNX

The program isn't signed, so Microsoft will screen it - So it is up to you to install it.

The .knxprod products you need to import in ETS yourself.

49 Upvotes

12 comments sorted by

5

u/VisibleBlacksmith209 6d ago • Bravo

Hello, good work. I am also a KNX tutor, but in Germany. I have codedClaude (Claude) a tool for my students to visually view telegram history on a line, repeat telegrams, and across couplers. Unfortunately, it's only in German, but if you want, you can fork it and use it for your purposes: https://github.com/Gtz187/knx-topologie

1

u/yalik Teacher 6d ago

It looks great! Thank you so much for sharing! I will try fork it - that would be a great addition! It so great to see other teachers are passionate about it!

3

u/MAPLUS-MED 6d ago

Good job keep working great idea I swear

1

u/yalik Teacher 6d ago

Thank you so much. I try my best to make building automation accesible to people, so I glad you liked the idea.

2

u/iroodiz 5d ago

How is this different from KNX Virtual which is developed by the KNX team in Belgium?

1

u/yalik Teacher 4d ago

It's the same idea as KNX Virtual, but I wanted something more visual where you can have a floor plan and place devices on it, have a more pedagogical and beginner friendly UI.

The problem my students have with KNX Virtual, is that they do not understand how to use it - and while we have hardware and training equipment as school, they wanted something to train on beside school. And KNX Virtual just didn't do it for them. So my programm was built with implementing their feedback.

I have analysed the KNX Virtual devices, and fed it to Claude, so it could see how they are built. No code was copied though - only thing used from KNX Virtual is the Manufactorer code - that says "KNX Association" as manufactorer. I have asked KNX Association if that is okay, and they are neutral to it, because I import devices locally.

2

u/ItalyExpat Integrator 6d ago

That is really cool!

2

u/SubjectRoad4579 4d ago

honestly relatable

0

u/gersilex 6d ago

ETS is over except for professionals. Does it work with xknx-editor or are there any plans?

1

u/yalik Teacher 6d ago

Okay, wow! You just broadened my horizon. I didn't know about xknx-editor, before. I have only worked in ETS on different projects, and now teach. So it's new for me. I'll get back to you soon, when I see what it does and how it works. I won't be against an integration.

1

u/gersilex 6d ago

I love projects like your and it would be a shame to lock it behind an extremely expensive closed-source application. I hear xknx-editor is very AI-assisted, but I use it for months now for my single home residential building and never had an issue.

Didn't touch that ugly Windows VM in months now :)

2

u/yalik Teacher 5d ago

I atually like ETS a lot, and license is not that expensive if one works with KNX, it pays for itself after a single big project - I see it as a tool. Like if you renovate a house - you need tools, hammers, drills etc. Then it's yours to keep. And the Lite licens can be obtained for free through eCampus, or by asking KNX Association nicely - I have so students who have gotten perpetual Lite Licenses - and having access to always up to date Producent catalog and support is a nice thing.

Besides, one can obtain Pro license for cheap or free if one knows where to look. Even reverse engineering a dongle can be done - while not something that I can reccomend doing, but one of my students actually made it happen.

And the ability to freely work with thousands of components out of the box is nice. I have used ETS since ETS 5 just came out, and while it is a bit clunky - in my opinion is much easier to use than for example Niagara platform. I can get a lot done quite fast without any third-party tools when I do installations, and the pro licens paid itself back many times.

Ability to work in Mac and Linux need to be implemented, as more and more people switch to other OS than Windows - I hope KNX Association is working on that for ETS 7 - when it probably comes out in 3-4 years.

But that's the beauty of KNX - it so standard and one can do a lot using other software - as long as the customer is happy with their installation - there are infinite ways of programming and commisioning an installation.