python-lacrosse icon indicating copy to clipboard operation
python-lacrosse copied to clipboard

LacrosseGateway

Open olivernovakovic opened this issue 4 years ago • 2 comments

Is there any chance you could add support for the LacrosseGateway (LGW) ? And the EC 3000 ? The LGW sends data over a TCP socket instead of the serial port. And the EC 3000 is just an additional emitting on a different frequency. I can support by sending you a LGW if needed.

Thanks for considering

olivernovakovic avatar Mar 28 '21 00:03 olivernovakovic

+1 for this, but with a different angle.

I use pylacrosse to integrate my LacrosseGateway (LGW) with Home Assistant over the serial port. The LGW uses an Arduino Sketch (https://wiki.fhem.de/wiki/LaCrosseGateway_V1.x).

The LGW supports DHT22-Sensors in addition to tx29-dth, that is why I use the Gateway and not the regular Jeelink-Sketch mentioned under requirements for pylacrosse. The problem I am now facing is that the LGW sends the data from the DHT22 in a different format than the tx29-dth-Sensors.

From the log, normal tx29-dth Sensor: OK 9 3 1 4 186 44 [90 C6 10 2C DE]

the dht22 Sensor: OK WS 0 4 4 200 39 255 255 255 255 255 255 255 255 0 255 255 255 255 255 255 255 255 255 255 255

The FHEM-Wiki page (see link above) explains that the LGW sends the dht22 data in the WS 1600-Format (Weatherstation) and uses the device id=0. Unfortunately pylacrosse does not recognize this format.

Is there a way to add support for this data-format in pylacrosse?

Thanks in advance.

obymm avatar Feb 24 '25 13:02 obymm

Hi, since I just use this lib as is and do not plan to work on it any longer I can not add support for that. But if you are interested in doing that feel free to provide a pull-request with that changes.

hthiery avatar Mar 04 '25 13:03 hthiery