copyrights
9ceca44770
Two channel CCT ( #1732 )
...
* add CCT support for 2 channel boards
* update webinterface description
* add 2 channel CCT to homeassistant and domoticz
* remove domoticz two channel cct support.
2019-05-27 02:47:58 +03:00
Max Prokhorov
334b499024
Safer settings reload and MQTT change detection ( #1701 )
...
* MQTT: config change detection
* Reload settings when config json is uploaded
* Apply only new settings
* Finish config early when not enabled
* Reuse existing buffers from getSetting String using std::move
2019-05-27 02:47:24 +03:00
Xose Pérez
868d4d5573
Added LDR sensor (thanks to Altan Altay)
2019-05-23 08:52:04 +02:00
copyrights
d9b9e1449d
MQTT and HA brightness ( #1730 )
...
* MQTT and HA brightness shall only be depended on LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
* remove unnecessary changes
2019-05-23 06:53:33 +03:00
m-kozlowski
471a6387fb
Separate device name for alexa integration ( #1727 )
...
Allow defining custom device name for alexa integration, other than hostname.
Still uses hostname as a fallback.
2019-05-23 06:22:18 +03:00
Max Prokhorov
aac2e1e47e
LED: store default settings exactly once ( #1719 , #1724 )
2019-05-19 07:20:21 +03:00
Max Prokhorov
c7d467144a
PIO: patch lwip1 MTU bug in travis ( #1723 )
2019-05-19 07:01:56 +03:00
Luciano Andrade
55b9f2a52f
Send Vcc, LoadAvg and Ssid to influxdb ( #1714 )
2019-05-11 22:03:29 +03:00
Max Prokhorov
820d8c4be8
Initial implementation of RTCMEM storage ( #1420 )
...
- store system crash counter and reset reason in rtcmem instead of eeprom
- store relay state mask in rtc in addition to the eeprom
- store relay state in eeprom only when boot mode requires it
- simplify relay state mask calculation / reading using std::bitset
- light state save and restore
- energy total save and restore
2019-05-08 23:58:51 +03:00
Max Prokhorov
193cebdbab
RF/RFBRIDGE Update ( #1693 )
...
- remove optional RFRAW_SUPPORT
- enable module when RF_SUPPORT=1, optionally enable RCSwitch
- reorder ifdef checks to treat RFB_DIRECT and old RF_SUPPORT the same
- rename RF_PIN to RFB_RX_PIN
- depend on RF_SUPPORT instead of ITEAD_SONOFF_RFBRIDGE
- runtime TX & RX PIN setting
2019-05-08 23:57:18 +03:00
DmitryBlinov
bb33dfd102
Thermostat upgrade ( #1711 )
...
* Add "Enable Thermostat" switch
* Add heater/cooler thermostat mode
2019-05-02 01:06:14 +03:00
Max Prokhorov
62a2b9e882
PZEM004T: settings & dev board ( #1712 )
...
* PZEM004T: runtime port and address settings
* Add nodemcu-pzem004t test env
* pzEneTotal -> pzemEneTotal
2019-05-02 01:05:57 +03:00
Max Prokhorov
b12d6fd001
Remove gosund-sp1-v23 env ( #1703 )
...
Removed in favour of BW-SHPX bin
2019-05-02 01:01:47 +03:00
Max Prokhorov
8e95632daf
MQTT: Reset connection timer with PubSubClient ( #1702 )
...
https://github.com/xoseperez/espurna/issues/1465#issuecomment-484566975
2019-04-20 07:08:03 +03:00
Max Prokhorov
8a5a0fb309
Send status right after boot ( #1700 )
2019-04-20 07:07:41 +03:00
Max Prokhorov
3f37556cdd
Safer loop delay default ( #1574 , #1631 , #1699 )
...
* Call delay() after callbacks
* Use safer loop delay value
2019-04-20 07:03:26 +03:00
Max Prokhorov
0b73882fa0
Update BMX280Sensor
...
- dynamic number and address setting
- do not return i2c-specific error for wrong values
2019-04-10 13:25:18 +03:00
Max Prokhorov
24c4826869
Default to one BMX280 sensor
2019-04-10 12:43:28 +03:00
Xose Pérez
40a8717e05
Merge pull request #1679 from Niek/dev
...
Send RF MQTT message with retain off
2019-04-08 23:46:46 +02:00
Xose Pérez
60abd56079
Merge branch 'dev' of github.com:xoseperez/espurna into dev
2019-04-08 12:57:22 +02:00
Xose Pérez
d00c2b5eb3
Fix energy storage when units different from joules
2019-04-08 12:57:11 +02:00
Niek van der Maas
29d8e8fcd9
Merge remote-tracking branch 'upstream/dev' into dev
2019-04-05 11:32:02 +02:00
Max Prokhorov
903ceb1e84
Use local includes for NtpClient wrapper
2019-04-04 21:51:28 +03:00
Max Prokhorov
eb504e5f58
Fix Travis failing with INFLUXDB_SUPPORT
2019-04-04 21:51:28 +03:00
Max Prokhorov
6732487469
MAX6675: default pins and SENSOR_SUPPORT dependency ( #1646 , #1666 )
2019-04-04 21:51:06 +03:00
Niek van der Maas
b3abd0d6b3
Send RF MQTT message with retain off
2019-04-04 16:45:45 +02:00
Xose Pérez
edef1631df
Merge pull request #1665 from mcspr/cse7766-count
...
Fix CSE7766 magnitude count
2019-03-29 13:52:44 +01:00
Xose Pérez
976be21814
Merge branch 'dev' of github.com:xoseperez/espurna into dev
2019-03-29 13:50:56 +01:00
Xose Pérez
51703f6ecf
Fix some issues with 2.5 ( #1565 )
2019-03-29 13:50:07 +01:00
Xose Pérez
0a8b2aba07
Merge pull request #1664 from mcspr/pio/silence-uart
...
PlatformIO: silence postmortem stackdump for boards using serial
2019-03-29 13:46:27 +01:00
Max Prokhorov
594e97880c
fix cse7766 magnitude count
2019-03-29 15:43:28 +03:00
Xose Pérez
20269fca84
Still not compiling with 2.5
2019-03-29 13:24:33 +01:00
Max Prokhorov
32615a43ac
Merge remote-tracking branch 'origin/dev' into pio/silence-uart
2019-03-29 15:21:13 +03:00
Max Prokhorov
8cc389fce3
no need to conditionally redefine symbols
2019-03-29 15:20:45 +03:00
Xose Pérez
504b45a852
Fix compile typo
2019-03-29 13:15:35 +01:00
Xose Pérez
b74e02ea92
Merge pull request #1647 from CraigMarkwardt/bmx280-second-sensor
...
sensors - allow a second BMX280 sensor
2019-03-29 13:05:12 +01:00
Max Prokhorov
fa44908269
fix typo and link order
2019-03-29 12:24:51 +03:00
Max Prokhorov
76563d4728
Add relevant hardware
2019-03-29 11:10:34 +03:00
Max Prokhorov
f2ad37152b
special dummy printf to disable Serial using some boards
2019-03-29 11:05:11 +03:00
Xose Pérez
175fcbf6cf
Support for WPS in core build. Using UNUSED macro to prevent warnings
2019-03-29 07:53:39 +01:00
Xose Pérez
769d677dab
Merge pull request #1662 from Niek/relay-mqtt-reporting
...
Fix building without MQTT_SUPPORT
2019-03-29 05:52:59 +01:00
Niek van der Maas
89a17313c2
Fix building without MQTT_SUPPORT
2019-03-27 20:51:44 +01:00
Craig Markwardt
b5748c9c26
Up to two BMX280 sensors are allowed on a single I2C bus, with addresses 0x76 and 0x77. Currently espurna only supports one of them.
...
This change adds a second sensor object to deal with two sensors, if BMX280_NUMBER == 2
2019-03-26 09:33:09 -04:00
Xose Pérez
21de702bcc
Fix dupplicate key in platformio.ini
2019-03-25 20:10:31 +01:00
Xose Pérez
b00b159e42
Do not check line-end-style in web UI builder ( #1657 )
2019-03-25 13:46:25 +01:00
Xose Pérez
e037dd15fb
Merge pull request #1642 from mcspr/ntp/async-state
...
Update NTP
2019-03-25 12:43:30 +01:00
Xose Pérez
9c3a6e6548
Merge branch 'webui/switch-typo' of https://github.com/mcspr/espurna into mcspr-webui/switch-typo
2019-03-25 12:41:28 +01:00
Xose Pérez
f40b621637
Merge branch 'sync_first' of https://github.com/foxel/espurna into foxel-sync_first
2019-03-25 12:39:35 +01:00
Xose Pérez
019dc3596b
Merge pull request #1641 from irmishappy/patch-1
...
update hardware.h GREEN_ESP8266RELAY button1 mode
2019-03-25 12:26:50 +01:00
Xose Pérez
59e8fc21d6
Merge pull request #1650 from ColinShorts/dev
...
Adding support for Generic GU10 bulb
2019-03-25 12:25:48 +01:00