Maxim Prokhorov
e50b6fe79a
mdns: clean-up
3 years ago
Maxim Prokhorov
f0f6f1b8c9
utils: simplify version + revision into just version
3 years ago
Max Prokhorov
025e8c82ab
Load ratios after boot + show pwr defaults with `get` ( #2241 )
* emon: configure ratios without reboot
* settings: serialize() support
* debug: use vsnprintf from newlib, not from sdk
* settings/experimental: show defaults via `get`
* emon: override base methods, fix defaults
* sensor/emon: expose internal index calculation
- refactor configuration to use the correct index when accessing indexed
sensor methods. store index value on magnitude, refactor loops to
accomodate this new functionality
- rename slot(index) -> description(index), since we use 'slot' as
numeric value
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
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
m-kozlowski
8dac0bbe49
Build date in ota.py (mDNS) ( #1736 )
* include build_date in mdns (and ota.py)
* ota.py: correct number of dashes in header
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
5 years ago
Xose Pérez
f37b15cab8
Add telnet link to Web UI, fix mDNS hostname
6 years ago
Xose Pérez
1f39e225c9
Refactor wifi debug messages
6 years ago
Xose Pérez
394ef18299
Remove build.h and APP_BUILD_FLAGS
6 years ago
Xose Pérez
7f2aed2a33
Store the build flags in image, show them with the info message
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
ca1c1f7605
Add MAC to mDNS text fields
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
16f2226805
Resolve mDNS (.local) names in MQTT, InfluxDB and NoFUSS modules
6 years ago
Xose Pérez
5d0d64d447
Update JustWifi library to 1.1.6
6 years ago
Xose Pérez
29b3ae7041
Support to build a core version of the firmware (<290Kb) keeping track of the board type for future reference
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
4888196b5e
Clean debug messages
6 years ago
Xose Pérez
faa8202045
Added msm_size and sdk_size to mDNS txts
7 years ago
Xose Pérez
d1abe1fc65
Option to disable MQTT at build time
7 years ago
Xose Pérez
b34da11508
Moving MDNS code to its own module
7 years ago