WebThingsIO / meross-adapter

Meross smart device adapter for WebThings Gateway
Mozilla Public License 2.0
4 stars 5 forks source link

Service Termination email from Meross #8

Open sjorn3 opened 3 years ago

sjorn3 commented 3 years ago

Hi all,

I've set up webthings on an RPi Zero W and have connected a couple of Meross devices (MSS310s). I've had issues with them recently and assumed this was todo with issue #7 so have been waiting for that to be resolved. However, today I received this scary looking email (below) from Meross - could this be related?

The devices still work in the Meross app but are inaccessible from WebThings. I'm not certain what this means but thought it could be helpful to raise. Is there some sort of Meross request rate limiter in place? Any help is appreciated.

image

mrstegeman commented 3 years ago

The library communicates with the Meross cloud via MQTT, so there shouldn't be super heavy usage. However, I found a similar issue here: https://github.com/albertogeniola/MerossIot/issues/112

Is your gateway switching devices on/off a lot, or something similar? That seems to be the issue here: https://github.com/theyosh/TerrariumPI/issues/449

joaquinchg commented 2 years ago

@mrstegeman, I'm having the same issue and it happens even if I don't set any rules. The email says:

Please first lower your periodic request rate to no more than one message every ten seconds and then send an email to support@meross.com. We will resume cloud service for you within 24 hours.

Could this be related to the value _POLL_INTERVAL = 5 in meros_device.py? It looks like the adapter is performing 2 requests every 10 seconds and that could cause the Service Termination from Meross.