Commit Graph

16 Commits

Author SHA1 Message Date
Maurice Makaay 52b33de7aa Ahhh.. stupid Maurice, forgot to call setup() on the sensors from the new SensorBase. Sensors are back in order now. 2020-07-14 22:05:31 +02:00
Maurice Makaay e508f29a3e A bit of cleanup. 2020-07-14 21:12:55 +02:00
Maurice Makaay 19f754b577 Okay, got some things working again. At least the device doesn't crash anymore :-) The sensors need some work to give correct readings in the new setup. It looks like I'm initializing them twice or so. Fix will follow in the next commit. 2020-07-14 15:28:20 +02:00
Maurice Makaay 49115a0545 Stashing this as a feature branch, something's broken in the MQTT department and I first have to find out what. 2020-07-14 01:21:07 +02:00
Maurice Makaay e0bd4b64b8 Stripped deprecated code from DataController. Next stop: fully deprecate that class and introduce a configuration class as replacement for the config handling. 2020-07-13 23:05:46 +02:00
Maurice Makaay a6e7609d66 Another step towards the new SensorController. It is now also responsible for triggering the measurements based on a simple parameter (after how many seconds to trigger a measurement). 2020-07-13 15:48:13 +02:00
Maurice Makaay c5547b37ee Removed ugly namespace mentioning at namespace closing brace, which was added by the code formatter. 2020-07-12 22:43:35 +02:00
Maurice Makaay a31840c479 Completed moving all code into its own Dough namespace, to prevent naming clashes with stuff like WiFi and DHT11. 2020-07-12 22:41:23 +02:00
Maurice Makaay 3f8eb8b2b8 Going to see if namespaces help structuring the code. 2020-07-12 01:52:08 +02:00
Maurice Makaay 6b49d62257 Explicitly mark virtual methods as such. 2020-07-12 01:42:20 +02:00
Maurice Makaay 9db52bad08 Another round of code cleanup. 2020-07-12 01:35:07 +02:00
Maurice Makaay f1b941d964 Moved measuring and publish into the Measurements class. Further code cleanup steps will follow on this, but committing since we have a nicely working version now. 2020-07-11 22:12:59 +02:00
Maurice Makaay cebbe092e9 Some steps towards only publishing measurements when significant changes occur. 2020-07-11 18:47:15 +02:00
Maurice Makaay 10f8fc2290 Extracted the logging functionality into a separate logger, making it easier to log info per module. This also drags less of the UI functionality into low level modules, which seems a lot cleaner to me. 2020-07-11 02:13:36 +02:00
Maurice Makaay e66b8ccdd5 Code formatting and structuring the project. 2020-07-09 21:09:46 +02:00
Maurice Makaay ea8723493c Initial import. 2020-07-08 01:16:00 +02:00