Skip to content

Releases: anklimov/lighthub

v4.5.0

24 Aug 14:52
Compare
Choose a tag to compare

Full Changelog: v4.4.0...v4.5.0

  • Full-functional NO-IP devices support and bridge between MQTT/HTTP on Master CAN device and CAN-connected slave devices
  • Saving config to flash for STM32 (including configs, retrieved via CAN), Checking CRC16 of config on Master can device to avoid unnecessary config retrieving and overwriting
  • Modbus fixes & Improvements
  • Possibility to exec commands inside GROUP channel definition
  • Some critical relability fixes after 4.4.0

v.4.4.0

11 Aug 18:49
Compare
Choose a tag to compare
  • Improvements of Modbus Channel: "prefetch" option to check device register before write
  • full-functional CAN driver released to allow cross-communication between several LH and to serve NON-IP LightHubs
  • LH now working on NON-IP devices - check STM-non-ip target
  • Working with several MQTT brokers and auto-fallover
  • OTA login & password default options

Full Changelog: v4.3.4...v4.4.0

v4.3.4

28 Jan 15:06
Compare
Choose a tag to compare

Full Changelog: v4.3.3...v4.3.4

Stability fixes:

  • Reloading config without restart - ("get" command) - refactored to working in safe section
  • Artnet - related issues with reload/restart

Improved code:

  • Modbus v2 driver working correctly in case of concurrent registers write (write while controller awaiting response from Modbus device)
  • AC Haier - improved functionality - ON/OFF XON/XOFF turning ON AC without mode switch
  • Multizonal ventilation and PID fine-tuned to working smooth with Zentec wall-panels seamless with HomeAssistant
  • Modbus exchange moved to Additional log level 9
  • Logs clean-up

Tested on

  • lighthub HW
  • due
  • esp32
  • esp8266
  • Mega 2560

v4.3.3

23 Nov 14:16
Compare
Choose a tag to compare

Full Changelog: 4.3.2...v4.3.3

  • DMX Input fixes/refactoring & synchronization with channels state
  • Mercury counter restored after core refactoring
  • Logs cleating & unification
  • Timer TC0 priority decreased (0->2) to avoid impact to Serial (DMX IN/OUT, Modbus) and I2C (1-wire and other sensors) exchange. Critical.
  • Some core improvements, refactoring and optimisation

4.3.2

17 Nov 22:12
Compare
Choose a tag to compare

Full Changelog: v4.3.1...4.3.2
fix timed command for none-group channel
Improved 1-wire/I2C devices auto-reset
template functionality for "Emit:" topic name. Example: {"emit":"${root}/${out}/ch1${sfx}"}
(Need to use up-to-date dep. libs for compilation)

v4.3.1

12 Nov 13:45
Compare
Choose a tag to compare

Full Changelog: v4.3.0...v4.3.1

  • 1-wire fixes if uses together with other sensors (DHT, I2C)
  • I2C devices auto-reset/restoring if devices glitches
  • some core & multitasking refactoring
  • input checking on interrupt fixed

v4.3.0

31 Oct 15:29
Compare
Choose a tag to compare

Full Changelog: v4.2.0...v4.3.0

New functionality

  • New format for timed commands (for example "ON 1000" - ON for 1s, then OFF)
  • FREEZE and UNFREEZE command to lock/unlock changes on chanel
  • ENABLE/DISABLE commands allow/disallow XON command for channel and on-off PID regulator
  • FLASH saved config cleaning by long press button on start (CONFIG_CLEAN_PIN=XX compilation option)
  • Modbus v.2 driver supports all types of registers: holding registers, input registers, coils, discreet inputs
  • Additional mapping logic register->command/value ('def' mapping parameter allow additional mapping if primary mapping not succeed)
  • Digital signature (SHA256) checking for commands against "Protected PINS" allow to increase security level to operate with "sensible" circuits (e.c garage doors opening etc)
  • Mottura X- Nova lock's dry contacts integration

Improvements/bugfixes

  • 1-wire legacy code refactored (no auto-scanning of 1-wire device, use CLI command 'scan' )
  • Modbus legacy code fixed (re-trying commands fixed)
  • mac address NVRAM saving fixed
  • config reloading process refactored

Documentation updated (RU) on https://www.lazyhome.ru/dokuwiki/doku.php?id=start

v4.2 - New functionality & improvements

06 May 00:25
Compare
Choose a tag to compare

New functionality
Control up to 4 Air conditioners
-D NOSERIAL option to release Serial from debug output and use for any purposes
Mercury electricity counter channel type (and ability to share bus with Modbus devices)
New channels commands:

  • ENABLE
  • DISABLE
  • FREEZE
  • UNFREEZE

Ability to use timed commands: for example: ON 60000 mean ON now and OFF after 60 sec
DHCP fallback (using last known IP address if DHCP failed)

Fixes and improvements:
Up to 20% RAM saving on huge JSON configs (avoid same text strings in RAM)
Counter - now based on integers (not float) to avoid precsision loses
DHT22
ESP8266 firmware - slimming to allow OTA on ESP12
MBUS universal driver completed
PID
MultiZone ventilation

Bugfix release

21 Nov 22:11
Compare
Choose a tag to compare
  • Modbus negative values fix
  • Parsing of values between 0 and 1 fixed
  • Modbus optimized and relability increased
  • PID: fixes, added minimum and maximum output limits
  • issue with config saving to flash, if config size>20K (DUE) fixed/refactored

v4.1.0

03 Oct 22:58
Compare
Choose a tag to compare

(!) Complete Modbus v2 two-way mapping functionality (both, command and values)
PID enable/disable command
PWM Relay fixes
Multivent fixes
Air condition swing mode
ModbusTCP&UDP bridge option (-D IPMODBUS)
CleanUp persistant payload
Deleting commands from individual (not broadcast) topics on execute
PID regulator alarm functionality and fixes

Production tested environments: lighthub21, due, mega2560*
Smoke tested: ESP32, ESP8266
Non tested (just builded): stm*, nrf*, controllino