Apollon77 / meross-cloud

MIT License
39 stars 18 forks source link

add documentation #166

Closed 404invalid-user closed 1 year ago

404invalid-user commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

i have no clue how to use anything and what exists other than the toggle in the example

Describe the solution you'd like A clear and concise description of what you want to happen.

documentation / more example code

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

reverse engineering this library but i have little to no understanding of things like payloads that you would send to their api

Additional context Add any other context or screenshots about the feature request here.

Apollon77 commented 1 year ago

I agree that it could be much better documented, but I do not have time for this right now. In fact you initialize the connection and will get one object per device. Then you ned to check the device meta data to know which kind of device it is and check the cpabilities to understand which functions the device have and then you can use the respective methods to control devices.

There is an iobroker adapter that implements all this ... I can only point you there right now. https://github.com/Apollon77/ioBroker.meross/blob/master/main.js . Sorry

404invalid-user commented 1 year ago

ah ok thank you for the reply