-
Notifications
You must be signed in to change notification settings - Fork 661
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
[Device Support Request] HY367 TRV with new manufacturer ID #1178
Comments
Have you trying adding the ID to the quirk and getting it loaded ? If you need help i can making the patched files for you. |
I made a custom device handler based on zhaquirks/tuya/ts0601_trv.py and put it in my folder defined by "custom_quirks_path". Basically I only added the new signature to MoesHY368_Type1 and after pairing the entities are available and controlling the temperature works fine. Presets via the GUI are not available, but I didn't miss them either. I let the units run autonomously and only switch between away and schedule mode with Home Assistant when windows are opened or closed. I assume the unit is identical to _TZE200_cwnjrr72, just another random ID... |
Great !! If then all is working OK i can making one (more correct 2) PR for getting it supported in the next HA. Looks like CN-Hysen have making one new version of the same TRV with updated ID. |
Copy the
Restar HA and is all is OK you is getting working presets. |
Thanks for your efforts. I'm using Home Assistant OS (6.6) on RPi4, not the docker environment. I think the process is a bit different in this case, isn't it? |
I think installing docker is blocked in OS :-(( I have not example how but i thing HA community have some. |
Copying the file wouldn't be a problem. But these folder just don't exist, /usr/src is empty... A search on Google showed similar questions from other users, with the advice to use the folder custom_components. But simply copying the file into it and restarting HA did nothing... |
I was testing on my production system (supervised HA) with:
in the HA docker container. |
Some have using SSH and connecting into the docker container but i dont knowing how to install / enabling all things for getting it working OK. |
It was hard to find among a lot of wrong information, so here is the link to the correct instructions on how to get access to this data within Home Assistant OS: I added the line with the new ID to climate.py and restarted it. The presets are now available. The preset "manual" is missing, but that is not important. |
Forgot: switching the presets works fine. |
Great !!I copy your finding to the discussion so can linking to it then user cant using portainer !! My Site TRVs have lesser presets but i think manual mode on the TRV = preset Shall I making PR for adding the needed changes ? I updating the tuya TRV matrix that is working in the device request :-)) |
You are right, mode "none" corresponds to "manual". I cannot tell whether this version of the unit has new features, as I do not have any other units of this device series. After inserting the batteries, before setting the clock, the display shows "IP" or "1P" and one can select a number between 1 and 8. This step is not mentioned in the instructions, so this could be something new. However, the instructions are poor anyway, so that doesn't have to mean anything... In the settings, this option can also be found as item 7 (after "SET"). Yes, please create a PR. Thanks! :-) |
I waiting some days and and doing one PR for ZHA and one for the quirk !! You can taking the battery out and putting them back then "tuya DP devices" is sending all DP commands they is using on power on. Perhaps its some new nice commands implanted :-))) |
Hey Matt, activated the debug log and did a power cycle on one of the TRVs. Here's what I got:
Is it this what you meant? |
PR made waiting merging :-) |
Moes quirk extended to almost all functionality. |
@Adminiuga Sorry for pinging you directly !! If i remember right is you having some tuya TRV type CN-Hysen / Moes. I knowing the best wold being doing all in ZHA or other module over Zigpy but this is the best we can do for the moment. And we have over 20 devices that have many not supported and / or broken functions that is making user going away from ZHA that i think it bad for all in the end (Siterwell is the worse implanted device but it was in the first commitment). Thanks in advance !! Mvh Mattias W |
@D-ominik Do you have one brand and model of your device ? And the PR is merged in ZHA but not the presets that is little late so it can being you must updating / copy the |
Hello, i am not sure where to post this ... but i was pointed here to test out moes quirk. It is working fine so far, many setting params to set. i just have question ... im not sure what 3 on_off switches does. |
@ferrdo4 Child Lock, Window Open detect, Valve state [open/close] |
Ok that makes sense. Then i have one observation. In manual open window feature have two setting "--" is off, 5°C is enabled in range 5-25°C and second setting is running time 5-60 minutes. I dont need this functionality, but maybe you would be interested, since ive started messing around with this quirk :) |
From this valve type (HY367) I have only three devices, all from the same delivery in mid-November from Sandy Beach (https://www.amazon.co.uk/gp/product/B093B4SCBT/). More HY367 are on their way directly from China, but this will take some time. I'm curious to see which ID is used there. |
There's no much you could add to it. @D-ominik I bought 2pcs of Maxsmart year ago on Aliexpress, and now 10pcs of those. I'm starting to install them. |
CN-Hysen was only making 2 versions with the old and new Zigbee module for there devices for all customers until for one month ago its have coming 3 new IDs for there 4 models they is making. Give one sign if they is having one new ID and i adding it in the quirk and the presets in ZHA. I trying updating the tuya TRV matrix then i getting new ID from users so they dont need freezing all the time :-)) zigpy/zigpy#653 (comment) |
The extra function in the new firmware i hope we can digging little deeper later then we have getting the "normal" functions working OK for not messing all up and making all bad. |
Sure, but if you would like to try out anything Id gladly test it out. You guys do great work! |
@ferrdo4 If you miss some option, or you see that something could work better, just give us a hint. |
So i got curious about the switches ... first one "switch.on_off" is a window open detection, "switch.on_off_2" is a lock - these can be set by app. and last one "switch.on_off_3" is a valve switch - if changed, it will set itself back
If ill find something ill will, for now im just happy it works :) |
That quirk wasn't actually made by me. I don't have this TRV so can't test it physically.
Only you[user] or PDF manual can tell us what it is actually [edit] |
maybe it is caused by missing temperature setting, being 5C default. on TRV itself it can be set up to 25C [edit] |
Maybe a misunderstanding because other devices work differently? With a lot of other devices, the window-open detection is a little smarter and will be activated when the temperature drops by a certain value within a predefined period of time. Then the thermostat is set to the selected temperature (e.g. 5°C) for the selected duration (e.g. 20 min). With these devices, however, the function is rather primitive: you set a temperature below which the window-open mode (= valve closed) will be active for the selected duration. |
Maybe, im not sure, but from my observation on one i have, when i set value like 17C on TRV itself, window open detection will activate when TRV shows 17C (and stay for defined time). However when i toggle it in HA off and on again, this value is set back to 5C |
Hey, I have some issues with my Tuya valves and was pointed to your comment here. Maybe I can help you testing? |
i found a strange behavior with "analog_output_temperature_calibration" on moes quirk the set bar gives user possibility to set temperature calib in range <-9, 9>... but it gets somehow rounded <-9, 5> will be set to value -50 (-0.5C) <-4, 4> = 0 and <5, 9> is 50 (+0.5C) when i try to set it in developer tool to -100 (expecting -1C) it will be set back to value in device options ... i would like to set this calib based on difference of trv current temp and ext. sensor current temp :) edit: in manual there is also said it should be set from <-9, 9> ... but in trv itself i have to rotate the knob to set temperature (e.g. rotate to 20.0C) maybe this means that this unit (_TZE200_4eeyebrt) have different interface |
Hi all, I am living in Poland and also decided to enter the world of Zigbee TRV to use with my HomeAssistant. Bought also the Tuya HY367 It connects, but disconnects after, not possible to do anything with the valve. The screen shows a huge 1P and cant do antyhing else. Already removed and added again and keeps the same. Anyone had this issue? |
Moes quirk corrected to work after recent HA update |
Can you please PR these? |
My newly purchased HY-367 (https://zigbee.blakadder.com/Tuya_HY367.html) got a new manufacturer ID, please add "_TZE200_2atgpdho" to the device handler "MoesHY368_Type1". Thanks a lot!
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
The text was updated successfully, but these errors were encountered: