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

Consider moving logic of sending MQTT message into standalone function #19

Closed
adenoz opened this issue Jan 12, 2023 · 1 comment
Closed
Labels
core Basic core functionality
Milestone

Comments

@adenoz
Copy link
Member

adenoz commented Jan 12, 2023

This should tidy up the code in the get_weather() function and possibly allow for better concurrency. This may be too early of a time to work on this sort of optimisation. It is likely better to increase basic functioning and features first.

@adenoz adenoz added the core Basic core functionality label Jan 12, 2023
@adenoz adenoz added this to the v0.1.2 milestone Jan 12, 2023
@adenoz
Copy link
Member Author

adenoz commented Jan 19, 2023

All done. Also added async processing to all MQTT messages that are published. Also added a disconnect after each message to close down the event loop when done.

@adenoz adenoz closed this as completed Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Basic core functionality
Projects
Status: Done
Development

No branches or pull requests

1 participant