beanz / xpl-perl

Perl modules for the xPL Home Automation Protocol
19 stars 12 forks source link

Oregon THWR800 Pool temperature #16

Closed Clement87 closed 10 years ago

Clement87 commented 10 years ago

Hi, I just add the Oregon THWR800 to the recognized devices, here is how to add it: In Oregon.pm, add:

type_length_key(0xca48, 68) => { part => 'THWR800', checksum => &checksum1, method => 'common_temp', },

Thanks for the good work

beanz commented 10 years ago

Do you have an example of the hex for a THWR800 message and the corresponding reading, so I can add a test case? Thanks, Mark.

Clement87 commented 10 years ago

Thanks Mark, here is the output of xpl-rfxcom-rx --rfxcom-rx-verbose --rfxcom-rx-tty /dev/ttyUSB1

Processed: 44ca4834d11029908300 xpl-trig/sensor.basic: bnz-rfxcomrx.serveurxpl -> * - thwr800.d1[temp]=29.1 xpl-trig/sensor.basic: bnz-rfxcomrx.serveurxpl -> * - thwr800.d1[battery]=90

Best, Clement

beanz commented 10 years ago

Great. Thanks the next Device::RFXCOM release to CPAN will include this fix and will hopefully appear shortly. -Mark