Open backcountrymountains opened 7 months ago
Exactly, the server returns an Internal server error (http 500). So unfortunately there is nothing to do on your end.
I also get this error from time to time, but it usually clears up after some time.
I have been experiencing this issue for a while and it wasn't resolving itself, so I did the equivalent of "turn it off, turn it back on again" by nuking the config and re-adding the tuya cloud map extractor vacuum and now it works fine again! No idea why.
I did also log into my iot.tuya.com
account and did the Get Link of Real-Time Map
thing, which returned links to some .bin files that I don't understand. It gave links for 0
: layout map and 1
: path map. Not sure if manually making the request on iot.tuya.com
made a difference.
e.t.a.:
I just tried to turn on the map extractor camera for my other vacuum (same model) and it gave the same error, so I nuked it as well, and now the second vacuum map is working fine, without doing anything on iot.tuya.com
.
Is there anything the integration caches or saves or something that gets stale with the credentials or links to the maps? If nuking and re-adding works, maybe there's something more to refresh when the vacuum camera turns on? Dunno.
Oooh! How exciting!
Then it seems like the integration has some bug when it makes some sort of request error. Perhaps some encoding error or other hard to find bug. Will look into it later then!
I made an edit above, but I type slow and you responded during my edit. Not sure if it adds any helpful info.
Anyway, thanks for the great integration!
Ahh, I see.
As for caching, the integration caches the download links for 55 minutes to avoid making API request every time the maps need to be be updated. The links are supposed to be valid for 1h, but it wouldn't be the first time Tuya doesn't follow their own standards. That or a timestamp bug in the integration.
But as stated, I will look into it as soon as I get time to continue working on the project!
Describe the bug This was working for my iHome AutoVac Nova, but now it has an error.
Version: Core 2023.12.3 Supervisor 2024.02.0 Operating System 11.4 Frontend 20231208.2
Log entry
If I base64 decode the message I get:
and a bunch of other stuff. Maybe this is just a communication error and not a map decoding error.