-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TuYa - Zigbee Radiator Valve - TZE200_zr9c0day #9721
Comments
Hi, my almost working solution (child_lock not working):
|
Widze, ze borsuk tez ma nowy termostat. "meta.logger.warn(No to dupa: " no to dupa Thanks! I will test it out, I'll be honest that I'm pretty lost with it. Did a test, when importing the external converters receive the following error.
Alan valve.js and configuration.yaml in same location, external converter added and when I do it crashes zigbee2mqtt Alan |
Zapomniałem o oddupianiu kodu ;)
|
Something still isn't right, I'm unable to use the js... I wonder if it's something on m side though. Figured it out, was right in front of me... blind FZ was missing, added it and it loaded up `const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const test = { const definition = { module.exports = definition;` |
@keroseneman Did you copy whole js content from my comment? There was a syntax error near: |
Yea I copied it, can you edit your post and add the line "const fz = require('zigbee-herdsman-converters/converters/fromZigbee');" |
Ok done. |
Hey @borsuk85 - How do you configure the open window temperature? Or is it just off when the window is open? I have a feeling it's not recognising the the window is open. What about "Away Mode"? I do see a long of "something went wrong" messages in logs. Alan |
I think its not configurable. Just when temperature drops rapidly, valve sets state window_detection = true. I have no errors when i switch the away_mode switch. It just change current_heating_setpoint to 16C. |
Ok, looks like the window state is not exposed by the valve or uses different data point. I'll test it later. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I have added support for this valve - Koenkk/zigbee-herdsman-converters#3594 Only data point #3 is not supported - now it is Koenkk/zigbee-herdsman-converters#3596
It seems it is information if valve is opened or not (true == open) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I tried creating the entry myself but was unable to determine each of the values, was unable to find a similar device that I would be able to use. Only 1 DP was being picked up "1" with value "0"
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 extend = require('zigbee-herdsman-converters/lib/extend');
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 data points
// it's usually 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: '_TZE200_zr9c0day'
},
],
model: 'SEA802-Zigbee',
vendor: 'Saswell',
description: 'Thermostatic radiator valve',
supports: 'thermostat, temperature',
fromZigbee: [
fz.ignore_basic_report, // Add this if you are getting no converter for 'genBasic'
fz.tuya_data_point_dump, // This is a debug converter, it will be described in the next part
],
toZigbee: [
tz.tuya_data_point_test, // Another debug converter
],
onEvent: tuya.setTime, // Add this if you are getting no converter for 'commandSetTimeRequest'
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic']);
},
exposes: [
// Here you should put all functionality that your device exposes
],
};
module.exports = definition;
Information about the device + link
TS0601 by _TZE200_zr9c0day
I believe it to be this device but it registers as something completely different.
https://www.saswell.com/etrv-smart-radiator-thermostat-tuya-zigbee-3-0-thermostatic-radiator-valve-sea802_p107.html
data/database.db entry of the device
{"id":1,"type":"Coordinator","ieeeAddr":"0x00212effff053c68","nwkAddr":0,"manufId":4405,"epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[0,10,25],"outClusterList":[1,32,1280],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":100,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"interviewCompleted":true,"meta":{},"lastSeen":null}
{"id":4,"type":"EndDevice","ieeeAddr":"0x2c1165fffe5b4127","nwkAddr":38529,"manufId":4098,"manufName":"_TZE200_zr9c0day","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,4,5,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0601","manufacturerName":"_TZE200_zr9c0day","powerSource":3,"zclVersion":3,"appVersion":85,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[{"cluster":0,"type":"endpoint","deviceIeeeAddress":"0x00212effff053c68","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":85,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":821693351},"lastSeen":1637181636270,"useImplicitCheckin":true}
The text was updated successfully, but these errors were encountered: