Question to lacrosse sensors - update rate / check of availability

Hi !

I use a jeelink USB device to connect 6 different Sensors (tx29dth-it) to my home assistant. This works so far since month and I have no problem so far.

But there is one question to me.

  • How can I control / check regularly if the sensors are still available ? This would be nice to see if the sensors are still working correctly.

  • How can I change / define the update rate on home assistant? As far as I see can see the sensor sends signal every few seconds, but home assistant only updates if there is a change of the value.

Thank you for your feedback.

Greets Karl

Hi, could you advise me how you managed to run these Sensors? I have the same (tx29dth-it) but I do not see them in my home assistant.

I checked a lot of post in this forum but was nit successfull so far. For the Question on how to check regularly if the sensors are still available I would propose to read out the battery status regulary. This could help to see if the sensors are still working.

please tell me how you integrated them. I am completely lost. I use the jeelink USB as you.

thanks, Alex

What do you mean that you do not see them ?

I just integrated them into the configuration.yaml as told in the manual for the integration.

see here for example:

  - platform: lacrosse
    device: /dev/ttyUSB0
    baud: 57600
    sensors:
      lacrosse_temp_1_humidity:
        name: BĂĽro OG Lufteuchte
        type: humidity
        id: 11
      lacrosse_temp_1_temperature:
        name: BĂĽro OG Temperatur
        type: temperature
        id: 11
      lacrosse_temp_1_lacrosse_battery:
        name: BĂĽro OG Sensor Batterie
        type: battery
        id: 11
      
      lacrosse_temp_2_humidity:
        name: Flur OG Lufteuchte
        type: humidity
        id: 15
      lacrosse_temp_2_temperature:
        name: Flur OG Temperatur
        type: temperature
        id: 15
      lacrosse_temp_2_lacrosse_battery:
        name: Flur OG Sensor Batterie
        type: battery
        id: 15

What you have to care for is that you use the right ID for the sensors. You can see the ID when you put in the battery.

But you have to convert the ID into the right format:

go to: Hexadecimal to Decimal Converter

convert the hex code to a decimal code and divide it by “4”

Hex2Dec result / 4 = new ID

If you do not have the right ID you will not see your sensors.

Hope this helps.

Greets Karl

this is exactly what I did.
I have a similar yaml config, I have calculated the values as described bu i do not have the sensors anywhere visible in Home Assistant.

do I need to restart HASS completely or do I need to reload the yaml files (what I did) …

I am confused.
GrĂĽĂźe
Alex

Strange.

I normally Just restart Home assistant when i Change the config.

I also do Not find These Sensors in the device section, but i can use the entities.

Greets Karl

ha. now I managed to see them in Home Assistant. Seems that I was not patient enough.
The sensors show up as entities as you say.

currently no Temp or humidity values. lets wait.
thanks and sorry for hijacking your thread.

but still no values. :frowning:

are you sure the ID’s are correct ?

Normally the values show up quickly - should be there within 30s after reboot.

Did you test your jeelink in another requirement like FHEM if it works correctly ?

hi, no chance. I even added a powered USB Switch. Changes Batteries again, typed in new IDs … nothing comes up.
entities there but no values.

I had the Jeelink connected some month ago with FHEM and it worked without any issues.
any other ideas?

Thats my yaml entry:

- platform: lacrosse

  device: /dev/ttyUSB0

  baud: 57600

  sensors:

      lacrosse_1_humidity:

        name: Schlafzimmer Humidity

        type: humidity

        id: 40

      lacrosse_1_temperature:

        name: Schlafzimmer Temperature

        type: temperature

        id: 40

      lacrosse_1_lacrosse_battery:

        name: Schlafzimmer Battery

        type: battery

        id: 40

     

      lacrosse_2_humidity:

        name: Badezimmer Humidity

        type: humidity

        id: 38

      lacrosse_2_temperature:

        name: Badezimmer Temperature

        type: temperature

        id: 38

      lacrosse_2_lacrosse_battery:

        name: Badezimmer Battery

        type: battery

        id: 38

     

      lacrosse_3_humidity:

        name: Keller KV Humidity

        type: humidity

        id: 48

      lacrosse_3_temperature:

        name: Keller KV Temperature

        type: temperature

        id: 48

      lacrosse_3_lacrosse_battery:

        name: Keller KV Battery

        type: battery

        id: 48

     

      lacrosse_4_humidity:

        name: Keller KW Humidity

        type: humidity

        id: 58

      lacrosse_4_temperature:

        name: Keller KW Temperature

        type: temperature

        id: 58

      lacrosse_4_lacrosse_battery:

        name: Keller KW Battery

        type: battery

        id: 58

     

      lacrosse_5_humidity:

        name: Keller KT Humidity

        type: humidity

        id: 54

      lacrosse_5_temperature:

        name: Keller KT Temperature

        type: temperature

        id: 54

      lacrosse_5_lacrosse_battery:

        name: Keller KT Battery

        type: battery

        id: 54

       

      lacrosse_6_humidity:

        name: Vorraum Humidity

        type: humidity

        id: 8

      lacrosse_6_temperature:

        name: Vorraum Temperature

        type: temperature

        id: 8

      lacrosse_6_lacrosse_battery:

        name: Vorraum Battery

        type: battery

        id: 8

