Termostatic Valve MOES HY368 ZHA

Dear all,
I would like to ask if it is possible to share instructions how to controll MOES HY368 termostatic valve using ZHA integration. I was able to pair the valve with HA, but no entity was added. I’ve read some forums about bad quirks, but I was unable to follow the advanced instructions and the threads were already dead and nobody answered my question.
My configuration is HA installed directly on RPi 4, actuall HA version and Sonoff ZigBee bridge flashed with tasmota and connected to ZHA integration.
I would be really happy if somebody could help me. I think these valves are very popular and it is really sad, they dont work properly with ZHA.

Thank you for your answers,
Radek

Hello,
I have the same issue and I’m in the same situation (tasmotized Sonoff Bridge). I prefer ZHA over Zigbee2Mqtt@CC2531 because responsivenes and lag much smaller.

Nw, I bought these valves because they are superb (giving so much information). They are also listed as “working” with ZHA on Zigbee pages (https://zigbee.blakadder.com/Moes_HY368-ZB.html) but it looks like it’s fully true. I’m bit disapointed and I’m now considering fallback to Zigbee2MQTT.
Anyone have a ZHA workaround solution (e.g. custom quirk)?

Hi there,

I am sorry I can not say I got a solution for You but I have my HY368 / TS0601 valves “working”.
I am using a TI CC2531 and the devices and entities showed up.

What is not “working” is for example the battery level is not updated (shows 100% after running for 2 months, don’t think so)
Also there is a lot of information missing that I see people have when using the Zigbee2MQTT, like valve position, child lock, window opn detection etc
I also have issues with the setpoint not updating from HA as well as current temperature not updating to HA.

I have bought MOES HY368 model from Ali but zigbee2mqtt does not seem to pair it.
I am using zigbee2mqtt version 1.18.1 with a cc2531 stick.

Any tips to get it working?

There is a bug in the latest -1 and before firmware that devices sometimes refuse to pair. Taking your CC2531 out, and plugging it back in usually solves this. Or flash your CC2531 with the latest firmware.

Hi there,

Did you succeed to pair it?
I have a simmular issu trying to connect the MOES HY368 with ZHA.

Martijn

Still not. Nobody advised how to do it :-(. I am using it offline, just set on the valve itself time intervals when I want witch themperature…

I have just 5 minutes ago paired one MOES HY368 without problem :+1:
Zigbee2mqtt version: 1.18.1-1
CC2531 version : CC2531_DEFAULT_20201127.zip

I got this problem some days ago and I just disconnected and reconnected the CC2531.
This solved my problem with the pairing.

Thank you for answer, however I would like to use it with ZHA not the Zigbee2mqtt. I have Sonoff bridge flashed with tasmota and I dont know how to set it to switch to Zigbee2mqtt.

I do use the CC2531.
But just like adekposvar i like to use ZHA.

I dont think it is possible to use the same adapter for Zigbee2mqtt and ZHA at the same time.

Well i tried some things to connect the HY368 but no luck with ZHA.

Is there someone who can add this thermostat to ZHA?
This is my log. ( not 100% its from the HY368 )

[0x65de:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=234 command_id=Command.Report_Attributes>
[0x65de:1:0x0000] ValueError exception for: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=234 command_id=Command.Report_Attributes> payload: b'01ff422801210d0c0328190421a81305210a00062401000000000a21000008210410642002962300000000'
[0x65de:1:0x0000] new data: b'18ea0a01ff422701210d0c0328190421a81305210a00062401000000000a21000008210410642002962300000000'
[0x65de:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=234 command_id=Command.Report_Attributes>
[0x65de:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!
(!�!
>)]]
[0x65de:1:0x0000] Attribute report received: 65281=!
(!�!

[0x65de:1:0x0001] Voltage mV: [Min]:2820 < [RAW]:3085 < [Max]:3100, Battery Percent: 94.5

Any help is welcome !

Thanks

Well shoot me.

After todays update off home assistant ( to Home Assistant 2021.4.4 ) it works!

I also unpluged the zigbee stick and plug it back in (did it before but wort to tell)

So in summery:
Update your home assistant to at least 2021.4.4
Unplug your zigbee stick/dongel and plug it back in (on the same usb port)
Open ZHA and connect it.

Hope it helps someone.

Hello,

I also sucessfully paired HY368 via ZHA sometime ago and will stay with ZHA integration for a while. It doesn’t support yet all the functions but it’s fine for now.

What I could find most annoing is time synchronization. The valve clock gets late about 15 minutes every day making built-in schedule system unusable.

I managed to correct this issue locally, details here:

…but I’m not active developer so I didn’t branched the code and created pull-request to make it working in the next releases.
Please push/comment this issue on the issue list… if you want to see this fixed.

Hello,

could you kindly share here what are the entities/functions that you get from the valves using ZHA integration at the moment?

I have HA core-2021.9.7 version and a ConBee stick managed with ZHA.

Kind regards. David.

Hi,

Not sure if this is what you mean.

I can adjust the temprature ofcorse and see the current en set temprature.
Also the battery level is shown.

Martijn

Hi, What is the on/off switch used for?