fruggy83 / openocean

27 stars 12 forks source link

Support Status telegram from Eltako TF-FKB #32

Closed dominikkv closed 5 years ago

dominikkv commented 5 years ago

The window contact TF-FKB sends, next to the sensor telegrams, every hour a status telegram. In this telegram, the battery voltage is given, which I want to use for maintenance.

The problem is that the EEP is not given, only the content of the telegram. The nearest EEP I could find is A5-14-01, so I would call the new EEP A5_14_01_ELTAKO (or is A5_14_01_TFFKB better?). Here the content like given in the manual: ORG = 0x07 DB0 = 0x08 DB1 = 0x00 DB2 = 0x00..0xFF = 0..5V (Battery voltage) DB3 = 0x00..0xFF = 0..5V (Battery storage)

Sample data received:

A5 8E A2 00 08 0580E268 0001FFFFFFFF5800
A5 8F A2 00 08 0580E268 0001FFFFFFFF5900

I don't know what the difference is between DB2 and DB3, so I would publish both values, adding a channel "batteryStorage". Is this OK?

dominikkv commented 5 years ago

I'm working on it.

dominikkv commented 5 years ago

Committed to branch 32-tffkb. Feel free to have a look at it, and merge if everything is ok.