100 Commits
Author SHA1 Message Date
andry f496e30600 Add configuration examples for various devices and functionalities
- Introduced multivent ventilation configuration for managing multiple zones.
- Added PID heating batteries configuration for temperature control.
- Created relay GPIO switch configuration for controlling relays.
- Implemented RGBW LED strip configuration for lighting control.
- Added Modbus CO2 sensor configuration for environmental monitoring.
- Introduced Sonoff S26 humidity controller example for humidity management.
- Created sprinkler irrigation configuration for garden management.
- Added thermostat on/off relay configuration for heating and cooling control.
- Implemented ventilation fan monitoring configuration for performance tracking.
- Added core concepts documentation for LightHub, detailing items, commands, and execution objects.
2026-10-15 19:11:34 +03:00
andry 8bc4525d66 docs: add З031-2C0 LightHub integration document 2026-10-11 19:20:09 +03:00
andry f787a16270 docs review 2026-10-11 01:27:15 +03:00
andry e460ca647c docs: add BACKLOG.md and RELEASE_PLAN_v4.6.0.md
Backlog: legacy 'queit' removal, dead /RGB suffix, #RRGGBB hex parsing,
PID channel type, SPI CAN controller, T:99 rotary profiles, ESP32 PWM stub,
doc/site work. Release plan: v4.6.0 scope, remaining doc phases, build and
tag steps, Doxygen regeneration procedure.
2026-10-03 00:41:36 +03:00
andry 9a1c5eb143 fix(ac): rename quiet subitem 'queit' to 'quiet', keep legacy alias
The input subitem for the AC quiet mode was misspelled 'queit'. The code
now uses 'quiet' and still accepts 'queit' for backward compatibility;
docs updated accordingly. Removing the alias is tracked in BACKLOG.md.
2026-10-03 00:41:36 +03:00
andry 66d64dda4f build: rewrite Doxyfile for in-repo generation, drop stale output
Relative paths, markdown main page (main.md), project version 4.6.0, HTML
only. Removed the checked-in html/latex/rtf output (now gitignored; the
generated HTML is published to lighthub.github.io).
2026-10-03 00:41:36 +03:00
andry 8ea105cf42 code: add EN Doxygen comments to core headers and drivers
Comments only, no logic changes: class/method/struct/enum documentation for
the item core, inputs, config/main, CAN, 1-Wire, Modbus, DMX and all
channel drivers (JSON config format, handled commands, published topics,
states). Verified with a clean 'due' build.
2026-10-03 00:41:24 +03:00
andry b548474cd5 chore: fix root changelog and update README
The old CHANGELOG_v2.md was a documentation-update log, not a firmware
changelog: moved it to documentation/reference/CHANGELOG_docsv2.md and
created a real CHANGELOG.md. Updated the root README: 16 build targets,
CAN/sprinkler/multivent/rotary highlights, new documentation links and the
developer site.
2026-10-03 00:41:24 +03:00
andry 718e6cb603 docs: add dokuwiki snapshot 2026-10-02 as verification baseline
Frozen copy of the official wiki (lazyhome.ru) used as the audit reference
while the repo documentation is brought in line with the code.
2026-10-03 00:41:24 +03:00
andry 693de4da42 docs: add CAN (lightspot) and rotary encoder docs from author drafts
Ported the two design docs (originally docx) to markdown with code-verified
corrections (CAN runs at 50 kbit/s); sections still in design (T:99 rotary
profiles, external SPI CAN controller) are marked 'not implemented' and
tracked in BACKLOG.md.
2026-10-03 00:41:20 +03:00
andry 724224a503 docs: import wiki pages into the repo (core/integrations/hardware)
Ported the relevant lazyhome.ru dokuwiki pages to markdown, verified against
the code; each page carries a 'cross-check with code' section where behavior
differs from or extends the wiki.
2026-10-03 00:41:20 +03:00
andry b90325bfef docs: audit references and examples against source code
Cross-checked all channel types, suffixes, commands, JSON config formats,
HTTP/MQTT API examples and driver docs with the actual code; fixed the
discrepancies (channel numbers 0..23, real command set, real suffix handling,
CAN 50 kbit/s, DRY/Freeze sprinkler semantics, AC subitems, multivent zones,
Mercury/Motor/Counter configs, etc.)
2026-10-03 00:41:16 +03:00
andry 6a10d85c55 docs: restructure documentation tree, add master index, remove obsolete files
- move references/examples to documentation/core/ and documentation/modules/
- move config samples, images and the doc-v2 changelog to documentation/reference/
- add documentation/README.md as the master index
- remove deprecated AI-generated docs (MIGRATION_GUIDE, START_HERE,
  COMPLETION_REPORT, DOCUMENTATION_INDEX, README_v2_0, suffixes_reference v1,
  old json config reference, DOCUMENTATION_UPDATE_REPORT)
2026-10-03 00:40:55 +03:00
andry 47fe53db41 sprinkler DRY overrides ON 2026-09-27 23:19:10 +03:00
andry 0afe8bc866 sprinkler - status notifications on start and mode changing 2026-09-27 22:51:14 +03:00
andry e442001ec9 sprinkler - dry mode presistence, states initial publishing. Mercury - longer timer, dox 2026-09-27 22:12:27 +03:00
andryandCopilot 1c839091b6 sprinkler - small fix
Co-authored-by: Copilot <copilot@github.com>
2026-05-25 18:05:26 +03:00
andry 7e7abce6b6 Compiled bins 2026-05-25 14:59:15 +03:00
andryandCopilot 565195d60a core - freese precedence over dizable, sprinkler - ON then DRY, HA docs
Co-authored-by: Copilot <copilot@github.com>
2026-05-25 12:14:43 +03:00
andry 84ce56fdde Sprinkler reset blocking when disable 2026-05-24 23:44:12 +03:00
andryandCopilot c1937a045b RESET command fix
Co-authored-by: Copilot <copilot@github.com>
2026-05-24 23:30:06 +03:00
andryandCopilot fd23dc3567 Sprinkler improvement
Co-authored-by: Copilot <copilot@github.com>
2026-05-24 22:54:21 +03:00
andry 898dca260c Sprinkler - outlet not blocking sprinkling + docs 2026-05-23 16:04:21 +03:00
andryandCopilot 985d058c50 Sprinkler module released
Co-authored-by: Copilot <copilot@github.com>
2026-05-22 22:44:36 +03:00
andry 641b314218 docs update 2026-05-07 19:16:25 +03:00
andryandCopilot 5cb9c87135 Multi AC/vent - released. Sprinkler - alpha for testing
Co-authored-by: Copilot <copilot@github.com>
2026-05-05 22:08:07 +03:00
andryandCopilot 47c2fd8a74 1-st post-AI review
Co-authored-by: Copilot <copilot@github.com>
2026-05-01 23:28:13 +03:00
andry 04d709a1e8 MultiAC small fix + SPRINKLER chanell type (initial, unverivied) 2026-05-01 19:57:51 +03:00
andryandCopilot e42053ab1b Multvent/MultiAC finally working as designed. pre-relese deep testing
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 11:55:51 +03:00
andry 84b685c564 bin for due 2026-04-23 22:50:31 +03:00
andry bbceb044c1 MultiAC pre-releas 3 2026-04-11 23:58:25 +03:00
andry b5ef7ff221 Multi AC pre-release 2 2026-04-05 20:57:16 +03:00
andry 00969f88a4 MultiAC pre-release 2026-04-05 00:53:44 +03:00
andry efbda54c01 Merge branch 'master' of https://github.com/anklimov/lighthub 2026-04-01 00:17:45 +03:00
andry 56cb09ee7c MultiAC backward compatible with Multivent, overridecmd and turnbyfan (with val) attributes 2026-04-01 00:14:21 +03:00
andry e2dded5eb3 Merge pull request #67 from arto-b/arto-b-patch-1
Fix wording in README and correct Doxygen spelling
2026-03-14 23:08:53 +03:00
andry b888f1a521 Multi-AC reworking, Mbus fix, RESET command for PID 2026-03-07 23:19:46 +03:00
andry c5427251fc Multi - AC (betta) and some AI generated docs (not fully verefied) 2026-03-01 23:43:40 +03:00
andry 8db9e551ff mqtt status submit for subchannels changed 2026-02-14 22:38:53 +03:00
andry 685456ea5d Update README.md (OTA_ENABLE compilation option) 2026-01-19 23:18:01 +03:00
andry 42279ed567 OTA fixed (broken on last release)
New target: esp32c3 added
partitions optimized for all esp32 targets & OTA
2026-01-19 23:04:07 +03:00
andry 40c1fca5df OTA directive changed to OTA_ENABLE
compiled binaries
2026-01-10 00:59:07 +03:00
andry 08ded62f4a defaultSubitem core optimization
AC haier - sendinng command only after initial poll
2026-01-09 22:42:43 +03:00
andry 4769f57f07 avoid opposite cmd scheduling for no-suffix-group cmd 2025-08-31 00:50:09 +03:00
andry 2c601b2c03 input fix for mixed configs & repeat flag, comments 2025-08-23 23:26:05 +03:00
andry 5294617455 Fake "alarm off" event for legacy thermostat fixed
scheduled execution fixed
Aircon  driver relability improvement (working on 1-way lines)
2025-08-11 23:44:58 +03:00
andry d71499442e Important Input re-intrance bug fixed
Haier AC relability improved (buffer not save if incoming packet broken)
CAN - sub-item calculation fixed
continue working on MultiAC
config for LH board testing shared
2025-06-26 14:07:23 +03:00
andry 9989e3db21 Multivent->MultiAC alpha
MEGA env migrated to universal Wiznet driver
some important core fixes
2025-05-11 23:50:32 +03:00
andry 53c5748c14 AC CRC fix
syslog auto suspending when no ARP responce
optiboot env slimming
generic 2560 environment (any eth)
2025-05-02 00:45:49 +03:00
andry 5480412f1b Merge branch 'master' of https://github.com/anklimov/lighthub 2025-05-01 20:34:00 +03:00
andry 575e05cd84 RE optional 2025-05-01 20:31:31 +03:00
andry d6768ab594 bins 2025-04-30 01:35:23 +03:00
andry 8754a35cba cross compilation 2025-04-30 01:14:55 +03:00
andry 65c07a1881 group scheduling reworked 2025-04-28 22:26:36 +03:00
andry c2c863b8bd "activate" cmd to switch RE sections by other INs 2025-04-28 01:13:09 +03:00
andry 5aec014767 Driver refactoring & core fixes
CAN fixes and extension
stm32 timer
2025-04-26 16:29:09 +03:00
andry c9714ef982 Rotary Encoder - chaning config section
input - regress fix
MBUS - logginng fix
2025-04-19 23:25:39 +03:00
andry 2b5b780586 some Cleanup
Mbus logging fix
Rotary Encoder input (1-st success^ to be continued)
new JSON routines
Multivent to Multi AC - interim, to be continued
2025-04-14 00:45:38 +03:00
andry e803d1ae51 mapping val bondaries added
timer tuning
more logging to thermostat & map
MBUS chan stop if not configured well
2025-04-06 22:46:44 +03:00
andry 6cba90f7dd timer refactoring
INCREASE/DECREASE postref fix
mbus write if not configured corruption fixed
2025-03-20 00:33:18 +03:00
andry 6019aa41bb MBUS refactoring,
AC Haier tolerance for comm errors(CRC check),
MERCURY - not blocking MBUS if failed (delay added if login fail)
Kernel fixes (flags, Locks)
Multivent to multichannel virtual AC converted (interim)
PID library forked and changed
2025-01-22 02:18:25 +03:00
andry 891b029501 less CAN logging
DISABLE for group channel (disarming) reguire signature
trace level logging fixed
esp32 = changed compilation options
2024-11-04 22:48:50 +03:00
andry fae1bd4dcc pre-rel bins 2024-08-23 18:59:58 +03:00
andry e5e24943a6 critical relability fix 2024-08-23 18:35:39 +03:00
andry f672878873 pre-release-binaries 2024-08-23 00:30:59 +03:00
andry ff8997fb02 post-refactoring fixes: $command, Items-Parse 2024-08-23 00:12:12 +03:00
andry 96a9c59add nrf bin 2024-08-22 00:56:21 +03:00
andry 7759d51b31 Cross comp & binaries 2024-08-22 00:55:31 +03:00
andry e21541aa7a cleanup and odd cleanConf fix 2024-08-22 00:35:47 +03:00
andry 806e99eb92 NO-IP devices persistence
STM Flash cfg fix
 CAN GROUP chan fix
 CRC16 fix
