As the general thread on the GiEX valve gets a but to much loaded I decided to create a new which focus on the use with ZHA.
After some initial trouble I got it working now, but it will need some steps to achieve that.
Be sure your valve has at least the firmware version: 0x0000004d. I not you need to get a Tuya smart hub and install the Smart live app to upgrade the firmware. I did update from version v1.0,9 to v1.0,13. See screenshot below.
That’s correct, this Valve is not worth the money. Out of my 3 that I bought only one is still working. Return and refund it as long you can.
I you are living in the US you better buy the Sonoff valve.
Yep I don’t recommend it, but I can’t predict how the Sonoff valve is quality wise. It is seems to be very similar, eventually made in the same factory. But firmware and HA support should be much better at Sonoff.
I am a bit disappointed, but overall, it isn’t too bad.
Firmware version is 0x00000048, but I guess I cannot update without any Tuya device/app
The device seems to have trouble with RSSI (signal strength). I basically have to place a repeater relatively close by.
I had to add the following device to the quirks, should I make a PR? _TZE200_7ytb3h8u (note that this is an E200, not E204). Eh, looks like a PR was merged a few hours ago
Now, after adding the device to the quirks, and when it is in range, it works… most of the time. One issue is that I don’t have feedback on the HA interface, I can “turn it on”, and it will show up as powered on in the interface, while nothing happens on the device. That and it not being reactive are my main gripes with it.
Otherwise, a few things to note:
The comments in the quirks file were extremely useful, as I can set it to just deliver N liters (or seconds). That alone makes it worth it, and I feel like it’s a failsafe in case the valve does not receive the turn off signal. It’s just a shame we don’t have that info in the interface or as settings; maybe I will add them as settings on the interface.
Volume measurement seems to be relatively accurate, but it is reset at the start of every cycle, which initially confused me.
Flow measurement (“Instantaneous demand” does not seem to be working for me. Would that be due to my firmware version?
In any case, I am pasting the comments from the quirks file here, as they explain the clusters. Read/Write is my interpretation:
irrigation_target: irrigation target, duration in sec or capacity in litres (depending on mode) min=0 max=3600
Read:
irrigation_start_time: Last irrigation start time
irrigation_end_time: Last irrigation end time (GMT)
irrigation_duration: Last irrigation duration (GMT)
Not sure how those work:
irrigation_num_times: Number of cycle irrigation times min=0 max=100
irrigation_interval: Cycle irrigation interval in seconds min=0 max=3600
I am not entirely sure about the irrigation_num_times and interval fields. The time is quite off too (comments say GMT), but I have no idea how to set it. I had a look at the original info source, as quoted in the quirks file. The timezone of my device may be GMT+8 Do you happen to know how to set up timer-based activations on Tuya devices, so that the valve opens at a pre-set time, even with the unreliable network?
I am writing the above as an info dump, both for myself and in case it can help someone else. I think I can make use of this article as-is; I will leave soon for a few weeks, so I can’t order a new smart timer in that window (though I could pick up a “dumb” timer from the store). Having a volume sensor is quite nice, the big let-down is the range and reactivity.
Hello, I’m Raul, the manufacturer of GIEX. I noticed your discussion about the GX-02 firmware update issue, and I sincerely apologize for the inconvenience. Due to a malfunction in the Tuya smart chips, some users are currently unable to use the valve properly with ZHA. All valves produced after July have the updated firmware. As a manufacturer, I’ve recently learned that some users are not using the Tuya gateway and Tuya app, but instead are using ZHA or 2MQTT. Unfortunately, we are only the valve manufacturers, and we don’t possess technical knowledge about ZHA and 2MQTT.
I am eager to learn, but it will take some time. You seem very knowledgeable in this area—could you assist us? If possible, could you contact me directly?
Hello, I’m Raul, the manufacturer of the GIEX GX-02 valve. I understand that some users have experienced issues using our valve with ZHA. I want to clarify that the problem is related to the firmware on the Tuya chip, which caused conflicts with ZHA data. It’s not due to poor quality of our valves.
We are actively working on finding a solution for users encountering issues with ZHA. Since July, we haven’t made any updates to the valve, and it should now be working stably.
Thank you for your understanding, and I recommend giving the GIEX GX-02 another try. If you have any further concerns, feel free to reach out.
Hello, I’m Raul, the manufacturer of GIEX water valves. Thank you very much for purchasing and using our product. As a manufacturer of Zigbee devices, I have only recently learned that many of my users are using our water valves through software like ZHA. I feel quite embarrassed about this. I am committed to quickly learning and understanding ZHA so that I can provide better service to our users. However, I am currently still in the learning phase.
I am also developing a dual-channel water valve. Could you help me integrate this new device into ZHA so that other users can benefit from it? I would be happy to send you a sample. My email is [email protected]. I would greatly appreciate your help.
Hello Raul, I have just seen your message. Thank you for reaching out, having manufacturer support would be wonderful! I can drop you an e-mail, but I am not the most knowledgeable person when it comes to ZHA, since I only started using it relatively recently.