Maxim Prokhorov
021f0afb86
sys: clean-up system-specific functions
- shrink utils source file, move heartbeat and boot management into system
- improvise with 'heartbeat' functionality. include scheduler implementation that will
manage the per-module heartbeat callbacks with individual 'mode' and
'interval' settings. current ones are mqtt (including relays, lights, thermostat), debug and
influxdb. preserve heartbeat NONE, ONCE and REPEAT, REPEAT_STATUS is effectively a hbReport & status bit.
- mqtt heartbeat is managed through mqttHeartbeat() callbacks
- tweak mqtt callbacks to use lists instead of the vector, slighly reducing the size of the .bin
- update WebUI, include report setting and update hbMode values
- make sure general.h settings include new heartbeat,
move constant definitions outside of the header
- correctly include dependencies through the .cpp, avoid leaking
internal details.
- as a side-effect, base headers are no longer included recursively
3 years ago
Maxim Prokhorov
c9a951068b
settings: fix gcc-4.8.2 builds
3 years ago
Maxim Prokhorov
21b89efb4b
settings: fallback to defaults when old cfg is detected
3 years ago
Maxim Prokhorov
dc8a672e00
... on second thought, just bump the cfg version
4 years ago
Maxim Prokhorov
17814d8003
settings: fix migrate routine never working with empty settings
4 years ago
Max Prokhorov
edb23dbfc4
Convert .ino -> .cpp ( #2228 )
- general conversion from .ino modules into a separate .cpp files
- clean-up internal headers, place libraries into .h. guard .cpp with _SUPPORT flags
- fix some instances of shared variables instead of public methods
- tweak build system to still build a single source file via os environment variable ESPURNA_BUILD_SINGLE_SOURCE
4 years ago
Max Prokhorov
f2ed94f230
cfg: update migrate configuration ( #2176 )
4 years ago
Max Prokhorov
298ce8cac2
Refactor get/set/del/hasSetting ( #2048 )
* experimental: refactor get/set/del/hasSetting
* sensors
* lights
* cleaup
* r
* tuya
* fixup! sensors
* fixup! tuya
* header defaults types
* fix lights
* setup already checks for max
* helper for flashstring
* fix overload
* oops
* refactor includes
* warnings
* test with migrate
* add ids in a separate file
* cleanup
rev: crash
rev: domoticz
rev: encoder
rev: loopdelay
rev: hass
rev: i2c
rev2: hass
rev: mqtt
rev: rfm69
rev: relay
rev: rpn
rev: settings setup
rev: hb settings
rev: telnet preprocessor fix
rev: settings wrap
rev: tspk bool style
rev: wifi types
rev: util hb
rev: settings
fixup! rev: settings
* rev: cleanup wifi injections based on new getters
* hasSetting now can return true for empty key
* show hardcoded network in web
* oops
* fix ws referencing wrong index
* ensure empty strings are written
* c/p
* use experimental schema style for payload, mark network as not deletable
* allow to customize converter
* shorter syntax, try using with wifi
* use proper #if syntax to handle definitions that are missing
* fixup ota sc checks getter, cast schEnabled to bool
* add utils header to sensors
4 years ago
Anders Blockmar
55a73b1c6e
Added hardware config for Avatto NAS-WR01W ( #2113 )
Not a match to same model from Neo Coolcam
4 years ago
orrpan
57a441a811
Deltaco smart home ( #2103 )
* add support for DELTACO SH-P01
* renaming deltaco_sh_le14w to deltaco_sh_lexxw
* add support Deltaco SH-P03USB and SH-LEXXRGB
4 years ago
mpcusack
9c5dc67320
Add support for LinkSprite R4 ( #2042 )
* Add LinkSprite R4 def
* Platformio.ini def for linksprite r4
* LINKSPRITE_LINKNODE_R4
4 years ago
orrpan
e64ec2a9e3
Device: add GENERIC_E14, e14 rgb+w 4,5w ( #2039 )
4 years ago
ealfaroc
cec6c6a385
Adding support for miobulb001 ( #1973 )
* Adding support for miobulb001
* Add miobulb001 images
* defined MUVIT_IO_MIOBULB001
* Update platformio.ini
revert default env
use dashes
* typo
* typo
5 years ago
Xose Pérez
0a11a74f94
Support for TFlag NX-SM100 and NX-SM200 power monitoring switches
5 years ago
Xose Pérez
06ebab31b5
Support for Teckin SP21
5 years ago
Xose Pérez
50eda3371b
Itead Sonoff Mini support
5 years ago
Laine Walker-Avina
7e536be79c
Add iselector-sm-pw702 ( #1837 )
5 years ago
Colin Shorts
c3a0a701c2
Adding support for Generic GU10 from #1549
5 years ago
Xose Pérez
1f2577a4ef
Update README.md
5 years ago
Xose Pérez
b878c71306
Support for Digoo/Oxaoxe NX-SP202 ( #1502 )
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Xose Pérez
64b5155aa7
Change naming for BlitzWolf SHP2 and SHP6 (now SHPX) boards
5 years ago
Sam Quinn
92032db563
ADDED SUPPORT FOR OUKITEL P1 SMART SWITCH ( #1553 )
Added initial support for Oukitel Smart Switch. This is a 2 outlet plug
that has the same pinout as the YiDian XS-SSA05.
5 years ago
Jan Rüth
43c425db69
added lyasi light bulb
5 years ago
Andrey F. Kupreychik
4202d3769c
First try for LightFox dual
5 years ago
Arthur Freund
8cddd9083d
Added configuration for the new WIFI device sold by Obi ( #1408 )
* Added the configuration for the second generation OBI devices.
* Added link to the OBI Wifi Schuko Plug V2 as well as included the device in the readme.
* Restored the default configuration accidentially changed by a previous commit.
* Renamed the OBI-V2 device to EUROMATE_WIFI_STECKER_SCHUKO_V2 as suggested by mcspr.
* Fixed spelling of comment to the proper wording Schuko.
6 years ago
Steve Wolfe
3f8f19adfc
Added Tonbux XS-SSA01 device
6 years ago
Xose Pérez
11bebb0ba7
Support for EXS WiFi Relay 5.0 (thanks to @cheise , #1218 )
6 years ago
Xose Pérez
ec6adb9dbb
Fix typo in migrate.ino
6 years ago
Colin Shorts
a4afefa827
New device - iWoole LED Table Lamp
6 years ago
Xose Pérez
917d853d75
Clean code
6 years ago
Xose Pérez
bbbfa8e91a
Support for Allterco Shelly2
6 years ago
Xose Pérez
ea1207195c
Initial -untested- support for Xiaomi Smart Desk Lamp ( #884 ) and rotary encoders
6 years ago
Xose Pérez
f840a5420f
Clean up new devices
6 years ago
abmantis
cfc0f806b6
add support for shelly1 relay
6 years ago
Xose Pérez
7f4e0ae2bd
Clean up AG-L4 code
6 years ago
Xose Pérez
b44258ac41
Preliminary support for Itead Sonoff IFAN02
6 years ago
Xose Pérez
3cd58e7f7c
Initial support for RFM69GW board
6 years ago
Xose Pérez
add909ee17
Rename Neo Coolcam device
6 years ago
Xose Pérez
cbeb306891
Added BlitzWolf BW-SHP2 configuration to migrate module
6 years ago
Xose Pérez
6fe3ef15eb
Support for Bruno Horta's OnOfre board
6 years ago
Xose Pérez
36f6d399bd
Moved {identifier} check to _mqttBackwards
6 years ago
Maxim Prokhorov
65481c23ef
Replace {identifier} with {hostname}
6 years ago
Xose Pérez
d8eee36c2a
Support for TYWE3S-based Estink WiFi Power Strip, thanks to @sandman72 ( #852 )
6 years ago
Xose Pérez
20f932e380
Support for NEO Coolcam Power Plug Wifi (no power monitoring)
6 years ago
gn0st1c
184da877be
tonbux mosquito killer support
tonbux mosquito killer support
6 years ago
Xose Pérez
9a412520b5
Changes to the ALLNET 4duino IoT WLAN relay
6 years ago
Markus Bajones
78a807e247
Add support for Allnet ESP8266_UP_Relay
6 years ago
Xose Pérez
db8400635e
Version 1.12.6
6 years ago
Colin Shorts
9136c99ae2
Initial support for Itead Sonoff POW R2
6 years ago