question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[knx] Unexpected behavior using DTP 5.001

See original GitHub issue

Tested on a 2.4.0-SNAPSHOT Build #1401 on Windows, with only KNX2 binding installed.

Expected Behavior

  1. I would expect that DTP 5.001 can also be configured as a number thing.
  2. The loosing of the KNX packets when DTP 5.001 configured as number should minimum raise a warning?!

Current Behavior

DTP 5.001 correctly configured to get percent value: KNX Thing in ./conf/things/*.thing: it normally has to be Type dimmer

Type dimmer  :OG_mitte_Status_Stellwert_0_2_42	"OG mitte Status Stellwert"	[ position="5.001:<0/2/42", autoupdate="true" ]	//	1 byte K L - U - Prozent (0..100%)

KNX Item in ./conf/items/*.item: it normally has to be Dimmer Item

Dimmer  OG_mitte_Status_Stellwert_0_2_42	"OG mitte Status Stellwert [%d %%]"	(OG, gHeizaktoren, gMitte, gSQLeveryDayChange)	{ channel="knx:device:bridge:knx_heataktors:OG_mitte_Status_Stellwert_0_2_42" }	

Log output: Use dimmer thing as Dimmer Item:

2018-10-27 08:44:11.433 [vent.ItemStateChangedEvent] - OG_mitte_Status_Stellwert_0_2_42 changed from 100 to 8

Use dimmer thing as Number Item:

08:49:04.398 [INFO ] [smarthome.event.ItemStateChangedEvent] - OG_mitte_Status_Stellwert_0_2_42 changed from 0.08000000 to 1.00000000

When I switch my thing to Type number or Item AND Thing to number, I get no update from the KNX bus anymore. It does not matter if i have defined my thing with or without DTP definition position="5.001:<0/2/42".

It would be desirable if we could define DTP 5.001 alternatively as a number in the Things. It seems to me at least not logical because this behavior leads to confusion.

The loosing of the KNX packets is not correct. In addition, the KNX binding does not even raise a warning for this case.

Originally we discussed here: https://github.com/openhab/openhab2-addons/issues/4146

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lewiecommented, Nov 4, 2018

@bjoernbrings, knx2 is relatively new, we have to improve it bit by bit. @zaphood1967, currently I can not come up with a solution or reproduce the behavior. But I will keep your observation in mind.

0reactions
hmerkcommented, Jul 26, 2021

closed due to inactivity

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog - Asynchronous Python Library for KNX - XKNX
Fixes unexpected behaviour like GatewayScanner not finding all interfaces. ... Use multicast_group from a .knxkeys keyring files MulticastAddress tag ...
Read more >
KNX controller multi-application DIN - catalogo bticino
Manual control is possible for each channel through the built-in ... The parameter defines the behaviour of the actuator at a bus power....
Read more >
KNX Presence Sensors - Interra Technology
One of our most important aims is to provide you with the best ... This document contains Interra ITR415-XXXX coded KNX Presence Sensor...
Read more >
ABB i-bus KNX Room Master RM/S 3.1 Product Manual
with a presence detector. The communication of the devices via the KNX bus also enables control ... How does the device behave with...
Read more >
EAE KNX Room Control Unit - Product Manual RCUXXYY
yes. You can use this parameter to send the switching state in the event of bus voltage recovery. Behavior after ETS programming or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found