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
0b5d200de1
Scripts: memanalyser fixes ( #2014 )
* scripts: memanalyzer fixes
- cleanup duplication
- cleanup external dependencies
- properly use subprocess when calling pio, add debug mode
- cleanup argparse usage, use store_true actions instead of counters
- use python3 syntax and python3 shebang by default
- fix some issues with module dependencies
* move to scripts
* use simple return
* quick fix for rfm
* codacy unused import
* formatting
* show defaults
* while at it, rewrite to make pylint happy
* fix unused
* add windows support + note
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
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
Maxim Prokhorov
8a0b3bca42
Fix compiler warnings
Add button definitions to the travis02 and travis03
IR_BUTTON should be uint32_t to properly work with new macro
eepromRotate return value is not used
6 years ago
Xose Pérez
2a439c570c
Homogeneizing naming and I2C method wrappers
6 years ago
Xose Pérez
8a999bb15a
Replacing delay with nice_delay
6 years ago
gn0st1c
40549ff8f6
new devices&sensors + some fixes
new devices&sensors + some fixes
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
947f9bab73
I2C sensors using new i2c interface
6 years ago
Xose Pérez
bc85600e9c
Remove dependency from Sparkfun BME280 library
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
da2c104fe3
Revert I2C clock and clock stretch time change
6 years ago
Xose Pérez
a864df1c52
Move i2c settings
6 years ago
Xose Pérez
af805ab045
Update copyright notices
7 years ago
Xose Pérez
80af416d5b
Changed i2c lock mask method
7 years ago
Xose Pérez
4e454331d4
Improved I2C auto-discover avoiding collissions
7 years ago
Xose Pérez
f8e7a564f1
Support for SI7021 sensor, I2C enabled by default using Wire library
7 years ago
Xose Pérez
2bce2c984a
Added I2C clean bus code
7 years ago
Xose Pérez
4a0f1c2933
Clean I2C module
7 years ago
Xose Pérez
1c5ebd3e08
Refactoring build flag names
7 years ago
Xose Pérez
8c54488fa1
Moving debug strings to PROGMEM. ~1.5KBytes of heap memory freed
7 years ago
Xose Pérez
49a8e9ff1d
Issue #84 . prevent using the hardware serial in the Dual for debug messages
7 years ago
Xose Pérez
97b43cd357
Small changes
7 years ago
Xose Pérez
dd4e2037da
I2C and ADC121 implementation
7 years ago