Difference between revisions of "KNX Utility"

From HSYCO
Jump to navigation Jump to search
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
[[Category:Manager]]
 +
[[File:Manager KNX Utility Icon.png|class=appIcon]]
 
The KNX Utility application provides a graphical interface to configure a [[KNX | KNX I/O Server]]. Whenever a KNX I/O Server is defined in HSYCO, the KNX Utility will appear among the applications of the manager.
 
The KNX Utility application provides a graphical interface to configure a [[KNX | KNX I/O Server]]. Whenever a KNX I/O Server is defined in HSYCO, the KNX Utility will appear among the applications of the manager.
 
[[File:KNX_Util_Applications_List.png|thumb|200px|The KNX Utility in the Manager applications list.]]
 
  
 
Open the application and select the KNX I/O Server to be configured in the select field in the top-right corner. If only one KNX I/O Server is defined it will be automatically selected.
 
Open the application and select the KNX I/O Server to be configured in the select field in the top-right corner. If only one KNX I/O Server is defined it will be automatically selected.
Line 18: Line 18:
  
 
A datapoint is the equivalent of a group of the KNX framework. New datapoints can be added employing the import procedure described above or manually, by clicking on the "+" button in the "KNX Datapoints" tab. To modify the attributes of a datapoint click on the corresponding item in the list.
 
A datapoint is the equivalent of a group of the KNX framework. New datapoints can be added employing the import procedure described above or manually, by clicking on the "+" button in the "KNX Datapoints" tab. To modify the attributes of a datapoint click on the corresponding item in the list.
 +
 +
[[File:KNX_Util_Datapoint.png|thumb|250px|Datapoint.]]
  
 
=== Attributes ===
 
=== Attributes ===
Line 27: Line 29:
 
*'''Priority:''' KNX priority to be used when sending frames to this group (low, normal or urgent)
 
*'''Priority:''' KNX priority to be used when sending frames to this group (low, normal or urgent)
 
*'''Read:''' check this option if this group  
 
*'''Read:''' check this option if this group  
*'''Icon:''' attribute for DPT 1 datapoints. It specifies the icon to be used for button objects associated to this datapoint (the values correspond to the ones used in the devices list of [[systemtopo.txt]])
+
*'''Icon:''' attribute for DPT 1 datapoints. It specifies the icon to be used for button objects associated to this datapoint (the values correspond to the ones used in the devices list of systemtopo.txt)
 
