-
Notifications
You must be signed in to change notification settings - Fork 530
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
iHome AutoVac Nova #1660
Comments
make-all
added
full_info
All info needed was provided
config provided
Config included by reporter
labels
Feb 15, 2024
make-all
added a commit
that referenced
this issue
Mar 10, 2024
make-all
added
awaiting confirmation
Wating for confirmation the issue is solved
unreleased
Will be in next release
and removed
config provided
Config included by reporter
full_info
All info needed was provided
labels
Mar 10, 2024
make-all
removed
new device
Unsupported device
awaiting confirmation
Wating for confirmation the issue is solved
unreleased
Will be in next release
labels
Mar 27, 2024
timlaing
pushed a commit
to timlaing/tuya-local
that referenced
this issue
Aug 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Through much suffering I have made this device work. It doesn't report many DPs using tinytuya or tuya-local but it is functional.
The main problem I have is that it reports location and status as a base64 encoded json on DP 102. I don't think tuya-local can decode the base64 and then format the json to extract the information as a sensor. Right now I'm only able to get the base64 encoded string, and HA doesn't like it because sometimes it's too long for a sensor value.
Decodes to:
But HA doesn't like it:
DP 102 sometimes has information that I'm interested in, like battery level and runtime:
Sample decoded string:
{"data":{"cleanArea":11,"cleanTime":570,"elec":82,"elecReal":82,"mode":"sweep","subMode":"smart","timeStamp":1708024009},"infoType":20001}
But I don't know how to get this data out. It seems pretty unique for a tuya device to operate in this manner, given that there are designated DPs that should be used for this information.
Anyway, if you feel like adding base64-->json-->sensor mapping functionality to tuya-local, I would super appreciate it!
Here is the info for the device and my config:
Information about DPS mappings
Product ID
My config:
The text was updated successfully, but these errors were encountered: