Skip to content

Releases: anklimov/lighthub

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

Refactoring, HTTP, new drivers & functionality

05 Jan 22:46
Compare
Choose a tag to compare

CORE changes:

  • CORE refactored.
  • Config persistence (saving parameters & config) - now working for Mega, DUE, ESP8266, ESP32.
  • Config auto-saving to flash on portal changes (http ETAG supported to version control).
  • HTTP API & tiny web interface (external by CORS)
  • MDNS controller announcing
  • Local config changing by web
  • Delayed commands (/del suffix)
  • NO_MQTT option
  • input polling on timer interrupts (DUE)

Device driver changes

  • PID regulator (13 type)
  • Relay PWM thermostat (16 type)
  • RGBWW channel type (17 type) & color temperature set
  • Legacy modbus (4 type) improvement (retry speedup, mask = 3 & 4 for swap hi & lo bytes)
  • Multivent driver (18 type)
  • UART bridge (15 type) (serial protocol interceptor) - wireshark udpdump compatible
  • Artnet - to DMX configuration (channel range to pass throw)
  • PWM driver (3 type) - RBGW compatible

Misc

  • flashing scripts for DUE
  • Platformio target for OTA (invoke OTA scripts from custom_builds)
  • Clean-up & optimisation

Maintenance release/critical fix

27 Jul 18:49
Compare
Choose a tag to compare
  • Compilation issues fixed (caused by updated versions aJSON, ArduinoOTA, Adafruit libs)
  • return statements fixed (compilation errors with updated versions of ESP* compilers)
  • One critical bug with locks leakage on group channels control (causes LAN outage after weeks of operation) - fixed

Updated binaries