Commit Graph
129 Commits
Author SHA1 Message Date
livello 0a3d044cab moved setting build flags to python script. No need CLI anymore. Removed duplicated envs. They can be used by setting appropriate build flags: Wiz5500, Controllino, etc. 2018-05-15 01:34:16 +03:00
andry bfee598017 Default DMX_OUT pin for MEGA+5500 is USART1_TX now 2018-05-12 22:37:08 +03:00
andry 1b8ed97fc0 Fix for Controllino 2018-05-09 21:03:47 +03:00
andry 1f0a193e96 Fix 2018-05-07 23:06:53 +03:00
andry 2a7024b697 Update README.md 2018-05-07 23:03:25 +03:00
andry 206e781822 Update README.md 2018-05-07 21:32:17 +03:00
andry f74ef4051c Update README.md 2018-05-07 21:11:33 +03:00
andry 26612d8a97 Controllino support added 2018-05-07 21:07:22 +03:00
andry 0c3b4e6034 Merging changes 2018-05-06 18:40:53 +03:00
andry 7c68fd1491 Merge branch 'master' of https://github.com/anklimov/lighthub 2018-05-06 18:35:45 +03:00
andry 7cce5eeda3 Move modbus params to options.h 2018-05-06 18:33:00 +03:00
andry b17d7cfa5a Fixes 2018-05-06 17:57:28 +03:00
andry b7331beab4 Modbus dimmer channel generalization
Example:
  "items": { "modbusdev":[4,[96,0,0,255]] }

Note: this config example available at URL http://lazyhome.ru/de-ad-be-ef-fe-07.config.json - so just set mac address of device by command “mac de:ad:be:ef:fe:07” for test.

Item notation: 
4 - Modbus dimmer item type

Param1: = 96 - Decimal address of modbus device
Param2: = 0 - Modbus register to write (and read while polling)
Param3: = 0 - mask (optional. Default value “-1”  - see below for explanations)
Param4:= 255 - Maximum Value for scaling MQTT input value to register value  (Optional. Default MaxValue 0x3f. It is equivalent of “100" on input.  If value == 0 - no scaling)

Mask:
if mask == 1 - Value comes to most significant byte of 16 bit register word, another byte = 0xff
if mask == 0 - Value comes to least significant byte of 16 bit register word, another byte = 0xff
any other mask - put Value as 16 bit word without any modification
if mask == -1 (or parameter omitted) - no register polling
2018-05-06 17:45:29 +03:00
andry 7db3033de3 static ip CLI command/EEPROM saving; reconnection logic refined; new ETHERNET2 lib required 2018-04-30 13:26:03 +03:00
andry dc0d2c523b Merge branch 'master' of https://github.com/anklimov/lighthub 2018-04-17 23:55:53 +03:00
andry f353b6963c DUE 5500 binary update 2018-04-17 23:55:25 +03:00
andry 060e6694e8 Update README.md 2018-04-17 23:41:42 +03:00
andry 3a66d916dd DUE DMX-IN fix 2018-04-17 23:24:29 +03:00
andry 4f340d780f Pre-release. Tested&working on Mega and Due with Wiz5100 and Wiz5500. Need to update dependances. 2018-04-17 19:00:09 +03:00
andry 8d8e357504 Arduino DUE 1-wire fix 2018-04-16 15:22:09 +03:00
andry bc1eb86a34 Critical: discrete outputs initialization after reboot added 2018-04-15 21:03:35 +03:00
andry bbbf0e056c Merge branch 'master' of https://github.com/anklimov/lighthub 2018-04-14 15:41:48 +03:00
andry 81ea6e31a7 Schematic diagramm for hardware added 2018-04-14 15:40:54 +03:00
andry e5cb8dba34 Update README.md 2018-04-07 00:43:14 +03:00
andry 316aafb59f Update README.md 2018-04-07 00:08:57 +03:00
andry 7ea21d9ccc Update README.md 2018-04-06 21:25:23 +03:00
andry 906f106a64 Delete platformio.txt 2018-04-06 20:58:34 +03:00
andry 215eccf830 Update de-ad-be-ef-fe-ed.config.json 2018-04-06 20:57:14 +03:00
andry 43a9764b92 Update de-ad-be-ef-fe-ef.config.json 2018-04-06 20:56:30 +03:00
andry 78faf53d2c Update README.md 2018-04-06 20:37:54 +03:00
andry 9ce88e63d5 Update README.md 2018-04-06 20:07:20 +03:00
andry 8647a92b39 Added LightHub.png 2018-04-06 19:59:26 +03:00
andry a01d8f118c Merge pull request #12 from livello/patch
lighthub/main.cpp:201:77: error: invalid conversion from 'byte* {aka unsigned char*}' to 'const char*' [-fpermissive]
2018-04-05 12:43:04 +03:00
livello 5bf6ee5943 fix custom_firmware_mac
build flags printing
2018-04-03 16:58:34 +03:00
livello 499e74be85 lighthub/main.cpp:201:77: error: invalid conversion from 'byte* {aka unsigned char*}' to 'const char*' [-fpermissive] 2018-04-03 13:28:45 +03:00
andry 50ee8a7c6d Critical potential memory violation fixed. Ventilation set termopreset and overheat control fixed 2018-04-03 01:57:07 +03:00
andry 66d6445967 Massive kernel logic refaktoring & critical memory issues fixes. HomeRemote compatibility, Modbus command retrying, MQTT Status async/submission optimization 2018-04-01 22:13:13 +03:00
andry a936240d14 Persistent logic improvement, CMD_ON refinig, Vacom Air channel may open airGate if active 2018-04-01 04:27:30 +03:00
andry a0ba569d60 Fix of GROUP channels restoring from MQTT presistent, small default MAC simplification 2018-03-31 12:14:22 +03:00
andry a5f632417b Merge pull request #11 from livello/patch
mass refactoring
2018-03-31 11:30:32 +03:00
livello a10c948f5a mass refactoring
sd_card_code not affects ram and firmware if not enabled
2018-03-30 02:30:10 +03:00
andry ec840f784a Retained MQTT topics logic developed, unused sources (SD & extra 1-wire) moved to spare folders to save static RAM 2018-03-27 04:14:34 +03:00
andry e4f47cdef3 Merge pull request #10 from livello/patch
refactoring. help cmd improved. Removed newline from freeMem periodic…
2018-03-26 03:06:58 +03:00
andry 1c2b095e28 Merge branch 'master' into patch 2018-03-26 02:59:19 +03:00
livello 642f20de8c DMX Modbus OneWire support now can be disabled 2018-03-23 13:35:52 +03:00
livello ca44c66387 readme.md 2018-03-23 11:03:33 +03:00
livello 829a7f4021 readme.md reformat, build_flags_template comments 2018-03-23 10:52:15 +03:00
livello 6497beaabb CUSTOM_FIRMWARE_MAC 2018-03-23 01:33:52 +03:00
livello 70c31dd0ea custom firmware mac address
build_flags_template
disabling freeram print
removing CR if no previous thermostat printing
2018-03-23 01:29:21 +03:00
livello bbf944c482 root
applyConfig
And *Pool* to *Poll* of course
2018-03-22 22:31:35 +03:00