Skip to content

Is it possible to use this with my custom python code (not HA type stuff)? #523

Answered by krahabb
chrisaccount asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @chrisaccount,
Thank you for your appreciation.
Not sure if it would be easy since it was designed from the beginning as an HA component but I've tried to isolate 'library' code in the merossclient folder which does not depend at all on homeassistant code.
Digging into that module it should be easy to setup an HTTP client (even an MQTT one if that matters).

I remember I've made some experiments in the past due to a specific request but I cannot find the thread where this was discussed.
In the end, I remember it was just a matter of properly 'loading' the folder as a python module into your code and use it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chrisaccount
Comment options

Answer selected by chrisaccount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants