Max Prokhorov
c7d467144a
PIO: patch lwip1 MTU bug in travis ( #1723 )
5 years ago
Max Prokhorov
6452f1777e
mqtt: remove 'connecting' flag when connected
5 years ago
Max Prokhorov
5ca44c1c4c
mqtt: display connection state, mqtt.info command
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
b12d6fd001
Remove gosund-sp1-v23 env ( #1703 )
Removed in favour of BW-SHPX bin
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
20269fca84
Still not compiling with 2.5
5 years ago
Max Prokhorov
8cc389fce3
no need to conditionally redefine symbols
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
76563d4728
Add relevant hardware
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
Xose Pérez
21de702bcc
Fix dupplicate key in platformio.ini
5 years ago
Xose Pérez
b00b159e42
Do not check line-end-style in web UI builder ( #1657 )
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
Max Prokhorov
920c205d61
spaces
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