Skip to content
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

Incorporating Meross-iot into a broader application #381

Open
Anonymouse83 opened this issue Jun 12, 2024 · 1 comment
Open

Incorporating Meross-iot into a broader application #381

Anonymouse83 opened this issue Jun 12, 2024 · 1 comment
Labels
no-stale usage question How to use the library

Comments

@Anonymouse83
Copy link

My apologies, as I am new to this, and I am hoping someone can offer some guidance.
I have taken the sample code, and been able to to get it to recognise my devices etc. (and I have quite a few!).
However, I am trying to incorporate the Meross devices into a broader application, and this is where I have become stuck.
What I need to be able to do, is to perform initialisation, then at arbitrary times, check the state of e.g. a power outlet, and then maybe change the state.
Maybe this is my lack of familiarity with the asynchronous library, but I cannot appreciate how with the asynchronous loop, I can perform other external tasks, and then arbitrarily check - or change the state of e.g. a power outlet.
I even looked at the mqtt approach, and thought that anyone using the library would want to do more than have a "one-shot" program!
Any help would be most appreciated.

Copy link

stale bot commented Aug 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 11, 2024
@albertogeniola albertogeniola added usage question How to use the library no-stale and removed stale labels Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-stale usage question How to use the library
Projects
None yet
Development

No branches or pull requests

2 participants