thelsing / createknxprod Goto Github PK
View Code? Open in Web Editor NEWSimple Gui to create simple knxprod file for ETS.
License: GNU General Public License v3.0
Simple Gui to create simple knxprod file for ETS.
License: GNU General Public License v3.0
Hi!
I have found this repository, tried it and I could make a KNX device that I could import into ETS. I started developing Arduino based KNX sensord, for example I have this as a working demo: https://github.com/franckmarini/KnxTemperatureSensor
My question is (sorry for the bad phrasing) that how can I link the arduino with the parameters in the device? Now I see the telegrams from a "ghost device" because I cannot add it to the ETS project. Now with your tool I can probably add a new device but I don't know how can I program it to work together with the arduino code. I hope you understand my question and give me some hints where to start.
Thanks!
Hi,
first of all, many thanks for this project!
Either I am doing something wrong, or there is bug in Release_23:
When I create a new file, entries in the field "Replaces Versions" seem to have no effect on the generated *.xml-file in Release_23.
In Release_22 it works, but the behavior is a little bit different than expected: The content of the *.xml file is only updated if I leave the "Ersetzt Versionen" textbox and set the cursor to another one. When I press "Speichern/Speichern unter" while the cursor is still in this textbox, the change is ignored.
Best regards,
Michael
Hi,
I can see that there are already some checks implemented for entered values (the textbox gets a red frame when e.g. the application version number is empty or >= 256).
Is it possible to add more of these checks?
I had a dot "." in my order number ("Bestellnummer") and this led to the following "not very precise" error message in ETS v5.7.5:
"Import fehlgeschlagen! ... Der Index war außerhalb des Arraybereichs."
Best regards,
Michael
Hi,
First, another thank for this project.
If I take the example of knx-demo-tp.xml, the "abgleich | TempAbgleich | Internal sensor correction value ..." and the knx-demo.ino, I can't find link (except in the knx lib) between these too.
I find the link between ComObjects and the knx-demo.ino with "#define goCurrent knx.getGroupObject(X)" for example.
Could you explain, or give some advice to how to add Parameters in ETS, and interact with the knx device?
Sorry but I haven't found any RTFM ;-)
Regards.
Hi,
when I create a new project (with default medium type "IP") and save it, "MediumTypes" in the "Hardware2Program"-section is "MT-5 MT-2".
If I now change the medium in the dropdown list to "TP", "MediumTypes" becomes "MT-0 MT-2"
After changing the medium typte to "RF", "MediumTypes" becomes "MT-2 MT-2".
So it seams that "RF" (MT-2) is always selected as a second argument. Is this behavior correct?
The question came up, because e.g. the "knx-demo-tp.xml" in the example folder of the KNX stack contains just "MT-0" (no second entry "MT-2").
I could observe this in Release_22 and Release_23.
Best regards,
Michael
As the developer of KNX-RF (S-mode) extension I would like to be able to select "RF" as medium type when generating my own knxprod-file.
The current mask version for KNX-RF that I have implemented is 2705.
It works with the KNX RF line coupler from MDT.
Right now I can program the individual address together with the domain address and the device receives A_Restart and restarts the device with the new addresses.
To do further testing concerning group address and parameter programming I need to produce my own knxprod-File.
Hello! I have download compilled CreateKnxProd 1.1 and ran it on Windows 10 Russian. It has Deutsch interface language. Unfortunately, I can't read Deutsch. Is it possible to change interface language to English on non-English OS? BTW, if you interested, I can make Russian translation of CreateKnxProd interface.
thanks for this great code first,
I want to add DatapointType for comObjects in generated knxprod to shows in ETS and communicate with my device with this DatapointType (like 1.001 switch or 1.002 boolean)
I did not find any declaration in sample xml files or in GUI for this purpose.
thanks for your help.
Hi there ,
Whats the procedure to have your program installed .
It looks very very promising.
Hi,
is it possible to show the version number behind "CreateKnxProd" in the headline and additionally the currently edited file or complete path next to it?
E.g. instead of "CreateKnxProd" -> "CreateKnxProd v2.3 - knx-demo-tp.xml".
Or the filename centered in the headline?
Eventually it could also be useful to see the complete path (but only if it is not too long, which is out of your scope).
Reason:
When I work with several *.xml-files and want to check the effects after changes, it would be nice to see in the headline which file I am saving when I press the "Speichern" button.
Best regards,
Michael
Hello,
Sorry for that dumb question but how do you change the parameters value displayed on ETS (ie: the dropdown menu to select seconds/Kelvin value)
<ParameterType Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout" Name="startupTimeout"> <TypeRestriction Base="Value" SizeInBit="8"> <Enumeration Text="0 s" Value="0" Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout_EN-0" /> <Enumeration Text="1 s" Value="1" Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout_EN-1" /> <Enumeration Text="2 s" Value="2" Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout_EN-2" /> <Enumeration Text="3 s" Value="3" Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout_EN-3" /> <Enumeration Text="4 s" Value="4" Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout_EN-4" /> <Enumeration Text="5 s" Value="5" Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout_EN-5" /> <Enumeration Text="6 s" Value="6" Id="M-00FA_A-ABCE-79-0000_PT-startupTimeout_EN-6" /> </TypeRestriction> </ParameterType>
Manually edit xml by hand or any options I don't see anywhere in createKnxProd?
And another time, thank for you impressive works.
Hello,
Unfortunately my try to export a config fails with this error:
System.MissingMethodException: Constructor on type 'Knx.Ets.XmlSigning.ApplicationProgramHasher' not found.
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at CreateKnxProd.Signing.ApplicationProgramHasher..ctor(FileInfo applProgFile, IDictionary`2 mapBaggageIdToFileIntegrity, Boolean patchIds) in C:\Users\mail\CreateKnxProd\Signing\ApplicationProgramHasher.cs:line 16
at CreateKnxProd.MainWindowViewModel.Export(Object param) in C:\Users\mail\CreateKnxProd\MainWindowViewModel.cs:line 684
Did I something wrong? I have a ETS5 and ETS6 installation on my computer, I tried several paths (including the one of the readme.md) in the ETSPath setting without success.
Anyway, nice project! Thank you for your work!
For data secure the following requirements have to be met:
Added with PR #16.
now in the tool, dpt can be assigned to 1bit, 1byte, 2byte, etc. is there a way to assign specified sub-dpt type, such as 5.001, 5.005
ETS version 5.7.6
Medium: TP
CreateKnxProd: Release 23
I am tring to build my first knx device.
I've used your knx stack arduino library for programming the mcu (ATSAMD21).
i've added my knxprod database and configured. after hitting upload button i've got the error "ETS tried to write a protected or a non existing memory block".
But there is no problem with the temparature example in the arduino knx library.
I've played with the application number and other stuffs but the same result.
Hi @thelsing
Do you have a English version (messages and menus in English, code I can see in English ;-))?
If not, Do you have in mind any Globalization solution? (https://stackoverflow.com/a/32990088)
thanks,
And It seems a very good job, but I have not tried yet, I'm fighting with germany words in app ;-)
I want to add some abilities, such as:
(1) multiple parameter tab
(2) show or hide a group object according to certain parameter
I successfully can open and save existing or new xml config files but when exporting the config as knxprod by "Exportieren" an exception is thrown (see below).
I used the prebuilt Build_21 with ETS5 and adapted CreateKnxProd.exe.config correctly by adapting the ETS5 DLL file path.
Exception (may be there are some typos because I had to convert it by OCR):
System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.InvalidOperationException: Fehler im XML-Dokument (2.2). ---> System.InvalidOperationException: wurde nicht erwartet.
bei Microsoft.Xml.Seralization.GeneratedAssembly.XmlSerialization.ReaderKNX.Read2
72_KNX()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Xml.Seralization.XmlSerializer.Deserialize(XmlReader xmlReader,
String encodingStyle, XmlDeserializatonEvents events)
bei Knx.Ets.Xrnl.ObjectModel.Document.Load(Stream stream, Type documentType)
bei Knx.Ets.Xml.ObjectModel.Document.Load(String filename, Type documentType)
bei Knx.Ets.Xml.ObjectModel.DocumentSet.LoadDocument(String filename)
bei Knx.Ets.Converter.ConverterEngine.ConverterEngine.BuildUpRawDocumentSet(String[] inputFiles)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder. Object[] parameters, CultureInfo culture)
bei CreateKnxProd.MainWindowViewModel.Export(Object param) in
d:\a\1\s\MainWindowViewModel.cs:Zeile 608.
Hi,
is there a special reason why the init flag is missing, while the other Flags "KLSÜA" are implemented?
It is very useful e.g. in cases of a "Wert für Umschaltung" communication object to read the current value immediately after a restart.
It would be nice to be able to set it also via the GUI (+ the stack has to support it).
Best regards,
Michael
I sketched such code, but setting the parameters in ETS does not match the expected result. Files are attached.
knx-wifi8ch8s-test2.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.