*'''Thumbnail:''' attribute for DPT 1 datapoints. It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the [[Settings#Cameras|settings page]]
 
*'''Thumbnail:''' attribute for DPT 1 datapoints. It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the [[Settings#Cameras|settings page]]
  
Line 38: Line 40:
  
 
To add a "light" virtual datapoint select the “Lights” tab and click on the “+” button in the bottom bar.
 
To add a "light" virtual datapoint select the “Lights” tab and click on the “+” button in the bottom bar.
 +
 +
[[File:KNX_Util_Light.png|thumb|250px|Light virtual datapoint.]]
  
 
==== Attributes ====
 
==== Attributes ====
Line 43: Line 47:
 
*'''Description:''' a textual description of the datapoint. It will be visible in the [[Project Editor]] when configuring GUI objects
 
*'''Description:''' a textual description of the datapoint. It will be visible in the [[Project Editor]] when configuring GUI objects
 
*'''On value:''' specifies if the 'on' state for this light is represented by a value of '1' or '0'
 
*'''On value:''' specifies if the 'on' state for this light is represented by a value of '1' or '0'
*'''Icon:''' It specifies the icon to be used for button objects associated to this datapoint (the values correspond to the ones used in the devices list of [[systemtopo.txt]])
+
*'''Icon:''' It specifies the icon to be used for button objects associated to this datapoint (the values correspond to the ones used in the devices list of systemtopo.txt)
 
*'''Thumbnail:''' It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the [[Settings#Cameras|settings page]]
 
*'''Thumbnail:''' It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the [[Settings#Cameras|settings page]]
 
*'''Feedback datapoint:''' datapoint representing the on/off feedback. It must be a DPT 1 datapoint
 
*'''Feedback datapoint:''' datapoint representing the on/off feedback. It must be a DPT 1 datapoint
Line 53: Line 57:
  
 
To add a "dimmer" virtual datapoint select the “Dimmers” tab and click on the “+” button in the bottom bar.
 
To add a "dimmer" virtual datapoint select the “Dimmers” tab and click on the “+” button in the bottom bar.
 +
 +
[[File:KNX_Util_Dimmer.png|thumb|250px|Dimmer virtual datapoint.]]
  
 
==== Attributes ====
 
==== Attributes ====
Line 58: Line 64:
 
*'''Description:''' a textual description of the datapoint. It will be visible in the [[Project Editor]] when configuring GUI objects
 
*'''Description:''' a textual description of the datapoint. It will be visible in the [[Project Editor]] when configuring GUI objects
 
*'''On value:''' specifies if the 'on' state for this light is represented by a value of '1' or '0'
 
*'''On value:''' specifies if the 'on' state for this light is represented by a value of '1' or '0'
 +
*'''Step value:''' specifies the step value to send to the Step command datapoint (if defined) when using a [[3button]] to dim the light
 +
*'''Dimming curve:''' enable this option if the dimmer has a timed dimming curve. The buttons connected to this datapoint will show an animated slider when a new brightness level is set.
 +
*'''Trip time:''' this option is available only if 'Dimming curve' is enabled. If set to 'Auto' the trip time of the dimming curve will be automatically calculated and adjusted by HSYCO; otherwise it is possible to specify a fixed trip time in seconds.
 
*'''Thumbnail:''' It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the [[Settings#Cameras|settings page]]
 
*'''Thumbnail:''' It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the [[Settings#Cameras|settings page]]
 
'''Feedback datapoints:'''
 
'''Feedback datapoints:'''
Line 65: Line 74:
 
*'''Level:''' datapoint to be addressed when sending a dimming level command. It must be a DPT 5 datapoint
 
*'''Level:''' datapoint to be addressed when sending a dimming level command. It must be a DPT 5 datapoint
 
*'''On/Off:''' datapoint to be addressed when sending an on/off command. It must be a DPT 1 datapoint
 
*'''On/Off:''' datapoint to be addressed when sending an on/off command. It must be a DPT 1 datapoint
 +
*'''Step:''' datapoint to be addressed when sending a step command. It must be a DPT 3 datapoint, generally DPT 3.007 (control dimming)
  
 
=== Automation ===
 
=== Automation ===
Line 71: Line 81:
  
 
To add an "automation" virtual datapoint select the “Automations” tab and click on the “+” button in the bottom bar.
 
To add an "automation" virtual datapoint select the “Automations” tab and click on the “+” button in the bottom bar.
 +
 +
[[File:KNX_Util_Automation.png|thumb|470px|Automation virtual datapoint.]]
 +
 +
==== Attributes ====
 +
*'''ID:''' an identification number for this datapoint. It will be used to compose the ID of the corresponding datapoint of the KNX I/O Server (e.g. if ID is set to 1 the corresponding datapoint will be 'autom.1')
 +
*'''Description:''' a textual description of the datapoint. It will be visible in the [[Project Editor]] when configuring GUI objects
 +
*'''Up value:''' specifies if the 'up' direction for this automation is represented by a value of '1' or '0'
 +
*'''Closed value:''' specifies if the 'closed' state for this automation is represented by a value of '255' or '0' of the position feedback
 +
*'''Use position:''' specifies wether to use percentage values or not for the read values of the datapoint of the KNX I/O Server. If position is used a button linked to the datapoint will have a slider to control and visualize the position of the automation
 +
*'''Trip time:''' if position is used, specifies the trip time (in seconds) from position close to open. If the field is left blank or set to '0' the trip time will be automatically calculated
 +
*'''Icon:''' the icon to be used for the buttons associated to this automation datapoint. Available choices are 'vshut' (vertical shut) or 'hshut' (horizontal shut)
 +
*'''Thumbnail:''' It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the [[Settings#Cameras|settings page]]
 +
'''Feedback datapoints:'''
 +
*'''Position:''' datapoint representing the position feedback. It must be a DPT 5 datapoint
 +
*'''Up/Down:''' datapoint representing the up/down direction feedback. It must be a DPT 1 datapoint
 +
*'''Movement:''' datapoint representing the movement feedback. It must be a DPT 1 datapoint
 +
*'''Stop up:''' datapoint representing the “stop in upper position” state feedback. It must be a DPT 1 datapoint
 +
*'''Stop down:''' datapoint representing the “stop in lower position” state feedback. It must be a DPT 1 datapoint
 +
'''Command datapoints:'''
 +
*'''Up/Down:''' datapoint to be addressed when sending an up/down command. It must be a DPT 1 datapoint
 +
*'''Stop:''' datapoint to be addressed when sending a stop command. It must be a DPT 1 datapoint
 +
*'''Position:''' datapoint to be addressed when sending a position command. It must be a DPT 5 datapoint
 +
 +
=== Thermostat ===
 +
 +
----
 +
 +
To add an "thermostat" virtual datapoint select the “Thermostat” tab and click on the “+” button in the bottom bar.
 +
 +
[[File:KNX_Util_Thermostat.png|thumb|250px|Thermostat virtual datapoint.]]
  
 
==== Attributes ====
 
==== Attributes ====
;ID: an identification number for this datapoint. It will be used to compose the ID of the corresponding datapoint of the KNX I/O Server (e.g. if ID is set to 1 the corresponding datapoint will be 'autom.1')
+
*'''ID:''' an identification number for this datapoint. It will be used to compose the ID of the corresponding datapoint of the KNX I/O Server (e.g. if ID is set to 1 the corresponding datapoint will be 'thermo.1')
;Description: a textual description of the datapoint. It will be visible in the [[Project Editor]] when configuring GUI objects
+
*'''Description:''' a textual description of the datapoint. It will be visible in the [[Project Editor]] when configuring GUI objects
 +
*'''Unit:''' The temperature unit to show on the associated tempmini Web object: C, F or K.
 +
'''Feedback datapoints:'''
 +
*'''Setpoint:''' datapoint representing the temperature setpoint feedback. It must be a DPT 9 datapoint
 +
*'''Status:''' datapoint representing the working status feedback of the thermostat (e.g. "comfort", "stand-by", ...). It must be a DPT 5 datapoint
 +
*'''Temperature:''' datapoint representing the measured temperature. It must be a DPT 9 datapoint
 +
*'''Mode:''' datapoint representing working mode (heating or cooling). It must be a DPT 1 datapoint
 +
*'''Heating status:''' datapoint representing the heating level feedback. It must be a DPT 5 datapoint
 +
*'''Cooling status:''' datapoint representing the cooling level feedback. It must be a DPT 5 datapoint
 +
'''Command datapoints:'''
 +
*'''Setpoint:''' datapoint to be addressed when sending a temperature setpoint command. It must be a DPT 9 datapoint
 +
*'''Setpoint mode:''' datapoint to be addressed when sending a command to change the working status. It must be a DPT 5 datapoint
 +
 
 +
== KNX Bus Monitor ==
 +
 
 +
The KNX Utility provides an interface for monitoring the KNX bus which is useful for testing purposes and helps detect the underlying KNX framework structure if unknown.
 +
To access the monitor, click on the "Monitor" button in the bottom-right corner and enable the monitor mode by clicking on the “Start” button.
 +
 
 +
[[File:KNX_Util_Monitor.png|border|600px|center|KNX bus monitor.]]
 +
 
 +
Whenever a frame is detected on the bus, it will be listed in the central panel:
 +
 
 +
[[File:KNX_Util_Monitor_With_Frames.png|border|600px|center|Frames listed in the KNX bus monitor.]]
 +
 
 +
For each frame the following data will be reported:
 +
*The time when the frame has been detected
 +
*The destination group address the frame was sent to (with corresponding ID and description if a datapoint with that address is defined)
 +
*The individual address of the device which generated the frame (souce)
 +
*Hexadecimal representation of the user data contained in the frame (with the value formatted according to the DPT of the datapoint, if defined)
 +
 
 +
Using the read and write functions you can respectively recall the value currently assigned to a specific group address or write a value to it (if allowed by the KNX framework settings).
 +
When reading or writing, the DPT field must be specified so that the value can be interpreted accordingly. The value to be written or shown after a reading, is expressed as a value formatted for the specified DPT.
 +
 
 +
For details on how a value is formatted for a specific DPT see the [[KNX#Datapoint types and values|datapoint types and values section of the KNX I/O Server page]].
 +
 
 +
The “Scan” button on the top right corner lets you send consecutive read requests to a set of group addresses. Specify the address range using the fields “From” and “To”, press “Scan” and wait until the scanning procedure is complete to analyze the received responses. To interrupt the scanning press the "Stop" button.

Latest revision as of 09:36, 28 April 2014

Manager KNX Utility Icon.png The KNX Utility application provides a graphical interface to configure a KNX I/O Server. Whenever a KNX I/O Server is defined in HSYCO, the KNX Utility will appear among the applications of the manager.

Open the application and select the KNX I/O Server to be configured in the select field in the top-right corner. If only one KNX I/O Server is defined it will be automatically selected.

Import an ETS4 project

To import an ETS4 project, upload the .knxproj file on HSYCO server, then click on the "Import" button at the bottom of the page and enter the file name (the “.knxproj” extension can be omitted).

ETS4 project import.

The checkbox option “keep defined virtual datapoints” is needed when updating an old KNX installation to an extended one and you need to retain the previously created virtual datapoints.

This procedure will create a datapoint for each group defined in the ETS project with the corresponding DPT type and the default attributes.

Datapoints

A datapoint is the equivalent of a group of the KNX framework. New datapoints can be added employing the import procedure described above or manually, by clicking on the "+" button in the "KNX Datapoints" tab. To modify the attributes of a datapoint click on the corresponding item in the list.

Datapoint.

Attributes

  • Address: this is the KXN group address corresponding to this datapoint ranging from 0/0/1 to 31/7/255. It must be unique for each defined datapoint
  • DPT: the DPT type (ranging from 1 to 18) used to format the datapoint value
  • ID: the ID to assign to the corresponding datapoint of the KNX I/O Server. It can be any unique string without spaces
  • Description: a textual description of the datapoint. It will be visible in the Project Editor when configuring GUI objects
  • Priority: KNX priority to be used when sending frames to this group (low, normal or urgent)
  • Read: check this option if this group
  • Icon: attribute for DPT 1 datapoints. It specifies the icon to be used for button objects associated to this datapoint (the values correspond to the ones used in the devices list of systemtopo.txt)
  • Thumbnail: attribute for DPT 1 datapoints. It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the settings page

Virtual datapoints

KNX lights, dimmers, automations (e.g. blinds) and thermostats need a set of datapoints for control and feedback. It is possible to create a virtual datapoint that links these datapoints so to be treated as a single one which, in turn, can be directly associated to an object in the Web user interface.

Light


To add a "light" virtual datapoint select the “Lights” tab and click on the “+” button in the bottom bar.

Light virtual datapoint.

Attributes

  • ID: an identification number for this datapoint. It will be used to compose the ID of the corresponding datapoint of the KNX I/O Server (e.g. if ID is set to 1 the corresponding datapoint will be 'light.1')
  • Description: a textual description of the datapoint. It will be visible in the Project Editor when configuring GUI objects
  • On value: specifies if the 'on' state for this light is represented by a value of '1' or '0'
  • Icon: It specifies the icon to be used for button objects associated to this datapoint (the values correspond to the ones used in the devices list of systemtopo.txt)
  • Thumbnail: It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the settings page
  • Feedback datapoint: datapoint representing the on/off feedback. It must be a DPT 1 datapoint
  • Command datapoint: datapoint to be addressed when sending on/off commands. It must be a DPT 1 datapoint

Dimmer


To add a "dimmer" virtual datapoint select the “Dimmers” tab and click on the “+” button in the bottom bar.

Dimmer virtual datapoint.

Attributes

  • ID: an identification number for this datapoint. It will be used to compose the ID of the corresponding datapoint of the KNX I/O Server (e.g. if ID is set to 1 the corresponding datapoint will be 'dimmer.1')
  • Description: a textual description of the datapoint. It will be visible in the Project Editor when configuring GUI objects
  • On value: specifies if the 'on' state for this light is represented by a value of '1' or '0'
  • Step value: specifies the step value to send to the Step command datapoint (if defined) when using a 3button to dim the light
  • Dimming curve: enable this option if the dimmer has a timed dimming curve. The buttons connected to this datapoint will show an animated slider when a new brightness level is set.
  • Trip time: this option is available only if 'Dimming curve' is enabled. If set to 'Auto' the trip time of the dimming curve will be automatically calculated and adjusted by HSYCO; otherwise it is possible to specify a fixed trip time in seconds.
  • Thumbnail: It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the settings page

Feedback datapoints:

  • Level: datapoint representing the dimming level feedback. It must be a DPT 5 datapoint
  • On/Off: datapoint representing the on/off feedback. It must be a DPT 1 datapoint

Command datapoints:

  • Level: datapoint to be addressed when sending a dimming level command. It must be a DPT 5 datapoint
  • On/Off: datapoint to be addressed when sending an on/off command. It must be a DPT 1 datapoint
  • Step: datapoint to be addressed when sending a step command. It must be a DPT 3 datapoint, generally DPT 3.007 (control dimming)

Automation


To add an "automation" virtual datapoint select the “Automations” tab and click on the “+” button in the bottom bar.

Automation virtual datapoint.

Attributes

  • ID: an identification number for this datapoint. It will be used to compose the ID of the corresponding datapoint of the KNX I/O Server (e.g. if ID is set to 1 the corresponding datapoint will be 'autom.1')
  • Description: a textual description of the datapoint. It will be visible in the Project Editor when configuring GUI objects
  • Up value: specifies if the 'up' direction for this automation is represented by a value of '1' or '0'
  • Closed value: specifies if the 'closed' state for this automation is represented by a value of '255' or '0' of the position feedback
  • Use position: specifies wether to use percentage values or not for the read values of the datapoint of the KNX I/O Server. If position is used a button linked to the datapoint will have a slider to control and visualize the position of the automation
  • Trip time: if position is used, specifies the trip time (in seconds) from position close to open. If the field is left blank or set to '0' the trip time will be automatically calculated
  • Icon: the icon to be used for the buttons associated to this automation datapoint. Available choices are 'vshut' (vertical shut) or 'hshut' (horizontal shut)
  • Thumbnail: It can be used to optionally associate an image or a camera to the datapoint. For images, use the filename of a file located in the www/img directory. To associate a camera, the “cam:<n>” format should be used, where <n> is the camera index starting from 1, based on the order of the camera list in the settings page

Feedback datapoints:

  • Position: datapoint representing the position feedback. It must be a DPT 5 datapoint
  • Up/Down: datapoint representing the up/down direction feedback. It must be a DPT 1 datapoint
  • Movement: datapoint representing the movement feedback. It must be a DPT 1 datapoint
  • Stop up: datapoint representing the “stop in upper position” state feedback. It must be a DPT 1 datapoint
  • Stop down: datapoint representing the “stop in lower position” state feedback. It must be a DPT 1 datapoint

Command datapoints:

  • Up/Down: datapoint to be addressed when sending an up/down command. It must be a DPT 1 datapoint
  • Stop: datapoint to be addressed when sending a stop command. It must be a DPT 1 datapoint
  • Position: datapoint to be addressed when sending a position command. It must be a DPT 5 datapoint

Thermostat


To add an "thermostat" virtual datapoint select the “Thermostat” tab and click on the “+” button in the bottom bar.

Thermostat virtual datapoint.

Attributes

  • ID: an identification number for this datapoint. It will be used to compose the ID of the corresponding datapoint of the KNX I/O Server (e.g. if ID is set to 1 the corresponding datapoint will be 'thermo.1')
  • Description: a textual description of the datapoint. It will be visible in the Project Editor when configuring GUI objects
  • Unit: The temperature unit to show on the associated tempmini Web object: C, F or K.

Feedback datapoints:

  • Setpoint: datapoint representing the temperature setpoint feedback. It must be a DPT 9 datapoint
  • Status: datapoint representing the working status feedback of the thermostat (e.g. "comfort", "stand-by", ...). It must be a DPT 5 datapoint
  • Temperature: datapoint representing the measured temperature. It must be a DPT 9 datapoint
  • Mode: datapoint representing working mode (heating or cooling). It must be a DPT 1 datapoint
  • Heating status: datapoint representing the heating level feedback. It must be a DPT 5 datapoint
  • Cooling status: datapoint representing the cooling level feedback. It must be a DPT 5 datapoint

Command datapoints:

  • Setpoint: datapoint to be addressed when sending a temperature setpoint command. It must be a DPT 9 datapoint
  • Setpoint mode: datapoint to be addressed when sending a command to change the working status. It must be a DPT 5 datapoint

KNX Bus Monitor

The KNX Utility provides an interface for monitoring the KNX bus which is useful for testing purposes and helps detect the underlying KNX framework structure if unknown. To access the monitor, click on the "Monitor" button in the bottom-right corner and enable the monitor mode by clicking on the “Start” button.

KNX bus monitor.

Whenever a frame is detected on the bus, it will be listed in the central panel:

Frames listed in the KNX bus monitor.

For each frame the following data will be reported:

  • The time when the frame has been detected
  • The destination group address the frame was sent to (with corresponding ID and description if a datapoint with that address is defined)
  • The individual address of the device which generated the frame (souce)
  • Hexadecimal representation of the user data contained in the frame (with the value formatted according to the DPT of the datapoint, if defined)

Using the read and write functions you can respectively recall the value currently assigned to a specific group address or write a value to it (if allowed by the KNX framework settings). When reading or writing, the DPT field must be specified so that the value can be interpreted accordingly. The value to be written or shown after a reading, is expressed as a value formatted for the specified DPT.

For details on how a value is formatted for a specific DPT see the datapoint types and values section of the KNX I/O Server page.

The “Scan” button on the top right corner lets you send consecutive read requests to a set of group addresses. Specify the address range using the fields “From” and “To”, press “Scan” and wait until the scanning procedure is complete to analyze the received responses. To interrupt the scanning press the "Stop" button.