2024-08-21 14:01:06 +03:00
andry 2b638b1310 MQTT->CAN proxy. CRC16 for CAN config 2024-08-19 22:35:20 +03:00
andry 82f729216e mapping constrain fix & more mbus relability 2024-08-16 21:41:13 +03:00
andry dc6e310b10 MBUS fix for requrent def# reg less main reg
Now it can working for empty action for def# reg
2024-08-15 00:36:14 +03:00
andry baad75fde7 bins 2024-08-14 20:04:11 +03:00
andry 7040d9bf93 MBUS no write if prefetched value == target
Removed constrain 255 for mapping
2024-08-14 19:43:24 +03:00
andry 0a4e70479b Modbus attempts counter reset & silence timer fix 2024-08-14 00:00:22 +03:00
andry ff77818e30 Binaries & cross compilation 2024-08-11 21:07:44 +03:00
andry 86c0515c46 CAN NOIP config load fix 2024-08-11 20:53:39 +03:00
andry 293429d3a3 CAN driver - complete& working now 2024-08-11 19:13:42 +03:00
andry 01ba615db8 mbus fix & binaries 2024-08-01 22:09:46 +03:00
andry 1bfd2d98ef MODBUS: prefetch option for write reg (check-before-write),
AC: suppressing garbage status after CMD,
PID: NOT_FILTER_PID_OUT for repeating values^ by default
2024-08-01 20:19:33 +03:00
andry c8c7356fae DEFAULT_OTA_USERNAME DEFAULT_OTA_PASSWORD
compilation options
new 16u2 firmware
2024-05-20 01:22:02 +03:00
andry 5b5e6e3d6a Ultrasonic sensor added
CAN driver logic/relability  improved
string -> itemCmd functionality added,
cold boot w/o config procedure improved
2024-04-12 11:00:42 +03:00
andry 4fff338482 CAN DUE, relative items, CAN-MQTT brige 2024-03-30 08:29:53 +03:00
andry 242db1552e Working with multiply MQTT brokers 2024-03-11 01:09:53 +03:00
andry 0770e32b31 CAN driver v1 ESP&STM 2024-03-07 00:52:33 +03:00
andry 535e1be274 CAN: config retrieving from master 2024-03-02 15:48:21 +03:00
andry 3c9e30b28a STM32 chipId and 1st CAN driver prototype 2024-02-22 21:58:07 +03:00
andry 1133883b25 NOIP compilation option & some inits 2024-02-19 16:07:13 +03:00
andry e7dfee51b1 Update README.md 2024-01-29 00:48:12 +03:00
andry 9eb22f4ea9 Update README.md 2024-01-29 00:47:05 +03:00
andry 09831781aa bins 2024-01-28 16:27:01 +03:00
andry 340d54be09 sync 2024-01-28 16:20:45 +03:00
andry bcae3c9d50 artnet hung, sensors loop, inputs, multivent 2024-01-28 16:19:45 +03:00
andry 1654f05bbe lh21 bins 2024-01-28 15:12:35 +03:00
andry 99466f6e9f bins & cross-compilation 2024-01-28 15:10:56 +03:00
andry 05ea031977 PID out, less logs, GET cfg fix, mbus concurr wrte 2024-01-28 12:05:10 +03:00
andry 5ec57f0414 GET cmd refactored to operate in safe time 2024-01-27 15:03:11 +03:00
andry 7ab78ab2ae binaries 2023-11-23 17:05:50 +03:00
andry 4d909dd449 DMX IN integration with items 2023-11-20 20:55:37 +03:00