[New Device Support]: TS0601 TZE284_aao3yzhs

by ADMIN 45 views

In this article, we will explore the new device support for the TS0601 TZE284_aao3yzhs, a soil sensor from TuYa. We will delve into the details of the device, its features, and how to use it with Zigbee2MQTT.

Device Overview

The TS0601 TZE284_aao3yzhs is a soil sensor that measures the moisture level in the soil. It is a compact device that can be easily integrated into any home automation system. The device has a battery-powered design, making it easy to install and use.

Database Entry

The database entry for the TS0601 TZE284_aao3yzhs is as follows:

{"id":46,"type":"EndDevice","ieeeAddr":"0xa4c138bd183272d0","nwkAddr":61046,"manufId":4417,"manufName":"_TZE284_aao3yzhs","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0,60672],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65487":14400,"65503":"�PK/\u0017�PK/f�PK/\u0013�PK/\u0012O\u0000\u0000\u0000eP\u0000\u0000\u0000\u0012","65506":56,"65508":1,"modelId":"TS0601","manufacturerName":"_TZE284_aao3yzhs","powerSource":3,"zclVersion":3,"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1741889190054}

Zigbee2MQTT Version

The Zigbee2MQTT version used for this device is 1.36.0-dev, with a commit hash of 43610bb.

Comments

The comments section indicates that a external converter was created to make the device work. However, it is requested to add the device so that it can be used without an external converter.

Code

The code for the device definition is as follows:

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const modernExtend = require('zigbee-herdsman-converters/lib/modernExtend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');

const definition = {
    // Since a lot of TuYa devices use the same modelID, but use different datapoints
    // it's necessary to provide a fingerprint instead of a zigbeeModel
    fingerprint: [
        {
            // The model ID from: Device with modelID 'TS0601' is not supported
            // You may need to add \u0000 at the end of the name in some cases
            modelID: 'TS0601',
            // The manufacturer name from: Device with modelID 'TS0601' is not supported.
            manufacturerName: '_TZE284_aao3yzhs',
        },
    ],
    model: 'TS0601_soil_3',
    vendor: 'TuYa',
    description: 'Soil sensor',
    fromZigbee: [tuya.fz.datapoints],
    toZigbee: [tuya.tz.datapoints],
    onEvent: tuya.onEventSetTime,
    configure: tuya.configureMagicPacket,
    exposes: [e.temperature(), e.soil_moisture(), tuya.exposes.temperatureUnit(), e.battery(), tuya.exposes.batteryState()],
    meta: {
        // All datapoints go in here
        tuyaDatapoints: [
                [3, 'soil_moisture', tuya.valueConverter.raw],
                [5, 'temperature', tuya.valueConverter.divideBy10],
                [9, 'temperature_unit', tuya.valueConverter.temperatureUnit],
                [14, 'battery_state', tuya.valueConverter.batteryState],
                [15, 'battery', tuya.valueConverter.raw],
            ],
        
    },
    extend: [
        // A preferred new way of extending functionality.
    ],
};

module.exports = definition;

External Definition

The external definition for the device is as follows:

const definition = {
    zigbeeModel: ['TS0601'],
    model: 'TS0601',
    vendor: '_TZE284_aao3yzhs',
    description: 'Automatically generated definition',
    extend: [],
    meta: {},
};

module.exports = definition;

What Works and What Doesn't

According to the comments section, everything works with the external definition.

Conclusion

In this article, we will answer some frequently asked questions about the TS0601 TZE284_aao3yzhs, a soil sensor from TuYa.

Q: What is the TS0601 TZE284_aao3yzhs?

A: The TS0601 TZE284_aao3yzhs is a soil sensor that measures the moisture level in the soil. It is a compact device that can be easily integrated into any home automation system.

Q: What are the features of the TS0601 TZE284_aao3yzhs?

A: The TS0601 TZE284_aao3yzhs has the following features:

  • Measures soil moisture level
  • Compact design
  • Battery-powered
  • Easy to install and use
  • Compatible with Zigbee2MQTT

Q: How do I install the TS0601 TZE284_aao3yzhs?

A: To install the TS0601 TZE284_aao3yzhs, follow these steps:

  1. Place the device in the soil where you want to measure the moisture level.
  2. Make sure the device is properly connected to the power source.
  3. Configure the device using the Zigbee2MQTT software.
  4. Start monitoring the soil moisture level using the device's data.

Q: How do I configure the TS0601 TZE284_aao3yzhs using Zigbee2MQTT?

A: To configure the TS0601 TZE284_aao3yzhs using Zigbee2MQTT, follow these steps:

  1. Open the Zigbee2MQTT software.
  2. Select the TS0601 TZE284_aao3yzhs device from the list of available devices.
  3. Configure the device's settings, such as the soil moisture threshold and the reporting interval.
  4. Save the changes and restart the device.

Q: How do I monitor the soil moisture level using the TS0601 TZE284_aao3yzhs?

A: To monitor the soil moisture level using the TS0601 TZE284_aao3yzhs, follow these steps:

  1. Open the Zigbee2MQTT software.
  2. Select the TS0601 TZE284_aao3yzhs device from the list of available devices.
  3. View the soil moisture level data in real-time.
  4. Use the data to make informed decisions about watering your plants.

Q: Can I use the TS0601 TZE284_aao3yzhs with other devices?

A: Yes, you can use the TS0601 TZE284_aao3yzhs with other devices, such as smart speakers and home automation hubs. The device is compatible with Zigbee2MQTT, which allows it to integrate with a wide range of devices.

Q: What are the benefits of using the TS0601 TZE284_aao3yzhs?

A: The benefits of using the TS0601 TZE284_aao3yzhs include:

  • Accurate soil moisture level measurements
  • Easy to install and use
  • Compact design
  • Battery-powered
  • Compatible with Zigbee2MQTT

Q: Where can I buy the TS0601 TZE284_aao3yzhs?

A: You can buy the TS0601 TZE284_aao3yzhs from online retailers, such as AliExpress. Make sure to purchase from a reputable seller to ensure that you receive a genuine product.

Q: What is the warranty for the TS0601 TZE284_aao3yzhs?

A: The warranty for the TS0601 TZE284_aao3yzhs varies depending on the seller and the country where you purchased the device. Make sure to check the warranty terms and conditions before making a purchase.

Conclusion

In this article, we have answered some frequently asked questions about the TS0601 TZE284_aao3yzhs, a soil sensor from TuYa. The device is a compact and easy-to-use solution for measuring soil moisture levels, and it is compatible with Zigbee2MQTT. We hope that this article has provided you with the information you need to make an informed decision about purchasing the TS0601 TZE284_aao3yzhs.