Skip to content

Releases: fredilarsen/ModuleInterface

v4.0

10 Nov 23:01
Compare
Choose a tag to compare
  • Changed protocol to use fewer packet exchanges for improved efficiency
  • Eliminated examples using the PJON LocalUDP strategy in favor of DualUDP
  • CRC32 contract id to strengthen change detection
  • Updated to use PJON 13.0
  • Minor fixes and improvements

v3.5.1

23 Mar 19:12
Compare
Choose a tag to compare
  • Fixed regressions

v3.5

19 Mar 20:29
Compare
Choose a tag to compare
  • Added event support (immediate transfer) to and from a MQTT broker
  • Generalized the TransferBase concept so that values can be synchronized between modules, a web server and/or a MQTT broker, in an extendable way. Support for synchronizing with other external systems or protocols can be added more easily.
  • Added an example that does not synchronize with a web server, only with a MQTT broker. Also demonstrates the PJON LocalFile strategy for testing without hardware modules.
  • Added optional support for JSON based MQTT payloads.
  • Updated readme with information about MQTT usage and topic structures.
  • Minor bug fixes and improvements.
  • Tested with PJON 12.1

v3.4

05 Jan 20:36
Compare
Choose a tag to compare
  • Fixed regression in v3.3 related to reverse transfer of settings from modules to web pages
  • Added MQTT support. Outputs and settings are mirrored to MQTT topics so they can be read by other systems, and settings and inputs can be set by other systems and be synchronized to modules and web pages.

v3.3

25 Oct 19:04
Compare
Choose a tag to compare
  • Updated to use PJON v12
  • Updated to use ArduinoJson v6
  • Updated GenericModuleMasterHttp to pick up module list changes dynamically. This allows new modules to be registered dynamically in the database/web page.
  • Added metrics to ModuleInterfaceRGBSWitch to report module response times. This allows module performance to be monitored and plotted over time.
  • Added presence broadcast to allow modules to be moved between PJON routers dynamically
  • Minor improvements

v3.2

22 Jan 22:08
Compare
Choose a tag to compare
  • Added support for ESP32
  • Tested with PJON v11.2
  • Added GenericModuleMasterHttp for Windows+Linux for the new PJON DualUDP strategy. This strategy combines the minimal configuration of LocalUDP with the possibility to reach remote devices. It also works great on ESP8266 where LocalUDP is not a good match.
  • Added PJON Switch extended to be a ModuleInterface module reporting status and traffic statistics, useful for connecting different physical media and PJON strategies.
  • Added a Protocol description document.
  • Added README with an overview of examples.
  • ESP8266 setup moved from GlobalUDP to DualUDP strategy to remove the need for manually configuring IP addresses. Setup greatly simplified.
  • Improved HTTP transfer speed, combining multiple transfers into one for devices with enough memory.
  • Improved the data exchange mechanism to give more simultanous sampling of values.
  • Added metrics for time usage in HTTP requests, and for each full total data exchange.
  • Added metrics for maximum response time for each module per interval, usefull for system health inspection or visualization.
  • A MITransferBase class is introduced as an abstraction so that the HTTP transfer can be easily swapped with other protocols like MQTT later.
  • Minor restructuring of code and improvements to code and documentation.
  • Added Windows and Linux DualUDP and LocalUDP GenericModuleMasterHttp executables to release, for users not having a build environment available. This program is from the WebPage example setup, and needs the IP address of the web server as a command line parameter.

v3.1

05 Aug 22:15
Compare
Choose a tag to compare
  • Added intermediate steps to build instructions for WebPage example setup
  • Improved adaptive timeout for inactive modules to avoid them slowing down others
  • Improved registration of last-alive time, now kept in UTC instead of relative to master
  • Improved Visual Studio project settings
  • Added define MI_USE_SYSTEMTIME to select whether master process should use system time or web server time
  • Minor improvements
  • Added Windows and Linux LUDP GenericModuleMasterHttp executables to release, for users not having a build environment available. This program is from the WebPage example setup, and needs the IP address of the web server as a command line parameter.
  • Updated to work with PJON v11.1 (plus bugfix gioblu/PJON@f365834 if you are targeting Windows)

v3.0

26 Mar 21:01
Compare
Choose a tag to compare
  • Added UDP based (PJON LUDP strategy) masters for Linux and Windows, easy to get going with minimal configuration
  • Added GenericModuleMasterHttp Linux/Windows program which retrieves settings from the web server so that it can be built once and reused. It is not allowed to put executables here on github, though, so it must be built with the Makefile or the Visual Studio solution.
  • Added support for PJON bus ids (network mode)
  • Removed some compiler warnings
  • Updated PJON support to v11.0

v2.1

07 Feb 08:35
Compare
Choose a tag to compare
  • Added support for Windows and Linux
  • PHP improvements
  • Improved auto-updating in web pages
  • Extended browser support
  • Compatible with PJON 10.1

v2.0

31 Dec 16:39
Compare
Choose a tag to compare
  • Added support for PJON v10.0. Note that this breaks communication compatibility with older versions.
  • WebPage example improvements (PHP, HTML)