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
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
Max Prokhorov
37763f1ad4
Test: check core feature build ( #2080 )
* Test: check core feature build
* order
* add missing
4 years ago
Maxim Prokhorov
c43efc7dee
nofuss: custom reset reason
4 years ago
Max Prokhorov
21423431ce
Fixed size json payload & other WS bugfixes ( #1843 )
- update every dynamicjsonbuffer with fixed size constructor argument
- change to ws callback registration to use a class builder (just cosmetic)
- test multiple ws data callbacks for each module
- remove some of the static strings in favour of ws data callback
- improve sensor ws callback data size, remove duplicated strings
- use static buffer in wsDebugSend
- postpone wsSend until loop, implement wsPost to allow other modules to queue message callbacks. remove Ticker based ws callbacks for data
- update WebUI files
5 years ago
arihant daga
fbf2b71749
Backup EEPROM before performing OTA ( #1808 , #1809 )
* [Fix] Backing up EEPROM before performing OTA.For fixing - [#1808 ]
* Guard ArduinoOTA, different handler for async
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
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Xose Pérez
d47ae2e4a4
Helper terminal methods terminalOK and terminalError
5 years ago
Xose Pérez
b9e13446fc
Revert "Wrap embeddis commands and move feedback to caller"
This reverts commit 7ad0e3a02b
.
5 years ago
Xose Pérez
7ad0e3a02b
Wrap embeddis commands and move feedback to caller
5 years ago
Xose Pérez
27e7b9ae89
Move terminal methods to own module
5 years ago
Arihant Daga
9e817a0b5d
[Fix] Disabling EEPROM Rotate before updating upgrading firmware with
nofuss
5 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Xose Pérez
fa20c47f29
Check which keys should be saved and which ones shouldn't ( #730 )
6 years ago
Xose Pérez
8a999bb15a
Replacing delay with nice_delay
6 years ago
Xose Pérez
3f46b874ea
OTA upgrade from terminal using 'ota' command
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
ce9e2a6482
Refactor settings module, added settingsCommandRegister
6 years ago
Xose Pérez
16f2226805
Resolve mDNS (.local) names in MQTT, InfluxDB and NoFUSS modules
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
3518a7bc5e
Websocket callbacks (part 2)
7 years ago
Xose Pérez
1373923758
Moving UI strings to javascript
7 years ago
Xose Pérez
d53d46ce2e
Updated support for NoFUSS integration
7 years ago
Xose Pérez
1c5ebd3e08
Refactoring build flag names
7 years ago
Xose Pérez
2b5ee74d7a
Fix typo in nofuss.ino file
7 years ago
Xose Pérez
8c54488fa1
Moving debug strings to PROGMEM. ~1.5KBytes of heap memory freed
7 years ago
Xose Pérez
52a63b1849
Changes in file comment headers
7 years ago
Xose Pérez
ff81326846
Version and year bump
7 years ago
Xose Pérez
bacc2c2b92
Arduino IDE compatibility ( #18 ) - Renamed src folder and main file as 'espurna'
7 years ago
Xose Pérez
1425a8dded
Refactor settings getters and setters
7 years ago
Xose Pérez
7561b13b23
Change debug statements in nofuss module
8 years ago
Xose Pérez
7b0fbfd898
Platformio *.ino preprocessor does not find function names not starting in the first row of a line
8 years ago
Xose Pérez
4f269713c4
Moved configuration to Embedis
8 years ago
Xose Pérez
183b326b5f
Split main code file into modules
8 years ago