LaCrosse Sensor
The lacrosse
sensor platform is using the data provided by a Jeelink USB dongle or this Arduino sketch.
Tested Devices
- Technoline TX 29 IT (temperature only)
- Technoline TX 29 DTH-IT (including humidity)
Setup
Since the sensor change their ID after each powercycle/battery change you can check what sensor IDs are available by using the command-line tool pylacrosse
from the pylacrosse package.
$ sudo pylacrosse -d /dev/ttyUSB0 scan
To use your lacrosse
compatible sensor in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: lacrosse
sensors:
sensor_identifier:
type: SENSOR_TYPE
id: SENSOR_ID
Configuration Variables
- device
-
(string)(Required)The serial device.
Default value: /dev/ttyUSB0
- baud
-
(int)(Required)The serial baudrate.
Default value: 57600
- led
-
(boolean)(Optional)Activate or deactivate the Jeelink LED.
- frequency
-
(int)(Optional)Initial frequency in 5kHz steps.
- datarate
-
(int)(Optional)Set the data rate in kbps. Special values for well-known settings are:
0
: 17.241 kbps,1
: 9.579 kbps,2
: 8.842 kbps. - toggle_mask
-
(int)(Optional)The following values can be combined bitwise:
1
= 17.241 kbps,2
= 9.579 kbps,4
= 8.842 kbps - toggle_interval
-
(int)(Optional)Enable the toggle mode and set the interval in seconds.
- sensors
-
(map)(Required)A list of your sensors.
Examples
To setup a lacrosse sensor with multiple sensors, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: lacrosse
device: /dev/ttyUSB0
baud: 57600
sensors:
kitchen_humidity:
name: Kitchen Humidity
type: humidity
id: 72
kitchen_temperature:
name: Kitchen Temperature
type: temperature
id: 72
kitchen_lacrosse_battery:
name: Kitchen Sensor Battery
type: battery
id: 72