ioBroker/ioBroker.zigbee

Tuya TS0601_soil_2 is not recognized in the Zigbee adapter

Klarie2 opened this issue · 29 comments

Hello at all,
the new soil moisture sensor (V2) is listed as a compatible device in Zigbee2MQTT but apparently is not yet included in the Zigbee adapter. Could you please update it?
Thank you very much!

Zigbee2MQTT:
https://www.zigbee2mqtt.io/devices/TS0601_soil_2.html

Oh, and installed Zigbee adapter 1.10.3

Bildschirmfoto vom 2024-07-06 22-30-18

Please install the current GitHub version to test.

A.

Thank you for your quick response, Asgothian.

I have now installed version 1.10.5 from Github, deleted the soil moisture sensor, restarted the host, and re-paired the sensor. Unfortunately, without success...

Bildschirmfoto vom 2024-07-08 23-28-38

Bildschirmfoto vom 2024-07-08 23-19-36

Bildschirmfoto vom 2024-07-08 23-12-12

Seems that the device is in a newer converter. You have 3 options now:

  • Patch the zigbee-herdsman-converters on your device
  • Generate an external converter to satisfy the current zigbee-herdsman-converters
  • wait.

I can post information for the first 2 options before the end of the week, but do not know how quickly the last point will be satisfied.

A.

There's no rush. I'm happy to wait. ;o)

I am also interested in the solution :) I wait patiently

Please test with the current GitHub Version - It should support the device

This morning I installed the current version 10.5.0 from Github, deleted the sensor and restarted the host.
Unfortunately, the soil moisture sensor is not recognized again.
Everything is the same as last week for me.

[edit] Screenshot deleted

The screenshot is not interesting. How does the object tree for the device look ?

The sensor's object tree.

Bildschirmfoto vom 2024-07-17 13-18-36

Text in "Value":
{"type":"attributeReport","data":{"65503":"�\u000f*.\u0019�\u000f*.\u0007\u0000\u0000\u0000\u0000\u0011"},"linkquality":127,"groupID":0,"cluster":"genBasic","meta":{"zclTransactionSequenceNumber":254,"manufacturerCode":null,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0}},"endpoint_id":1}

Please verify that you have the zigbee-herdsman-converters version 19.62.0 installed and that no older version exists.
Once that is done, please verify that the file src/devices/tuya.ts contains the following code:

        fingerprint: tuya.fingerprint('TS0601', ['_TZE284_g2e6cpnw', '_TZE284_sgabhwa6']),
        model: 'TS0601_soil_2',
        vendor: 'Tuya',
        description: 'Soil sensor',
        fromZigbee: [tuya.fz.datapoints],
        toZigbee: [tuya.tz.datapoints],
        configure: tuya.configureMagicPacket,
        exposes: [e.temperature(), e.soil_moisture(), e.battery(), tuya.exposes.batteryState()],
        meta: {
            tuyaDatapoints: [
                [3, 'soil_moisture', tuya.valueConverter.raw],
                [5, 'temperature', tuya.valueConverter.divideBy10],
                [102, 'battery_state', tuya.valueConverter.batteryState],
                [110, 'battery', tuya.valueConverter.divideBy10],
            ],
        },
    },
klaus@raspi4iobroker:/opt/iobroker $ npm list zigbee-herdsman-converters
iobroker.inst@3.0.0 /opt/iobroker
└─┬ iobroker.zigbee@1.10.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#b395620c3af1915587feec6fcad9f222d8531126)
  └── zigbee-herdsman-converters@19.62.0

I have this one https://www.zigbee2mqtt.io/devices/TS0601_soil.html, it connects with version 1.10.5 but does not show the correct soil_moisture values. Either it shows 0% or 100%, nothing in between. Is it possible to calibrate it?

same here...I'll wait

Please test again with the current GitHub version.

Thank you very much! I paired it and it works :)

Sorry, I was away for a few days.
Today I installed the latest version of Git.
Unfortunately, without success.

The sensor's response is:
{"type":"attributeReport","data":{"65503":"��B.\u0019��B.\u0007\u0000\u0000\u0000\u0000\u0011"},"linkquality":149,"groupID":0,"cluster":"genBasic","meta":{"zclTransactionSequenceNumber":249,"manufacturerCode":null,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0}},"endpoint_id":1}

@Klarie2 Please verify that the device in question reports as _TZE284_sgabhwa6. This device is definitely supported in 1.10.5. In this case, you may have to remove the device and pair it again.

if it reports as a different device, please post which device it reports as.

A.

connectet it, but it always shows 100% soil and it's definitely not in the dirt where it's 100%

image

@di3t0 This is something the ioBroker team cannot address, as we only display the values provided by the zigbee-herdsman-converters library. There is no code within the iobroker.zigbee project to modify these values.

There has been a change within this library, but it may take a few days until this change is available within iobroker.zigbee.

A.