Patrik Åkerfeldt
Patrik Åkerfeldt
Sure, this should be doable. How would you envision it to work? A configuration to publish to the named topic instead of using the numeric group address?
I'm not familiar to that architecture but it doesn't sound unreasonable and to some extent it's already pretty close. I will have this in mind for the future.
I'm afraid I won't be implementing this architecture.
I think the issue lies in knx-mqtt-bridge. What happens if you try: `mosquitto_pub -t 'knx/9/0/0/write/dtp11' -m "{\"type\": \"Buffer\", \"data\": [21, 11, 20]}"`
I was reading the source code of knx.js and it seems to convert a date like so: ``` let value = new Date() const year = value.getFullYear(); return Buffer.from([ value.getDate(),...
My bad, I was just sending the date (dpt11), not full timestamp (dpt19).
If you do the conversion to a buffer yourself, you can get this to work with the current release. Obviously, it's not optimal but it's at least a possibility. I'm...
Let me know if you need any help on that buffer. I'm keeping this bug open though since I think this library should be better at handling these types. Will...
@systeemgod I bet you already sorted this out by now. Anyway, I've just released a new KNX / MQTT bridge written in Go that you can find here: https://github.com/pakerfeldt/knx-mqtt It's...