In case anyone else is looking to connect a ASIP-0622 Smart Indoor Planter (from Aldi) to Home Assistant through localtuya I thought I would post some info on how to get it setup property.
I already had localtuya integration setup in my Home Assistant but when I got the planter, that ran throug hthe Tuya Smart app, I wanted to see if I could also connect it up to Home Assistant for monitoring and turning on/off the light and water.
This is what the result is once I got it all setup: (There are still a few other properties I could add now that I have figured out how it works but I’ll get to that later)
The way that the tuya integration works is each device has a set of DPs (Data Points) which are represented by a number, this number is what gets set as the ID parameter when adding entities to localtuya.
After a bit of trial and error I was able to work out what most of the DPs relate to.
The main ones I have setup are:
- ID: 1 Platform: switch = Power switch (Similar to the app power on/off of the device)
- ID: 2 Platform: switch = Water pump, this will trigger the “manual watering” function similar to the app
- ID: 3 Platform: light = This one I thought was the light but it’s actually the little green LED on the front of the planter
- ID: 6 Platform: sensor = Current Temperature value
- ID: 7 Platform: sensor = Current Humidity value
- ID: 102 Platform: sensor = Current Fertility value
- ID: 108 Platform: sensor = Current Illumination value
- ID: 123 Platform: light = Grow light
The full list I have is:
{
"dps": {
"1": true, /* Power switch? */
"2": false, /* Water pump */
"3": true, /* Green LED on the front */
"6": 19, /* Temperature value */
"7": 9, /* humidity value */
"10": 16,
"101": "0",
"102": 74, /* Fertility value */
"103": 16,
"104": 1,
"105": 7,
"108": 14, /* Illumination value */
"109": "1656120893",
"110": 95,
"111": 176,
"112": 56, /* Stats Waterings */
"113": 0,
"114": "-28800",
"116": true,
"117": "20,30", /* Temp range */
"118": "55,80", /* Humidity range */
"119": "0,6000", /* Illumination range */
"120": "50,2000", /* Fertility range */
"121": 2865, /* Total Plant lighting param */
"122": "0",
"123": false /* Grow light */
}
}
Keen to hear from any others who have this Planter setup with their Home Assistant.