Max Prokhorov
be7ca13d76
influxdb: fix http response parsing, refactor module scope ( #2153 )
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
96a13f39c3
Influxdb: don't queue any data while connecting
4 years ago
Max Prokhorov
0ae6e3b48e
Influxdb: fix sensor send frequency, use async client, send data in batches ( #2061 )
* broker: drop REAL_TIME flag, use separate Broker entities
* influxdb: use async client, send data in batches
4 years ago
Max Prokhorov
9a5698b342
Add TUYA_SUPPORT ( #1997 )
- add experimental `relayDummy` to configure dummy relays at runtime
- add tuya-generic-dimmer #1729
- cleanup broker interface to allow Tuya module to properly receive events, modify broker methods to allow different function signatures
- add basic tests for Tuya frame and data protocol
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
Xose Pérez
51703f6ecf
Fix some issues with 2.5 ( #1565 )
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
5 years ago
Xose Pérez
356be730e2
Added message type to broker
5 years ago
Xose Pérez
cb8d9c344d
Manage relay changes in third party modules via broker
5 years ago
Xose Pérez
c291b96e5a
Move strings to progmem
6 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Xose Pérez
f0fffcbe93
Fix InfluxDB send sensor by id ( #882 )
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
c69d47acd3
Fix codacy issues
6 years ago
Xose Pérez
8878f286e9
Single exit point from idbSend method
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
7bed35f0d6
Free memory from host string in influxDB ( #410 )
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
ad05448603
Preliminary support for Thingspeak REST API over SSL
6 years ago
Xose Pérez
18c69f0a1e
Several fixes related to dependencies between modules
6 years ago
Xose Pérez
2299ce9bfd
Basic sensor scafolding, DHT 90% migrated
6 years ago
Xose Pérez
6d2f4ce57f
Handle initial heartbeat from main loop ( #318 )
6 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
462204b368
Rename influxDB methods
7 years ago
Xose Pérez
95459567d9
Small changes, caching some values
7 years ago
Xose Pérez
68c90c1cc0
Fix bug using snprintf
7 years ago
Xose Pérez
f7cf9a691f
Replaced sprintf with safer snprintf
7 years ago
Xose Pérez
1c5ebd3e08
Refactoring build flag names
7 years ago
Xose Pérez
9750bf26bb
Moved strings to PROGMEM, 160 bytes saved in memory
7 years ago
Xose Pérez
eb79642f2e
Major refactor of device flags
7 years ago
Xose Pérez
67811f76ff
Check wifi connection before trying to connect to influxdb host
7 years ago
Xose Pérez
55bec8f033
Direct InfluxDB HTTP support
7 years ago