At the Moment i have No further ideas … Maybe someone Else has.

Are you Sure you have the right USB device Chosen for the jeelink?

Maybe you have another one blocking the designated one.

OK. Found the issue!
Actually I have connected 3 Sticks via USB. Z-Wave, Zigbee and the Jeelink. all of them are prbably too much for the RPi4 - the powered USB Switch seems to be brocken as this was also not working. I connected the jeelink alone and BOOM it worked. seems that I have to buy a new USB powered switch. :wink:

Thanks for your patience and support.

Sounds good… Maybe this or there is an issue with the device number.

I only have the jeelink…so i never Had this Problem.

Greets Karl.

1 Like

Hi Karle,
I think id did it in the same way like you.
i have checked the usb by plugging and unplugging the device it is definitely
/dev/ttyUSB0, the baud rate and the ids of the first two sensors are from Rasperymatic/fhem
the id of the third sensor is shown as 38 so in decimal = 56 /4 = 16
alle devices are listed, but all values are “unbekannt”
Do you or anybody else have a tip for me?

These is my config:

sensor:
  - platform: lacrosse
    device: /dev/ttyUSB0
    baud: 57600
    sensors:
      gewaechshaus_klein_humidity:
        name: Gewächshaus klein Humidity
        type: humidity
        id: 17
      gewaechshaus_klein_temperature:
        name: Gewächshaus klein Temperature
        type: temperature
        id: 17
      gewaechshaus_klein_lacrosse_battery:
        name: Gewächshaus klein Battery
        type: battery
        id: 17
      gewaechshaus_vorgarten_humidity:
        name: Gewächshaus Vorgarten Humidity
        type: humidity
        id: 44
      gewaechshaus_vorgarten_temperature:
        name: Gewächshaus Vorgarten Temperature
        type: temperature
        id: 44
      gewaechshaus_vorgarten_lacrosse_battery:
        name: Gewächshaus Vorgarten Sensor Battery
        type: battery
        id: 44
      terrasse_humidity:
        name: Terrasse Humidity
        type: humidity
        id: 14
      terrasse_temperature:
        name: Terrasse Temperature
        type: temperature
        id: 14
      terrasse_lacrosse_battery:
        name: Terrasse Sensor Battery
        type: battery
        id: 14

The config looks similar to mine.

Do you have 14 or 16 in the config for the third sensor ?

Do the other sensors show up ?

Thank you for your reply. Yes, it currently 16. “Unbekannt” is displayed for all 3 sensors for all three values. Do you ore anyone have any idea what the problem could be? The Led is blinking, and the the terrace sensor is only approx. 2 metre away.

Does nobody have any more ideas? I have also tested it on a Pi4 and Pi5 in the meantime. The same result. Chat GPT said it could be the rights one but homeassistent runs under root, I used haos_rpi5-64-11.5.img.xz to install homeassistent.
On my stick is written JeeLink JeeLabs.org/jl3
(in Raperymatic it returns values, but to get nice diagrams I have introduced extra homeassitent)

ls -l /dev/ttyUSB0 returns crw-rw---- 1 root audio 188

ps -ef | grep homeassistant returns
312 root 0:00 ttyd -d1 -i hassio --writable -p 65444 tmux -u new -A -s homeassistant zsh -l
355 root 0:00 {tmux: client} tmux -u new -A -s homeassistant zsh -l
359 root 0:00 {tmux: server} tmux -u new -A -s homeassistant zsh -l

Now I have replaced the stick with another one → all values are now displayed. It w
as probably a hardware/firmware problem

1 Like

Hi @Karle,

I stumbled across the same question as you intially did before the thread was captured :wink: I’m migrating from FHEM and used the tx29dth-it as presence detection for our cars (no updates for 5 mins = absent). In HA my automation only triggers on changes of attributes which can sometime take hours. Did you find a solution to change the update rate in HA?

Thanks!
Slanesh

No, i did not find a solution Up to now to find Out If the Sensor is still present.

Greets karl

Hello,
I am complete new in Home Assistanst. But I have used this sensors in openhab and had this problem also there.
The solution was to create a timestamp every time it send data.
Not clear if this is possible in Home Assistant but I think that should be possible.
If someone can do this public the solution here please.

Regards
Axel