Community
OpenEnergyMonitor

Community

Emonhub configuration for LaCrosse temperature&humidity sensors

emonhub
Tags: #<Tag:0x00007f16a8abdcc0>

(Sven Kopetzki) #1

I’m wondering whether it is possible with existing emonhub interfaces to parse the following serial line structure from LaCrosse temp&humidity sensors:

// Format
//
// OK 9 56 1 4 156 37 (ID = 56 T: 18.0 H: 37 no NewBatt)
// OK 9 49 1 4 182 54 (ID = 49 T: 20.6 H: 54 no NewBatt)
// OK 9 55 129 4 192 56 (ID = 55 T: 21.6 H: 56 WITH NewBatt)
// OK 9 ID XXX XXX XXX XXX
// | | | | | | |
// | | | | | | --- Humidity incl. WeakBatteryFlag
// | | | | | |------ Temp * 10 + 1000 LSB
// | | | | |---------- Temp * 10 + 1000 MSB
// | | | |-------------- Sensor type (1 or 2) +128 if NewBatteryFlag
// | | |----------------- Sensor ID
// | |------------------- fix "9"
// |---------------------- fix "OK"

It is essential for me to support the new battery flag and weak battery flag.
I couldn’t find an interfacer for this format, but can’t belief it does not already exist.

Thanks you in advance!


(stuart) #2

Given that you have serial data, it should be easy to import that, although I suspect a little programming would be needed to support the device and protocol. If you are okay with programming, take a look at the emonHUB code for ideas.