Skip to content

Incorporating Meross-iot into a broader application #381

Description

@Anonymouse83

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions