snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 55 forks source link

DPT14 for thermostat #95

Open deejonz opened 7 years ago

deejonz commented 7 years ago

I have a thermostat which returns the humidity only in DPT14 (generic 4 bytes float). Is it long to implement this? What's the file to modify in case I want to try implement it?

deejonz commented 7 years ago

@snowdd1 any help on this?

snowdd1 commented 7 years ago

If I find time I will have a look at the 4 bytes float type, I didn't need that type so far and don't have a device that supports it.

deejonz commented 7 years ago

Thanks Raoul,

if it can help, I can share you privately my KNX ip address and the related group address which returns the 4 bytes float values.

Thanks.

On Sun, Jul 2, 2017 at 10:06 PM, Raoul notifications@github.com wrote:

If I find time I will have a look at the 4 bytes float type, I didn't need that type so far and don't have a device that supports it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snowdd1/homebridge-knx/issues/95#issuecomment-312513885, or mute the thread https://github.com/notifications/unsubscribe-auth/AA47HnmChf2OVIeh0N6tCqEjDzrQZg-fks5sJ_g9gaJpZM4N8afA .

snowdd1 commented 7 years ago

Hi @deejonz
I found out the library I use for connecting node to the knxd does not support 4 byte float (yet).
As I do not have the time to add that right now you might ask the author of node-eibd, @andreek, to help you, or you fork that repository and implement support for 4-byte-float types yourself.
Regards
Raoul

deejonz commented 7 years ago

Hi, thanks for your time. I will ask Andreek if he can help. Regards. Stefano.

farmio commented 6 years ago

https://github.com/farmio/node-eibd/commit/5e65bf29105f22b20960909cce0011e8ec855877 Regards Matthias

snowdd1 commented 5 years ago

Hi @farmio have you had a look at my (abandoned) project to have a generic DPT parser implemented in nodejs?

https://github.com/snowdd1/knx-dpt-parser

If you are interested you might inherit that package, I do not have the time to work on it right now and bring in a productive state.

farmio commented 5 years ago

@snowdd1 Hi! I kind of have my (abandoned) project myself. I extended node-eibd with a handfull DPT encoder / decoder and a function to assign a specific DPT to a GA: https://github.com/farmio/node-eibd/tree/dpt-memory

A nicely documented DPT parser is also https://github.com/Rafelder/knx-datapoints

I haven't looked further into merging this projects as I found that https://github.com/XKNX/xknx seems to work a better than knxd in my environment.

coinraiser commented 5 years ago

any progress on 4 byte? would like to use it for power consumption,also can u add service PowerMeter type and Characteristics type Watts and KilowattHours? From https://github.com/sprut666666/new-types-for-homekit ets

coinraiser commented 5 years ago

knxd reads it with no problem knxtool groupreadresponse ip:localhost 4/7/2 Send request Response from 2.1.29: 44 01 95 1F

marcobastianon commented 1 month ago

@deejonz are you still looking for handling dtp14?