-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GroupValueResponse is ignored #162
Comments
I have the same problem. Have tested with all the versions v1.0.41 to 1.0.45 without success. node: v12.21.0, js-controller: 3.2.16. Forum post: https://forum.iobroker.net/topic/26167/test-adapter-knx-v1-0-x/442?_=1616858621504 I actually thought this was working earlier but not sure anymore. I tried using the older knxproj-file from ETS 5.7.4 together with the above versions and used a clean installation of the Instance every time. Lastly, I also removed the KNX Adapter and reinstalled the latest version and created a new instance with import from ETS 5.7.5. Problem persists. Also tested to change the State DB from File to Redis, but didn't help. Object DB is File. The problem seems to be with all DPs, but the one I mostly tested with is a Dimmer Level Status % for a Light. DPT5.001. See below several parts of the log-file. The first log level was set to More but for the lasts I changed to Most. They are all from v.1.0.45. DP Object - GA 4/7/21 { |
@chefkoch009 Any chance you could confirm if this actually is a bug in the Adapter, or if it works as it should on other installations? As I also wrote on the Forum, it's very easy to reproduce:
|
is there any progress on this topic or can I somewhere help? |
@Videonisse the communication between the KNX Gateway and the KNX adapter is heavily depending on your ETS setup ( gateway. In many other users all state updates driven from IOBroker are working coorrectly. |
@RESDE Sorry but I don't know how to send a PM to a GitHub user, is it possible? I created a test project with just one light and has been testing this with a separate instance of the KNX Adapter. My KNX interface is a Weinzierl KNX IP Interface 730. Using this I have exactly the same problem as when I'm using my production setup. Are you 100% sure that there is no problem with other installations where it seems to work? Have you tried to reproduce the issue as I tried to explain above? First I was sure it was working for me as well, as time stamp and everything indicates this, but it's not. I have asked in the forum if someone could do the test and confirm if it work for not for them, but no one as answered. Until it's confirmed, I believe it actually is a bug. Here is my knxproj file: (How can I paste log files without that Githib removes the linebreaks?) |
Below is again some log information as screen dumps instead of text. (The value was 40%, then is Adapter turned off and the value changed in KNX to 37%. When the Adapter is turned on, it sends a GroupValueRead and also receives the new value of 37%. Timestamp for Object is updated BUT THE NEW VALUE IS NOT WRITTEN TO OBJECT: |
@Videonisse for a PN just check out my User RES_DE in the IOBroker Forum there is the opportunity that we xchange Themen |
Clarification regarding the problem: There is no problem with the "response" values for boolean values or numbers that is = 0 (zero). I have tested numbers with 1 byte DPT 5.001 (%) and 2 bytes DPT 7.012 (mA). The problem is with values greater than 0 (zero). They are received (visible in adapter log) but NOT written to the state database and not updated in the object. Anyone else with the same problem? |
@chefkoch009 are there any chance you could give some feedback regarding your thoughts about this issue? It's really quick and easy to reproduce and if the above screen dumps wasn't clear enough, below shows with 100% certainty that that response value is received by the KNX Adapter but NOT written to the state database. If this isn't a serious bug in the KNX Adapter, what is the cause of the problem? The easiest way to reproduce the Issue:
In the below screen dumps, in step 5, the dim value remains 0% but log shows clearly that a value of 50% was received. Timestamp confirmed that the object was updated, but not with the new value. Additional: if the light is toggled off/on when KNX Adapter is active, the problem will not be identified as the new value is received as GroupValueWrite. |
so the issue is reproducable. is there any progress? @chefkoch009 |
@chefkoch009 This Issue remains with v2.0.2. Any idea why the value is not updated? |
Any news on this topic. |
i fixed in V2.0.12 some things related to this issue. could you check it please? |
Nice, thanks! I have only done one quick test (the one explained above) and now it works! I appreciate your effort! |
so, this issue can be closed? |
From my perspective yes. Maybe also issue #122 can be closed? |
Great. So I close this issue... thanks for response. |
Once the iobroker knx adapter sends a GroupValueRead (Object with R&W flag) the knx bus shows that there is also a GroupValueResponse, but that one is ignored. The Iobroker object stays at 0°C.
The iobroker object is only updated once the knx device is sending the KNX Object on its own.
Version 1.0.44
The text was updated successfully, but these errors were encountered: