Commit Graph

123 Commits

Author SHA1 Message Date
4875136ebc syslog hung fixed 2018-09-10 02:20:07 +03:00
b33c621926 Critical fix: DUE with WIZ5500 working again now: EthernetX lib mess fixed, IP stack startup code fixed 2018-09-10 01:40:35 +03:00
b2238e5f6f MAC 2018-09-10 00:40:33 +03:00
c89bed6920 def MAC changed 2018-09-09 23:29:36 +03:00
39eed2f05f Added DUE lib 2018-09-09 23:20:49 +03:00
livello
f38dfc1851 from IS-STM32Duino 2018-09-09 01:16:07 +03:00
livello
40479ba2c8 stm32f1 suppport. changes 2018-07-19 05:44:27 +03:00
livello
09726be883 esp32 support, build_flags_{ENVNAME}.sh now can be used and edited in IDE! 2018-07-04 01:22:00 +03:00
livello
797ce5d4ce Encoder support 2018-07-01 13:35:53 +03:00
livello
ec4f4784a2 Encoder support 2018-07-01 12:54:59 +03:00
livello
f8355cfb7b Encoder. need to change irq function 2018-07-01 01:56:16 +03:00
34c618db72 polling of contacts fixed 2018-06-30 13:46:22 +03:00
74689fcd8b Merge branch 'develop' into IS-DHT 2018-06-30 01:07:15 +03:00
livello
a54c67e062 fix wifimanager without esp 2018-06-29 10:44:02 +03:00
livello
90c21ef125 wifimanager esp8266, RESTART_LAN_ON_MQTT_ERRORS option, option RESET_PIN for restart on lan init error 2018-06-29 10:35:32 +03:00
livello
483454d9f6 esp8266 fix 2018-06-29 01:03:19 +03:00
livello
21da448e93 ip save 2018-06-29 00:38:38 +03:00
livello
0f670ca506 ip save 2018-06-29 00:31:20 +03:00
livello
973919dc84 printIP, saveIP, loadIP 2018-06-28 15:47:05 +03:00
livello
407a2af235 w5100 reset, soft reset, refactoring 2018-06-28 13:31:58 +03:00
livello
3de7baa0de lanStatus enum 2018-06-27 15:46:12 +03:00
f219951630 Fixed issue "Strange behavior on restart if lan is not initialized #22" 2018-06-24 22:08:08 +03:00
livello
589c510b32 hard and soft reset, dht22 support, reset on lan init error, reset on many mqtt errors 2018-06-20 22:55:23 +03:00
livello
7d09bc6ad0 DHT22 Input support, thermo and esp refactoring 2018-06-09 17:06:58 +03:00
livello
025ae66990 Merge branch 'master' of github.com:anklimov/lighthub into patch 2018-05-28 13:43:10 +03:00
8e38095177 scmd,rcmd in inputs may contain not only cmd but values, minimal dimmers volume treshhold for ON command, remote command execute on MQTT command (new Cmd.h required), bat-files to flash DUE and start CLI added 2018-05-25 09:29:47 +03:00
livello
119c1082c2 dht support in progress 2018-05-22 23:52:00 +03:00
livello
2ce453db82 esp8266
esp8266 worked

esp8266 basic support, DMX now can be disabled
2018-05-22 22:10:06 +03:00
livello
dc110e0b79 clear EEPROM cmd function 2018-05-17 18:29:04 +03:00
livello
9032802d2a lan init delay 2018-05-15 16:36:44 +03:00
livello
cfa2b83513 lan init delay 2018-05-15 15:54:30 +03:00
bfee598017 Default DMX_OUT pin for MEGA+5500 is USART1_TX now 2018-05-12 22:37:08 +03:00
1f0a193e96 Fix 2018-05-07 23:06:53 +03:00
26612d8a97 Controllino support added 2018-05-07 21:07:22 +03:00
0c3b4e6034 Merging changes 2018-05-06 18:40:53 +03:00
7cce5eeda3 Move modbus params to options.h 2018-05-06 18:33:00 +03:00
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
7db3033de3 static ip CLI command/EEPROM saving; reconnection logic refined; new ETHERNET2 lib required 2018-04-30 13:26:03 +03:00
3a66d916dd DUE DMX-IN fix 2018-04-17 23:24:29 +03:00
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
8d8e357504 Arduino DUE 1-wire fix 2018-04-16 15:22:09 +03:00
bc1eb86a34 Critical: discrete outputs initialization after reboot added 2018-04-15 21:03:35 +03:00
81ea6e31a7 Schematic diagramm for hardware added 2018-04-14 15:40:54 +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
50ee8a7c6d Critical potential memory violation fixed. Ventilation set termopreset and overheat control fixed 2018-04-03 01:57:07 +03:00
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
a936240d14 Persistent logic improvement, CMD_ON refinig, Vacom Air channel may open airGate if active 2018-04-01 04:27:30 +03:00
a0ba569d60 Fix of GROUP channels restoring from MQTT presistent, small default MAC simplification 2018-03-31 12:14:22 +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