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
5 years ago
Xose Pérez
868d4d5573
Added LDR sensor (thanks to Altan Altay)
5 years ago
copyrights
d9b9e1449d
MQTT and HA brightness ( #1730 )
* MQTT and HA brightness shall only be depended on LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
* remove unnecessary changes
5 years ago
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.
5 years ago
Max Prokhorov
aac2e1e47e
LED: store default settings exactly once ( #1719 , #1724 )
5 years ago
Luciano Andrade
55b9f2a52f
Send Vcc, LoadAvg and Ssid to influxdb ( #1714 )
5 years ago
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
5 years ago
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
5 years ago
DmitryBlinov
bb33dfd102
Thermostat upgrade ( #1711 )
* Add "Enable Thermostat" switch
* Add heater/cooler thermostat mode
5 years ago
Max Prokhorov
62a2b9e882
PZEM004T: settings & dev board ( #1712 )
* PZEM004T: runtime port and address settings
* Add nodemcu-pzem004t test env
* pzEneTotal -> pzemEneTotal
5 years ago
Max Prokhorov
8e95632daf
MQTT: Reset connection timer with PubSubClient ( #1702 )
https://github.com/xoseperez/espurna/issues/1465#issuecomment-484566975
5 years ago
Max Prokhorov
8a5a0fb309
Send status right after boot ( #1700 )
5 years ago
Max Prokhorov
3f37556cdd
Safer loop delay default ( #1574 , #1631 , #1699 )
* Call delay() after callbacks
* Use safer loop delay value
5 years ago
Max Prokhorov
0b73882fa0
Update BMX280Sensor
- dynamic number and address setting
- do not return i2c-specific error for wrong values
5 years ago
Max Prokhorov
24c4826869
Default to one BMX280 sensor
5 years ago
Xose Pérez
d00c2b5eb3
Fix energy storage when units different from joules
5 years ago
Max Prokhorov
903ceb1e84
Use local includes for NtpClient wrapper
5 years ago
Max Prokhorov
eb504e5f58
Fix Travis failing with INFLUXDB_SUPPORT
5 years ago
Max Prokhorov
6732487469
MAX6675: default pins and SENSOR_SUPPORT dependency ( #1646 , #1666 )
5 years ago
Niek van der Maas
b3abd0d6b3
Send RF MQTT message with retain off
5 years ago
Xose Pérez
51703f6ecf
Fix some issues with 2.5 ( #1565 )
5 years ago
Max Prokhorov
594e97880c
fix cse7766 magnitude count
5 years ago
Xose Pérez
504b45a852
Fix compile typo
5 years ago
Max Prokhorov
fa44908269
fix typo and link order
5 years ago
Max Prokhorov
f2ad37152b
special dummy printf to disable Serial using some boards
5 years ago
Xose Pérez
175fcbf6cf
Support for WPS in core build. Using UNUSED macro to prevent warnings
5 years ago
Niek van der Maas
89a17313c2
Fix building without MQTT_SUPPORT
5 years ago
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
5 years ago
Indu Prakash
d1c852eee5
Fix for #1653
5 years ago
Niek van der Maas
83dc391208
Use mqttForward() instead
5 years ago
Colin Shorts
c3a0a701c2
Adding support for Generic GU10 from #1549
5 years ago
Max Prokhorov
38a950c294
fix comment about clock cycles
5 years ago
Max Prokhorov
79c6263284
Event sensor: do not detach existing interrupts
5 years ago
Craig Markwardt
8d52078bcb
Modify BaseSensor so that each sensor knows number of decimals to represent its magnitude types; update sensor.ino to take advantage of this knowledge; sensors BMX280 and Dallas OneWire are updated with this knowledge; tested with BME280 and Dallas DS18B20 sensors
5 years ago
Craig Markwardt
e4ed2439c4
sensors - allow a second BMX280 sensor
5 years ago
Niek van der Maas
88135a67b3
Added in relayToggle() as well
5 years ago
Xose Pérez
0987e01950
Allow to configure all LEDs from UI ( #1429 )
5 years ago
Xose Pérez
13fb5fa929
Using espurna.io as CORS domain
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
5 years ago
Xose Pérez
1f2577a4ef
Update README.md
5 years ago
Niek van der Maas
a072ada7ae
Add option to disable relay reporting to MQTT
5 years ago
Max Prokhorov
ad2ecc45f3
Generate sync interval exactly once
5 years ago
Max Prokhorov
494427402a
WebUI: selector typo
5 years ago
Max Prokhorov
7bff68b7b5
dummy return value to fix warning
5 years ago
Max Prokhorov
91cbba3493
Update NTP
- wrapper NTPClient class to avoid inadvertently calling NTP::getTime() while
setting things up
- only call NTP::getTime() when in loop(), install async TimeLib
sync provider and manually set TimeLib time
- randomize sync and delay times
5 years ago
irmishappy
72da00126a
update GREEN_ESP8266RELAY button1 mode
Mine was not working till I added BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
5 years ago
AlbertWeterings
b9029020a5
CSE7766: Add reactive power calculation ( #1591 )
* Add reactive power calculation and bring output to in line with HLW8012 sensor based units
* Update CSE7766Sensor.h
5 years ago
Xose Pérez
0686e048a9
Cleaning up arduino.h file
5 years ago
Xose Pérez
da1c4f4947
Split core configurations between non-core modules and ui modules
5 years ago
Ctrl-F4
b0d47b4cd7
Fix relay provider setting of Xiaomi Smart Desk Lamp ( #1627 )
fixes #1621
5 years ago