Max Prokhorov
dc3a572f29
Let JustWifi fallback handle AP ( #1784 )
5 years ago
Michael Murton
48699e62a0
fix led invert for yjzk switches ( #1779 )
Signed-off-by: Michael Murton <6764025+CrazyIvan359@users.noreply.github.com>
5 years ago
reaper7
bf3caf3758
add support for JINVOO VALVE SM-AW713 ( #1774 )
* add support for JINVOO VALVE SM-AW713
* add support for JINVOO VALVE SM-AW713
* add support for JINVOO VALVE SM-AW713
* add support for JINVOO VALVE SM-AW713
Type: Other
Board: Jinvoo SM-AW713
Build flag: JINVOO_VALVE_SM_AW713
Description: motorized valve
* fix typo
5 years ago
Max Prokhorov
14b796b410
Rtcmem update ( #1770 )
* Custom erase method instead of memset
* Print whole available user rtc memory
5 years ago
Max Prokhorov
0f0d0b1b34
Close connection in notFound callback ( #1768 )
* Close connection in notFound callback
* Add early check of AP mode
5 years ago
Max Prokhorov
dfd3a14abc
Terminal: heap fragmentation stat ( #1740 )
* debug: heap fragmentation stat
* Rework method detection
- return check integral type as a result of detection instead of method type
- type-tagging instead of enable_if
* fix alias
* typo
* only need one bool_type instance
* Move heap debug into HeapStats header
- don't show fragmentation stats on the first call
- prettify fragmentation display
- pack function params into helper struct
- naming
* pass external flag instead
* add missing prototypes
5 years ago
Max Prokhorov
73f65b3f15
Disable Serial for hardware using TX or RX pins
5 years ago
Xose Pérez
2cd7a8717a
Upgraded NoFUSS support to 0.3, added build header to request, fixed bug in device string size
5 years ago
Max Prokhorov
b316995f8d
Update WebUI for 9ceca44770
5 years ago
reaper7
c5d4a1f7a6
Fix mqtt topic with ending slash ( #1755 )
5 years ago
copyrights
21b0ac04df
MQTT: send mired if cct in use ( #1742 )
5 years ago
Max Prokhorov
9f478e7bb9
Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT
5 years ago
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.
5 years ago
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
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
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