Hello All,
This is very close to the beginning of my HA journey so be gentle.
Largely based on this thread I’ve purchased an Atomi AT1489 coffee maker with grinder.
Boy… I’ll admit it’s kind of a mess. Little did I appreciate how dependent these systems are on the cloud based Tuya ecosystem. I saw somewhere that there may be an ESP inside it, but I don’t have time to reflash anything right now… soooooo… I learned about HACS… I set up my GitHub account and got my token, I got the custom repository for Local-Tuya and Tuya Local… blah blah… I signed up for the Tuya developer account. I signed in to the Tuya smart app on my phone. I linked those accounts, I set up the coffee maker in that account…
Mind you… the whole point of HA, in my mind is to avoid the broad dissemination of all the details of my life to random cloud platforms… rolls eyes…
So I get all of this done and integrate my developer account in to Local-Tuya… I find my device… and there’s no understanding of it whatsoever. It wants to present as a switch or a heater or some simple thing… so now I’m looking at @rfam13 and thinking there must be a yaml file that I’m missing here. I have no idea what syntax I should be using or what all the values are, but through a bunch of debugging and poking around this is what I’ve come up with as far as querying the device properties in the grudgingly created dev account:
{
"result": {
"properties": [
{
"code": "switch_coffee",
"custom_name": "",
"dp_id": 1,
"time": 1689838679774,
"value": false
},
{
"code": "status",
"custom_name": "",
"dp_id": 2,
"time": 1689838679374,
"value": "status1"
},
{
"code": "material",
"custom_name": "",
"dp_id": 3,
"time": 1689838679374,
"value": "material1"
},
{
"code": "concentration",
"custom_name": "",
"dp_id": 4,
"time": 1689838679374,
"value": "concentration2"
},
{
"code": "time_coffee",
"custom_name": "",
"dp_id": 5,
"time": 1689845195867,
"value": "AQAA"
},
{
"code": "time_umber_coffee",
"custom_name": "",
"dp_id": 6,
"time": 1689845281334,
"value": 1172
},
{
"code": "fault",
"custom_name": "",
"dp_id": 101,
"time": 1689838679774,
"value": 0
},
{
"code": "remind",
"custom_name": "",
"dp_id": 102,
"time": 1689838679774,
"value": "10"
},
{
"code": "cup_number",
"custom_name": "",
"dp_id": 103,
"time": 1689832446511,
"value": "2"
},
{
"code": "countdown_left",
"custom_name": "",
"dp_id": 104,
"time": 1689838679774,
"value": 0
},
{
"code": "lack_water",
"custom_name": "",
"dp_id": 105,
"time": 1689838679774,
"value": false
}
]
},
"success": true,
"t": 1689845293267,
"tid": "bfc7643226df11ee804ade073cb82c5d"
}
In going through log files I got the following friendly names:
Product Category
kfj
"1" = "Power"
"2" = "Status" = Standby Mode,Brewing
"3" = "Brew Type" = Coffee Beans,Ground Coffee
"4" = "Brew Strength" = Mild,Medium,Strong
"5" = "Schedule" = AQAA
"6" = "Remaining time of appointment (coffee machine)" = 4 digit + m
"101" = "Carafe" = Boolean 0
"102" = "Water Level" = int 1-10
"103" = "Cups" = unknown
"104" = "Countdown" int + min (minutes)
"105" = "Not enough water" = boolean
Has someone already done this work or am I forging new territory?