miflora-mqtt-daemon icon indicating copy to clipboard operation
miflora-mqtt-daemon copied to clipboard

Refactor bloated flora containers and convention into Classes

Open ThomDietrich opened this issue 4 years ago β€’ 3 comments

Stating the obvious. Before we continue with new features, I intend to refactor this whole project. The initial script structure was never suited for the complexity we've reached by now.

Feel free to add suggestions. You can expect a PR in the next two weeks.

ThomDietrich avatar Mar 29 '20 10:03 ThomDietrich

I envision an architecture in which a device is pretty much self-contained, dealing with it's configuration, btle sensor reading, and MQTT communication independently of all other sensors.

ThomDietrich avatar Apr 02 '20 07:04 ThomDietrich

Have you done any work on this?

~~Is your idea to have a config per device/sensor, besides the obvious global settings?~~ Guess you answered this in #111 ;-)

OnnoH avatar Oct 23 '20 12:10 OnnoH

@OnnoH never any steps forward. Partially due to new lifestyle in the homeoffice times :)

ThomDietrich avatar Mar 21 '21 22:03 ThomDietrich