Max Prokhorov
f7f41980b6
Headers cleanup ( #2134 )
* Config: remove prototypes.h
* fixup order
* word
* add missing
* fix warning while still using .ino
* bad at c/p;
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
Maxim Prokhorov
03e6443ac6
system: move prototypes to a separate header
5 years ago
Max Prokhorov
ab186e057e
Add missing / not implemented default getSettings values ( #1996 )
* scheduler: match webui defaults
* relay: inverse error condition
* api: simplify apikey handling
* thingspeak: use apikey default value
* web: fix checkbox value for haschanged
* fixup! scheduler: match webui defaults
5 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
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Xose Pérez
938872e9c6
Version 1.13.4-DEV
6 years ago
Max Prokhorov
7a9dfb99aa
Add missing initial configuration for HTTP API ( #1288 )
6 years ago
Xose Pérez
5488bfaf7f
API is not restful (issue a PUT to change a relay status). It can be disabled from web UI ( #1192 )
6 years ago
Xose Pérez
4f61d3aa7e
Option to remove API_SUPPORT at build time
6 years ago
Xose Pérez
7c0b9e669d
Adding /api and /apis to API request callback
6 years ago
Xose Pérez
373fc53545
Reduce memory footprint of API calls ( #1133 )
6 years ago
Maxim Prokhorov
3ca1692827
Free jsonBuffer after printing
6 years ago
Xose Pérez
f651f5f18d
Use double quotes in JSON for non-numeric values ( #929 )
6 years ago
Xose Pérez
104caa93fa
Fix warnings
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
af805ab045
Update copyright notices
7 years ago
Xose Pérez
8b01681de2
Changed apiRegister method
7 years ago
Xose Pérez
569b937d6c
Changed 'reset' to 'reboot' for user interaction ( #315 )
7 years ago
Xose Pérez
3518a7bc5e
Websocket callbacks (part 2)
7 years ago
Xose Pérez
7b101f6791
Websocket callbacks
7 years ago
Xose Pérez
e83c5495de
Unify reset calls
7 years ago
Xose Pérez
2654173819
Split web code into web, ws and api
7 years ago