JohanBendz / com.tuya.zigbee

MIT License
62 stars 120 forks source link

Device Request - mmWave Radar Sensor ceiling/wall mount 24G 240V - _TZE204_dtzziy1e / MTG275-ZB-RL, TS0601 #505

Open tommetje opened 10 months ago

tommetje commented 10 months ago

Updates:

Device Name: mmWave Radar Sensor ceiling/wall mount 24G 240V Device Model: MTG275-ZB-RL, TS0601 Device Description: wall/ceiling mount (on top, not in a wall/ceiling) mmWave presence sensor. The device also has a switch that should be possible te control separately. Additionally it has a luminosity sensor (lux). Link to device image.

Device Interview: "ids": { "modelId": "TS0601", "manufacturerName": "_TZE204_dtzziy1e" }, "endpoints": { "ieeeAddress": "18:7a:3e:ff:fe:f1:c8:b9", "networkAddress": 17709, "modelId": "TS0601", "manufacturerName": "_TZE204_dtzziy1e", "endpointDescriptors": [ { "status": "SUCCESS", "nwkAddrOfInterest": 17709, "_reserved": 20, "endpointId": 1, "applicationProfileId": 260, "applicationDeviceId": 81, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 0, 4, 5, 61184 ], "outputClusters": [ 25, 10 ] } ], "deviceType": "router", "receiveWhenIdle": true, "capabilities": { "alternatePANCoordinator": false, "deviceType": true, "powerSourceMains": true, "receiveWhenIdle": true, "security": false, "allocateAddress": true }, "extendedEndpointDescriptors": { "1": { "clusters": { "basic": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "name": "zclVersion", "value": 3, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 1, "name": "appVersion", "value": 70, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 2, "name": "stackVersion", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 3, "name": "hwVersion", "value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 4, "name": "manufacturerName", "value": "_TZE204_dtzziy1e", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 5, "name": "modelId", "value": "TS0601", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 6, "name": "dateCode", "value": "", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 7, "name": "powerSource", "value": "mains", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "writable", "reportable" ], "id": 65502, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 2, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65534, "name": "attributeReportingStatus", "value": "PENDING", "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65504, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65505, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65506, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65507, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "groups": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "name": "nameSupport", "value": { "type": "Buffer", "data": [ 0 ] }, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 2, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "scenes": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 2, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 3, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 4, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 2, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" } }, "bindings": { "ota": {}, "time": { "attributes": [], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" } } } } }

Additional Comments: Manufacterer: Wenzhou Wenzhi Automation Technologie Co. Device Series: MTGX75 Firmware Version: 7.2.2-0 Device review, including hardware description and HA integration: link Bought on Aliexpress . Device support request for ZHA and Herdsman Converter image image

JSON information Tuya iot platform Standard Instruction Set:

Code Type Values
sensitivity Integer { "unit": "", "min": 1, "max": 9, "scale": 0, "step": 1 }
near_detection Integer { "unit": "m", "min": 0, "max": 1000, "scale": 2, "step": 10 }
far_detection Integer { "unit": "m", "min": 150, "max": 1000, "scale": 2, "step": 10 }

image

Standard Status Set:

Code Type Values
presence_state Enum { "range": [ "none", "presence" ] }
sensitivity Integer { "unit": "", "min": 1, "max": 9, "scale": 0, "step": 1 }
near_detection Integer { "unit": "m", "min": 0, "max": 1000, "scale": 2, "step": 10 }
far_detection Integer { "unit": "m", "min": 150, "max": 1000, "scale": 2, "step": 10 }
checking_result Enum { "range": [ "checking", "check_success", "check_failure", "others", "comm_fault", "radar_fault" ] }
target_dis_closest Integer { "unit": "m", "min": 0, "max": 1000, "scale": 2, "step": 1 }

image image

tjarb commented 9 months ago

I think it should be a new device, as it's combined radar detection and light switch.

reference

Its this one by the way: [1, 'presence', tuya.valueConverter.trueFalse1], [2, 'radar_sensitivity', tuya.valueConverter.raw], [3, 'shield_range', tuya.valueConverter.divideBy100], [4, 'detection_range', tuya.valueConverter.divideBy100], [6, 'equipment_status', tuya.valueConverter.raw], [9, 'target_distance', tuya.valueConverter.divideBy100], [101, 'entry_filter_time', tuya.valueConverter.divideBy10], [102, 'departure_delay', tuya.valueConverter.raw], [103, 'cline', tuya.valueConverter.raw], [104, 'illuminance_lux', tuya.valueConverter.divideBy10], [105, 'entry_sensitivity', tuya.valueConverter.raw], [106, 'entry_distance_indentation', tuya.valueConverter.divideBy100], [107, 'breaker_mode', tuya.valueConverterBasic.lookup({'standard': tuya.enum(0), 'local': tuya.enum(1)})], [108, 'breaker_status', tuya.valueConverterBasic.lookup({'OFF': tuya.enum(0), 'ON': tuya.enum(1)})], [109, 'status_indication', tuya.valueConverterBasic.lookup({'OFF': tuya.enum(0), 'ON': tuya.enum(1)})], [110, 'illumin_threshold', tuya.valueConverter.divideBy10], [111, 'breaker_polarity', tuya.valueConverterBasic.lookup({'NC': tuya.enum(0), 'NO': tuya.enum(1)})], [112, 'block_time', tuya.valueConverter.divideBy10], [113, 'parameter_setting_result', tuya.valueConverter.raw], [114, 'factory_parameters', tuya.valueConverter.raw], [115, 'sensor', tuya.valueConverter.onOff],

These do not match the endpoints used for radar_detection_2 devices, it should be a new device.

tommetje commented 9 months ago

Indeed, I am not using the switch but if I have to believe the article description than the switch could be controlled separately.

The device also has a luminosity sensor (lux).

tjarb commented 9 months ago

hi @tommetje,

Its a complete new device, the endpoints do not match after all.

tommetje commented 9 months ago

Thanks for checking this device out.

I guess that this means that this device will not be supported any time soon :(

tjarb commented 9 months ago

You may give it a try. radar_sensor_3.zip

Proceed as described: https://github.com/JohanBendz/com.tuya.zigbee/issues/565#issuecomment-1837384040

tommetje commented 9 months ago

This was fun! :D

I could add my device, no errors or anything. However sadly no luminosity or occupancy readings.

tommetje commented 8 months ago

@tjarb I would like to have support for my device and I would not mind to do some tinkering myself. Would you have any ideas of what I could try to make my device work?

tjarb commented 8 months ago

you have to find te corresponding endpoint numbers. you can change them yourself and see if things respond.

Adding my tuya device was also my first homey project 😉

Peerf commented 1 month ago

Any news to the support for this device MTG75-ZB-RL (ZHA/skyconnect)?