Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@mairas mairas released this 20 Jan 11:02
· 640 commits to main since this release
78efdcf

SensESP v2 is a substantial rewrite of much of the SensESP v1 codebase. The goals were to make the codebase easier to maintain and more modular.

Major changes include:

  • Integration of new hardware sensors is now much easier. In SensESP v1, you were expected to write a new subclass for each new hardware device, which added a lot of complexity with limited benefit. In SensESP v2, you can use external sensor libraries directly.
  • Related to the sensor interfacing changes, all Sensor classes with external library dependencies have been removed. This greatly improves build times and overall maintainability of the codebase because there are less external dependencies to track and less things to go wrong. Some more complex Sensor classes, such as OneWire, have been moved to external add-on libraries that can be included in your project as required.
  • The application structure is now more modular. In more advanced use cases, it is possible to have more fine-grained control on what to include. Don't want the integrated web server? No problem. Want to use the LED for your own purposes? Easy. Want to drop out the whole WiFi interface? Totally doable.
  • Class naming and structure have been improved all over the place for a more consistent programming experience

For an overview of steps required to migrate your project to SensESP v2, see this page:

https://signalk.org/SensESP/pages/migration/