keptenkurk / BS440

Python code to talk to Medisana BS440 bluetooth enabled bathroom scale
MIT License
50 stars 34 forks source link

Plugin architecture #39

Closed keptenkurk closed 7 years ago

keptenkurk commented 7 years ago

With a growing number of applications for the script it would be nice to have some kind of plugin structure where users can select their favorite way(s) to use the scale's data just by selecting/designing the apropriate plugin. Others won't be bothered by dependencies they won't be using anyway. Any thoughts are welcome!

keptenkurk commented 7 years ago

Ok, well underway. Found a setup and will try things in the Plugins branch. It wil be as simple as putting the plugin script in the plugin directory. Any plugins found will be processed.

keptenkurk commented 7 years ago

Plugins are named BS440.py and have their private BS440.ini. No messing around in the BS440.ini anymore.

keptenkurk commented 7 years ago

Plugin structure works in "plugins" branch. Will release BS440 V2.0.0 using this.

keptenkurk commented 7 years ago

Released in v 2.0