-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Incomplete detection of Gratkit dryer v2 #501
Comments
Auto configure isn't rely a thing to rely on I can add the device but it will take time to releases an update sometimes or I may cannot add it since it made to be implemented by community, besides not all values exists named in You can map the three DPS you mentioned using note: the right text it friendly name of the value if you want to change them DP 103 0: OFF
1: Red
2: Green
3: Blue
4: White
5: Yellow
6: Cyan
7: Purple
8: Orange
9: Pink
10: Rainbow Fade
11: Rainbow Blink
12: Rainbow Smooth
13: 13 Unknown? # rename it later.
14: 14 Unknown?
15: 15 Unknown?
16: 16 Unknown?
17: 17 Unknown?
18: 18 Unknown?
19: 19 Unknown?
20: 20 Unknown? DP 105 PLA: PLA
PLA_J: PLA_J
PETG: PETG
ABS: ABS
Nylon: Nylon
PC: PC
HIPS: HIPS
TPU: TPU
DIY1: DIY1
DIY2: DIY2 DP 106 0: Normal
1: Dryer box tilted
2: Heat plate overheated
3: Dryer box overheated
4: Fan RPM too low
5: Unknown error
6: Unknown error
7: Unknown error
8: Unknown error
9: Unknown error |
I'll publish the template for it as soon as I complete the setup then. Thanks. |
I don't have a cloud account and don't care to set one up, and I'm having problems with this device too. Not sure if this is relevant, but I tried doing a manual configuration based on @dewi-ny-je's debug JSON: "device_config": {
"device_id": "bf3e744f288605f614ir97",
"dps_strings": [
"1 ( code: switch , value: False )",
"20 ( code: temp_set , value: 45 )",
"21 ( code: temp_current , value: 22 )",
"101 ( code: countdown , value: 493 )",
"102 ( code: humidity , value: 43 )",
"103 ( code: ledlight , value: 12 )",
"104 ( code: heat_wd , value: 19 )",
"105 ( code: material_type , value: PLA_J )",
"106 ( code: erro , value: 3 )",
"107 ( code: pvrpm , value: 0 )",
"108 ( code: usb_bz , value: False )",
"109 ( code: speek , value: False )",
"110 ( code: lcd_onof , value: True )"
],
"enable_debug": false,
"entities": [
{
"entity_category": "None",
"fan_direction_forward": "forward",
"fan_direction_reverse": "reverse",
"fan_speed_max": 100,
"fan_speed_min": 1,
"fan_speed_ordered_list": "disabled",
"friendly_name": "Switch",
"icon": "mdi:fan",
"id": "1",
"platform": "fan"
},
{
"device_class": "temperature",
"entity_category": "None",
"friendly_name": "",
"icon": "",
"id": "21",
"platform": "sensor",
"state_class": "measurement",
"unit_of_measurement": "\u00b0C"
},
{
"entity_category": "config",
"friendly_name": "Countdown",
"icon": "mdi:timer-cog-outline",
"id": "101",
"is_passive_entity": false,
"platform": "select",
"restore_on_reconnect": false,
"select_options": {
"1": "1 Hour",
"2": "2 Hours",
"3": "3 Hours",
"4": "4 Hours",
"5": "5 Hours",
"6": "6 Hours",
"cancel": "Disable"
}
}
],
"friendly_name": "GratKit Firefly V2",
"host": "192.168.3.159",
"local_key": "***",
"manual_dps_strings": "1, 20, 21, 101, 102, 103, 104, 105, 106, 107",
"model": "GratKit Firefly V2",
"node_id": null,
"product_key": "***",
"protocol_version": "3.5"
}, The connection succeeded, but I received the following error: REMOVED |
@ndizazzo it doesn't because you used my key and device id... |
This is my template I exported from my working configuration. Any hint is appreciated.
|
LocalTuya Version
2025.1.1
Home Assistant Version
2025.1.2
Environment
What happened?
I have a Gratkit dryer V2. This integration recognises the following entities:
However the device supports many more, as seen in tuya-local/custom_components/tuya_local/devices/gratkit_filament_dryer.yaml at cc374f213ad2796296e556e950ddf30884620c33 · make-all/tuya-local · GitHub 6
Can the integration be modified to import all entities? even adding them manually is not straightforward, especially for DPS=103,105,106, given the mapping needed.
Steps to reproduce.
Relevant log output
Diagnostics information.
localtuya-01JGXVGNCB49XGAQZASRZF26D9-GratKit.Firefly.V2-47fa48744c40f4d940e07a984e298d86.json
The text was updated successfully, but these errors were encountered: