Repository navigation
Releases
Releases · MrDahl/vKNX
vKNX 0.17.3
No product changed. A start-up check for new installations.
Added
- Start-up check. The first time vKNX starts, it checks that the computer is ready for ETS and shows the result: the engine, whether vKNX can save its data, whether there is a network connection, and the main test, a KNXnet/IP search on every network adapter, the same as ETS does, to see that vKNX answers. Problems come with a plain explanation (no network, port or firewall). The result can be copied to send to the teacher. It does not run again by itself; Settings → Connection → Start-up check runs it on demand, and a switch makes it run at every start.
vKNX 0.17.2
Fixes for updating and for PCs without WebView2.
Changed
- vKNX offers to install WebView2 itself. If the Microsoft WebView2 Runtime is missing (for example after unpacking the zip instead of running the installer, or when the installer's own attempt did not work), vKNX asks, downloads Microsoft's small setup program, runs it (first as the current user, then with administrator rights if that was not enough) and opens its own window. If it does not work the reason is shown, and vKNX stays open in the browser as before.
- WebView2 link goes straight to Microsoft's small setup program (
MicrosoftEdgeWebview2Setup.exe) instead of the general download page, where the "Fixed Version" .cab files are easy to pick by mistake. Text in the program and in the README.
Fixed
- Update from inside the program could stop halfway. The installer is started by vKNX's engine; the installer's last step force-ended the engine together with everything it had started, which could include the installer itself, leaving the old version in place. It no longer ends the process tree, waits longer for the engine to save and close, and writes a log (
install.lognext to the downloaded installer; the path is inconsole.log). Takes effect from the update after this one; to get 0.17.1 run the installer from the release page.
vKNX 0.17.1
No product changed. Classroom use, and small improvements to the Board and the floor plan.
Added
- Auto-discovery switch (Settings → Connection). Off by default: ETS only lists the interface of the vKNX running on the same computer, so a whole class on one network no longer sees everybody's interfaces. Switch it on to let ETS on other computers find this interface; typing the computer's IP address into ETS works in both cases. Takes effect at once, no restart.
Changed
- Board: 8 outputs in two rows of four. Switch actuators show A–D above E–H instead of six and two.
- Board: security shield on secure devices. Secure switch actuators and push buttons show a shield next to the name: blue with a check mark once secure commissioning is done, grey while it is not. It is always visible on secure products.
- Floors are a drop-down. With more than one floor the floor plan shows one "Floor" drop-down instead of a button per floor, so the toolbar no longer breaks with many floors. With a single floor nothing changes. The Plan settings menu also stays inside the window when the toolbar wraps.
- A failed update check explains itself. "GitHub answered HTTP 403" now says when it is GitHub's hourly limit for the network (a shared school or company network counts together), when to try again, and where to download the installer by hand.
vKNX 0.17.0
No product changed. A new view and new documentation.
Added
- Board view. A new tab that shows the installation the way it sits in a distribution board: the devices made for a DIN rail (couplers, switch, dimming, blind and colour actuators, and so on) are drawn as modules on one rail per line, with the bus cable of that line underneath and the ETS interface marked on its line. Each module shows its live state (outputs, brightness, blind position, coupler filter and counters) and has its own programming button. Push buttons, displays and sensors are shown beside the board as the devices that sit in the rooms; the keys can be pressed there. Devices without an address are listed apart until ETS gives them one.
- Step-by-step guide for vKNX with ETS (
docs/ets-step-by-step.md): two lines with line couplers, push buttons, switch, dimming, blind and colour actuators, a display and a central All off, from download and import of the.knxprodfiles to the finished test. It has screenshots of vKNX. - System requirements in the README.
vKNX 0.16.1
No product changed. A check that helps when a download goes wrong.
Added
- Wrong application detected. If ETS downloads the application of one product into a device of another product (typically the address was given to the wrong device because the programming button was pressed on another one), vKNX now says so: a red warning in the installation overview and in the device's ETS line ("wrong application (that of 'vKNX Info Display')"), with the fix. The warning disappears when the right application is downloaded. New test
WrongAppTest.
vKNX 0.16.0
A round of changes to the control panel; no product and no device behaviour changed.
Changed
- Monitor shows what the devices tell each other. What ETS sends while it sets a device up (property and memory services, connects, acknowledgements, the address broadcasts) is hidden by default; the button ETS programming shows it, and a note says how many telegrams are hidden. Before, a download filled the list with hundreds of lines.
- Installation, right side: when no device is selected it now shows how many devices are ready, need a download or have no address, and a Still to do list with the next step of every unfinished device (click to open it). The device list is wider, so product names are no longer cut off.
- Messages take one line. The warnings at the top are folded into the n messages button, which shows the first message; a new serious message opens the list by itself.
- A finished device no longer says "Next: Connect ETS". A device with its address and a complete download shows Ready, also when ETS is not connected.
- ETS connection shown once: the second "No ETS connected" label under Installation is gone; the top bar shows it.
- Operating cards: a search field, a filter by kind of device and a Compact button (cards without "How to operate" and the group addresses).
- Add device: a larger dialog, every product with a line that says what it is, and How many to add several of the same kind at once (Lamp1, Lamp2, Lamp3).
- Floor plan, operate: a click on a lamp, blind, display, sensor or other symbol that is not a button opens the operating card of that device next to the symbol (for example the light control with its colour wheel), instead of the details panel. Details in the card still opens the panel; Esc or a click outside closes the card.
- Floor plan, labels: a channel that was given its own name in ETS shows just that name ("Ceiling lamp" instead of "Lamp Ceiling lamp"); default names keep the device name in front.
- Floor plan, edit: Shift + click selects several symbols; they move together (mouse or arrow keys) and can be aligned in a row or column, spread evenly or removed. Undo (button or Ctrl+Z) takes back placing, moving, aligning and removing.
- Topology overview: the lines are drawn as branches of the main line (each with its own coupler) instead of one below the other as a chain.
- The button Telegram monitor under Simulation is now called Monitor, like the tab.
vKNX 0.15.0
Added
- Light control screen on the info display (application version 6 of
vknx-info-display; download the display again). A screen can now be a light control instead of six rows of values (ETS: The screen is): a round on/off button, a brightness slider with − and + keys and a ring that shows the brightness, and for colour either a colour wheel (RGB, 3 bytes, DPT 232.600) or a warm-to-cold slider (tunable white, Kelvin, DPT 7.600, with the range set in ETS); None gives on/off and brightness only. It sends on switch, brightness, RGB and colour temperature objects and follows four status objects, so it shows what the lamp really does. With one screen enabled the display is nothing but the light control (the paging buttons are hidden). Made for the colour dimming actuator, but it works with any dimming actuator. Not tried in ETS yet.
vKNX 0.14.1
Fixed
- Topology overview: with a main line and no backbone (for example the interface on 1.0 and the lines 1.1, 1.2, 1.3) the main line was drawn on top of the first line. The main line is now at the top with the lines below it.
vKNX 0.14.0
Added
- Three new products (not tried in ETS yet; the
.knxprodfiles must be built first):- Presence detector (
vknx-presence-detector): a light channel that sends ON at movement when the room is darker than a threshold and OFF after a follow-up time (10 s to 30 min), a presence object for heating and ventilation with its own, longer time (DPT 1.018), the measured brightness (lux) and a lock object. On the card: Movement (one movement), Person in the room (movement all the time) and a slider for the room brightness. - Colour dimming actuator, 2 channels (
vknx-colour-dimmer): each channel is RGB (colour as 3 bytes, DPT 232.600) or tunable white (colour temperature in Kelvin, DPT 7.600, limited to a range set in ETS), with switch, relative dimming, brightness and status objects. The card and the floor plan show the colour. - Energy meter (
vknx-energy-meter): a simulated consumption of a base load plus up to four monitored loads; a load is counted while its input object is on (connect it to the status of a switch actuator output). Sends power (W, DPT 14.056), energy (Wh and kWh, DPT 13.010 / 13.013), current (mA) and an alarm above a power limit; the counter can be reset by a telegram or on the card, where an extra load can also be set.
- Presence detector (
- Several floors on the floor plan. Plan settings → Add a floor… (in Edit plan) gives the plan up to 8 floors, each with its own image, zoom and symbols; buttons next to Operate / Edit plan switch between them (shown when there is more than one floor). A floor can be renamed and removed (its symbols are taken off the plan, the devices stay). A channel can be on one floor at a time. Export / import carries all floors. A plan from before keeps working as the first floor.
- Undo for a removed device. After Remove device the message at the bottom has an Undo button for 12 seconds. It puts the device back with its address, download, parameters, keys, its place in the list, its place on the floor plan and its icons. Only the device removed last can be put back, and only until vKNX is restarted.
- A release now stops if the
.knxprodfiles are older than the products (KnxprodCheck), so a release cannot go out with product files that do not match what vKNX expects. A product that has no file yet only gives a warning. - Issue templates,
CONTRIBUTING.mdandSECURITY.mdon GitHub.
Changed
- The state file is written 3 seconds after something ETS did (address, download, restart) and at most every 30 seconds for what only changes on the screen (a sensor that sends, a dimmer that ramps); 0.13.2 wrote it every 3 seconds for those too.
docs/limitations.mdwas brought up to date (it still described 0.5.0).- Inside:
VirtualDevice.java(1,540 lines) was split up. The KNX Data Secure code (DeviceSecurity), the coupler's settings and filter table (RouterMemory), the downloaded tables (Tables), the coding of group values (GroupValue) and the "last ETS action" bookkeeping (EtsActivity) are now classes of their own; the device class is about 1,200 lines. No change in behaviour is intended.
vKNX 0.13.2
Fixed
- Secure devices lost their download when vKNX was restarted. After ETS's master reset (ETS ends every secure download with one) the device library marked the device as closed and saved nothing more, so after an update or a restart a secure push button or actuator came back with its address but without its application and needed a full download again. The first master reset was saved, the rest was lost: at the first reset of a secure download the application is not loaded yet. Plain products (ETS does a normal restart) were not affected. Now every device saves its state a few seconds after every change (a download, an address, a parameter), and again when vKNX closes, so also a forced stop or a crash loses nearly nothing. Secure devices that already lost their download must be downloaded once more.
- A removed or renamed device went on living on the bus. It kept receiving group telegrams until vKNX was restarted (visible in the log as lines from devices that no longer exist). A removed device is now disconnected from the line at once.