Comments (4)
Hi Davide,
As you would imagine, the library is not the only actor here. There are a number of parameters like network speed/latency, wifi coverage of the plug and the Meross server-side mqtt broker.
If you want to speed up the library, there is always space for improvement, but the point is that it might cost reliability and usability.
Why don't you explain to us what's your use case?
from merossiot.
I'm developing a website for managing my house's lights remotely. I've got several Google Home's and Meross devices. Google Home app is nice, but it is very slow. Meross app is terribly ugly. However, it is immediate when turning on/off lights. So, my website is a nicer alternative to the Meross app. It also offers a feature that is useful for my house, and here events come useful: I have some three-gang wall switches and none of them has all its gangs connected to a light (often they have only one gang connected). I want the unconnected gangs to toggle some lights, so my server (which hosts my website) listens for those buttons to be pressed, and then it toggles the proper light. This feature is the one I call 'Linked devices' and is an important part of my website. However, the delay isn't a pleasure. It's not a network problem: even though my network is very complicated (a server acts as a router, then there are a few of other routers and my ISP modem, and I've got three networks - LAN, DMZ, and Management, along with my ISP's WAN), I managed things to get everything extremely fast, e.g. a ping to 'google.com' takes an average of 16 milliseconds. I guess the problem is all about Meross' MQTT broker, because, as you pointed out, I know it's not an issue of your library and it is only part of the whole mechanism, so, excluding a hypothesis at a time, just the broker remains.
I wouldn't care if you close the issue (as it's not exactly an issue, though).
Thanks for the interest in people's complainings :)
from merossiot.
HI Davide,
well, in that case, why reinvent the wheel? There are plenty of home-automation libraries, such as Home Assistant. Moreover, I've developed a custom component to support Meross devices (using this library as part of the Home Assistant custom component). You should check that out!
from merossiot.
Thank you for the support, really.
However, I like reinventing the wheel (it is also part of a software developer's job, though), and the 'Linked devices' feature looks like to has been only an idea of mine. I didn't find anything akin that, yet. That's necessary for me to address some wall switches' gangs to lights I couldn't connect them to by cables.
At the moment, I'll stay with the slow events, as I find them the only one way. I think that one day, though, I'll develop my custom MQTT broker to replace the Meross', using my private DNS server to make devices think their broker is my server, hoping that it could handle things faster.
Now, thanks again, and I guess this issue could be closed. Indeed, I'm just closing it.
from merossiot.
Related Issues (20)
- Error importing MerossEventType HOT 2
- Enable Position for MRS100 shutters HOT 1
- ERROR:Could not parse error code 20101 HOT 4
- How to read temperatures from mts200b? HOT 9
- How to retrieve the "wifi signal strength" percentage ? HOT 3
- Meross Certificates failure HOT 2
- [MEROSS-API-CHANGED] missing 1 required positional argument: 'skill_number' HOT 18
- Following library upgrade to v0.4.5.4 i am receiving - TooManyTokensException HOT 2
- [device compatibility issue] Smart Desk Lamp (mdl110m) HOT 4
- I have to restart HA every day since the API changed
- Timeout in async_device_discovery HOT 2
- MTS200 floor sensor settings HOT 1
- SSLCertVerificationError in async loop HOT 2
- Gathering IP & MAC address HOT 2
- MSG100 it's open but did not says it's open :( HOT 3
- Add support for MSL210 Smart Ceiling Light HOT 1
- How do i avoid doing the device discovery every time? HOT 6
- Gather and set Light mode HOT 3
- Support for mrc210 ceiling fan hub
- Timeout issue on mqtt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from merossiot.