andry
4508600cde
Improved analog input logic. Mapping config param added
2018-11-25 17:33:42 +03:00
andry
37a6c677ce
AnalogInput developed, some other fixes: eol-to-endl debugSerial; volume RGB channels changing by single argument passing (GoodleHome/analogue input control) fixed
2018-11-25 04:46:35 +03:00
andry
8fccde7686
Thermostat group setpoint setup fixed, and setting temperature will not turn off heater now
2018-11-23 17:10:34 +03:00
andry
5bdbaf3513
Update README.md
2018-11-14 00:33:32 +03:00
andry
1c3a4421f3
Unique MPU id for due
2018-11-12 02:21:38 +03:00
andry
2509075803
Merge pull request #35 from livello/IS-ENC
...
1wire domoticz support, dht22, contact,uptime refactoring
2018-11-10 01:48:18 +03:00
andry
3e3d8e6d84
Merge pull request #33 from livello/IS-ENC
...
lib_ignore, build_flags, DHT, counter, domoticz, WITH_PRINTEX_LIB, arduino_arch,
2018-10-18 23:05:57 +03:00
andry
02af69ba83
Move some strings to flash
2018-10-18 21:12:26 +03:00
andry
222b92d536
[env:megaatmega2560] - correct Ethernet lib for wiz5100
2018-10-18 21:05:00 +03:00
andry
ad555164f6
Merge pull request #32 from MykhailoKh/develop-add-modbus-register-type-parameter
...
Add modbus register type parameter
2018-10-18 20:45:45 +03:00
andry
d89dfd2364
Prevent restoring temporary turned on channels (by XON)
2018-10-14 11:15:54 +03:00
andry
dd44e46f77
Temperature topicname fixed
2018-10-14 10:43:48 +03:00
andry
687ef7cd99
DS18B20 TEMPERATURE_PRECISION increased to 12 bits and temp converted to float
2018-10-14 03:20:50 +03:00
andry
3038e41788
Fix after merging PR.(DUE and Mega)
2018-10-13 23:03:59 +03:00
andry
87e7bcbd6a
Merge pull request #30 from livello/IS-ENC
...
device_name, PrintEx lib, refactoring
2018-10-13 21:18:26 +03:00
andry
9275467052
core Tested/Bugfixed. XON/XOFF, save/restore states
2018-09-29 12:33:48 +03:00
andry
df95bec241
Google Home Volume voicecommand compatible, XON-XOFF command added, Mega compilation issue fixed (Brige.cpp - updated Modbus lib required)
2018-09-28 03:49:27 +03:00
andry
770c6e3c25
Merge pull request #29 from MykhailoKh/develop-add-support-for-button-as-input
...
Add button support as input (every push changing state)
2018-09-28 01:03:03 +03:00
andry
ae2187de84
Update build_flags_template.sh
...
Default mac changed
2018-09-25 23:23:16 +03:00
andry
c9bed1ea8f
Merge pull request #28 from MykhailoKh/develop-add-w5500-spi-cs-pin-configuration
...
Add configuration for CS pin for Ethernet W5500
2018-09-25 23:16:42 +03:00
andry
4875136ebc
syslog hung fixed
2018-09-10 02:20:07 +03:00
andry
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
andry
b2238e5f6f
MAC
2018-09-10 00:40:33 +03:00
andry
c89bed6920
def MAC changed
2018-09-09 23:29:36 +03:00
andry
39eed2f05f
Added DUE lib
2018-09-09 23:20:49 +03:00
andry
3031a25095
Merge pull request #26 from livello/IS-ENC
...
Counters input support, up to 6 encoders on mega and due. Syslog, ESP32
2018-09-09 22:52:03 +03:00
andry
34c618db72
polling of contacts fixed
2018-06-30 13:46:22 +03:00
andry
fa864bd9f7
Merge pull request #25 from livello/IS-DHT
...
(2)DHT22 Input support, thermo, esp refactoring, lan_status enum, wifi_manager, printing ip config, save current ip config
2018-06-30 01:07:49 +03:00
andry
74689fcd8b
Merge branch 'develop' into IS-DHT
2018-06-30 01:07:15 +03:00
andry
f219951630
Fixed issue "Strange behavior on restart if lan is not initialized #22 "
2018-06-24 22:08:08 +03:00
andry
7b69482180
Merge pull request #20 from livello/patch
...
Esp8266 basic support, dmx now can be disabled, experiments with build scripts
2018-06-01 02:02:10 +03:00
andry
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
andry
b8861d895a
platformio.ini
2018-05-19 15:20:30 +03:00
andry
2b56dcd8dd
Merge pull request #19 from livello/patch
...
clear EEPROM, laninit delay, clean platformio.ini
2018-05-19 15:09:30 +03:00
andry
d1cab710ea
Update README.md
2018-05-19 14:50:19 +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
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
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
andry
64cca588d9
Update README.md
2018-03-21 21:35:48 +03:00
andry
7a92bcba4c
Merge pull request #8 from livello/patch
...
USE_1W_PIN, ENABLE_SD_CARD, SERIAL_BAUD, Readme.md
2018-03-21 21:29:12 +03:00
andry
85490e0d15
revert wrong changes
2018-03-19 03:00:36 +03:00
andry
9b9297247e
Merge pull request #6 from livello/pio-1
...
extracted MY_CONFIG_SERVER, edit README.md, small fixes
2018-03-18 22:29:46 +03:00
andry
ee06968509
Merge pull request #5 from livello/pio-1
...
platformio lib_deps correction
2018-03-16 22:42:17 +03:00
andry
7fb2cf4fcc
ESP8266 and Wiznet 5500 raw support
2018-03-10 02:07:05 +03:00
andry
45cbd8b4a0
Small fix
2018-03-08 22:53:28 +03:00
andry
a87207121b
Merge pull request #3 from livello/master
...
platformio support
2018-03-07 19:27:01 +03:00
andry
37b042e39e
Arduino DUE (SAM3X8E) DMX in and out deployed on hardware USART (updated DmxDue required)
2018-01-21 03:43:08 +03:00
andry
97fbe269c9
Arduino DUE (SAM3X8E) DMX in and out deployed on hardware USART (updated DmxDue required)
2018-01-21 03:36:47 +03:00
andry
c4527b9090
Moving sketch and source files to lighthub folder according with comment @perl1234
2018-01-16 03:03:26 +03:00
andry
7942be011c
NWRAM write fixed, startup algoritm improved to achive more independancy from net, DUE: WDT deployed, HTTP client redeveloped
2018-01-16 02:43:28 +03:00
andry
0553b1724f
Many portation and conditional compilation directives added, Modbus refactored and moved to almost original lib, MQTT server,port,user,password configuration added to JSON
2018-01-15 02:02:52 +03:00
andry
d99c9948c9
Merge branch 'master' of https://github.com/anklimov/lighthub
2017-11-28 23:38:09 +03:00
andry
ef5137e34f
Critical patch - turning heaters off and send alarm after 200 unsuccesfull attempts of retrieving temperature
2017-11-28 23:25:59 +03:00
andry
f31f1bbeeb
Update README.md
2017-11-17 03:46:52 +03:00
andry
eef2ef39ff
Update README.md
2017-11-17 03:46:10 +03:00
andry
d1e0a96747
preparing code to AVR and ESP portation
2017-11-17 03:34:24 +03:00
andry
4e5300134e
Update README.md
2017-11-17 03:20:43 +03:00
andry
bdda579dfd
Dependencies is described
2017-11-17 03:19:00 +03:00
andry
fa8e2c9317
Merge pull request #1 from anklimov/add-license-1
...
Create LICENSE
2017-11-11 15:53:34 +03:00
andry
f7df059fd2
Create LICENSE
2017-11-11 15:52:34 +03:00
andry
095ec5e3fc
Update README.md
2017-11-07 21:36:41 +03:00
andry
52b73e3ef1
Update README.md
2017-11-07 20:58:53 +03:00
andry
9351e75120
Compiled hex file added to easy flashing Mega
...
Negative PIN# for PWM channels will reverse mapping now (0=MAX, 100=MIN)
2017-11-07 20:48:29 +03:00