Replies: 2 comments
-
Seems like writing out this post helped me debug this. The issue was the protocol version which needs to be 3.4 for the integration to work |
Beta Was this translation helpful? Give feedback.
-
Glad you got it working! I spent a lot of time mapping out the DPS values and was wondering if anyone other then me would ever use it. The automatic detection issue could be because too many fields are set to mandatory. It would have been interesting to know what the dps values were before you added it on the Smart Life platform so we can set more fields to optional. I am mostly done with modifying the configuration for the device. The only major thing I would like to do is add the touch sensors as buttons so they can be used to trigger automaton. If you experience any other issues feel free to tag me in the discussions. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm trying to intergate a PlantsIO Ivy Smart Planter into Home Assistant with tuya-local. When adding the device manually via "Manually provide device connection information." I get suggestions for incorrect devices:
When adding the device through "Smart Life cloud-assisted device setup." the device is correctly recognized as Smart Planter Ivy:
After manually adding the IP address (I have the device connected to a different vlan) I can select the correct device and assign a name:
However, the resulting device shows all sensors as unavailable:
Checking the Home Assisstant log I get the following:
After a while I start getting messages such as the following:
I'm not sure how to retrieve the full payload that cases the exception above. If anyone knows where this is located I can add the output to the post.
I've tried integrating the device with localtuya (/~https://github.com/rospogrigio/localtuya) which does seem to pick on many of the values:
Comparing with https://gist.github.com/thewade/ef9f6014f13932bd2e77d43331e2027d I have the same DPS codes but I'm missing:
118 系统指令 (System Commands) [int]
122 Soil Moisture [%]
129 Plant Touch Switch [bool]
144 语言 (Language) [enum]
145 光照历史 (Light History) [lx]
146 电量历史 (Battery History) [%]
147 土壤湿度历史 (Soil Moisture History) [%]
148 环境湿度历史 (Humidity History) [%]
149 温度历史 (Temperature History) [C/10]
150 水位历史 (Water Level History) [mL]
I recently updated the device firmware from the Tuya app. DPS 107 seems to disclose the version:
107 (value: {"hd_ver":20230410,"ip":"192.168.2.219","media_ver":1732134025})
Any idea how I might be able to get this working?
Many thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions