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
2019-06-24 00:15:03 +03:00
Xose Pérez
0998110d86
Merge pull request #1766 from mcspr/psh-fix
...
Fix PSH environments
2019-06-09 13:30:20 +02:00
Max Prokhorov
221e5a7cc5
Fix PSH envs in platformio.ini
2019-06-08 21:54:14 +03:00
Max Prokhorov
73f65b3f15
Disable Serial for hardware using TX or RX pins
2019-06-04 19:56:35 +03:00
Xose Pérez
c57a0abf7b
Merge pull request #1757 from mcspr/mqtt/retry-states
...
MQTT connection state
2019-06-04 17:08:01 +02:00
Xose Pérez
79ee2a7ea4
Merge pull request #1758 from mcspr/ldr-sensor/defines
...
Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT
2019-06-04 17:05:14 +02:00
Xose Pérez
2cd7a8717a
Upgraded NoFUSS support to 0.3, added build header to request, fixed bug in device string size
2019-06-04 13:07:04 +02:00
Xose Pérez
78ebe98532
Merge branch 'dev' of github.com:xoseperez/espurna into dev
2019-06-04 13:05:33 +02:00
Max Prokhorov
b316995f8d
Update WebUI for 9ceca44770
2019-06-04 09:26:40 +03:00
Max Prokhorov
075b704d6c
Log in travis if webui files have changed
2019-06-04 09:26:40 +03:00
reaper7
c5d4a1f7a6
Fix mqtt topic with ending slash ( #1755 )
2019-06-04 09:26:18 +03:00
copyrights
08a4940344
fix path creation for firmware in build.sh ( #1753 )
2019-06-04 09:24:22 +03:00
copyrights
21b0ac04df
MQTT: send mired if cct in use ( #1742 )
2019-06-04 09:24:08 +03:00
Niek van der Maas
05f682189e
Update PlatformIO Core versions ( #1734 )
...
* Added new core versions 2.5.1/2.5.2 with matching PlatformIO versions
* Update platformio.ini
2019-06-04 09:23:48 +03:00
Max Prokhorov
9f478e7bb9
Rename NTC/LDR_SENSOR to NTC/LDR_SUPPORT
2019-05-30 12:18:33 +03:00
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
b5b01a2376
Small desegin change in memanalizer output
2019-05-25 09:21:18 +02:00
Xose Pérez
76066a3aa1
Fix memanalizer out-of-range
2019-05-25 09:16:10 +02: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
Max Prokhorov
6452f1777e
mqtt: remove 'connecting' flag when connected
2019-05-18 23:04:24 +03:00
Max Prokhorov
5ca44c1c4c
mqtt: display connection state, mqtt.info command
2019-05-18 23:04:24 +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