Supergiovane / node-red-contrib-knx-ultimate

Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer.
https://youtu.be/egRbR_KwP9I
MIT License
154 stars 34 forks source link

4-Byte Values from KNX are sent as 0 #345

Closed andreklug closed 7 months ago

andreklug commented 7 months ago

Hi @Supergiovane

Describe the bug I am using the node-red-contrib-knx-ultimate node to read from the bus in Universal mode. The output is written to a log file (as decribed in #344) It works fine so far, but the output for 4-Byte values is "0". As an example, "DPT13.013 Active energy (kWh)".

Here are some screenshots showing my configuration:

ETS:

grafik

Node config:

grafik

ETS import:

grafik

(I am not sure how "uncertain" affects the result)

knx log tail:

grafik

Logging config:

grafik

The "alles loggen" sends directly to InfluxDB (same result), while everything below works towards the log file.

Knx-Ultimate Version

Are you running node-red behind homematic, docker or anything similar? LVM container in Proxmox

Thank you for looking into this!

Supergiovane commented 7 months ago

Hi! Let me check... then i return to you as soon as possible.

Supergiovane commented 7 months ago

Hi, do you have imported the ETS csv file?

andreklug commented 7 months ago

Hi, I was about to say yes because the (last used) export settings in ETS look exactly like the screenshot you put in the docs. But it also was a long time ago. However, after export the file looks different than what I have in the KNX Gateway config. I will import again and get back to you.

andreklug commented 7 months ago

When importing the content from the CSV "as is" I am getting a lot of errors:

grafik

I think I have to go through them one by one and make sure the DPT is set. As the debuggin tab in NR keeps flushing periodically, is there another way to see a log for the import?

Not sure if any of the DPT13 lines is affected, because they are set correctly in KNX.

Supergiovane commented 7 months ago

node-red-log -n 1000 in a terminal window. You should see the log.

Supergiovane commented 7 months ago

I've tested now, and with the correct ETS csv file, it works. You can try, by adding this row into the ETS field of your gateway config window "BANANA" "7/0/47" "" "" "" "DPST-9-2" "Auto"

andreklug commented 7 months ago

You are correct: My way of importing before was wrong. After this most recent import, the 4-Byte values show up as they should. The issue is solved, thank you very much!!!

Supergiovane commented 7 months ago

You're welcome.