copyrights
d9b9e1449d
MQTT and HA brightness ( #1730 )
* MQTT and HA brightness shall only be depended on LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
* remove unnecessary changes
5 years ago
Max Prokhorov
820d8c4be8
Initial implementation of RTCMEM storage ( #1420 )
- store system crash counter and reset reason in rtcmem instead of eeprom
- store relay state mask in rtc in addition to the eeprom
- store relay state in eeprom only when boot mode requires it
- simplify relay state mask calculation / reading using std::bitset
- light state save and restore
- energy total save and restore
5 years ago
tsymbaliuk
2832dc7552
Allow to set relative brightness and relative color in mireds through command using +N and -N notation
5 years ago
Max Prokhorov
d87f6124c9
Send brightness to websocket
fixup 868d153f
lights status refactor
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Max Prokhorov
868d153fa4
Compact WS data
* send all ws config at once on start
* reduce ws json overhead by creating message buffer manually
* use k:[values] instead of k1:value1, k2:value2 etc. for lists
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
cc4ba52b4d
Delay light comms (mqtt, ws, broker) to avooid jamming
5 years ago
Xose Pérez
356be730e2
Added message type to broker
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
Xose Pérez
fcf59d04cd
Change light transition time via MQTT or API ( #1412 )
6 years ago
Xose Pérez
19d0c5d17a
Report target color values on MQTT and API
6 years ago
Xose Pérez
01802741f2
Tested encoder support
6 years ago
Xose Pérez
ea1207195c
Initial -untested- support for Xiaomi Smart Desk Lamp ( #884 ) and rotary encoders
6 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Xose Pérez
4f61d3aa7e
Option to remove API_SUPPORT at build time
6 years ago
Niklas Wagner
409d2f7f90
_light_mireds must be set before we return;
6 years ago
Xose Pérez
e80b49d5f1
Simplify mired/kelvin methods
6 years ago
Xose Pérez
69ac57abb4
Using alternative methods for maths, saving ~8Kb with lights
6 years ago
Xose Pérez
bc67e93c28
Fix per channel state on/off for lights ( #830 )
6 years ago
Niklas Wagner
5e32f8cac9
Refactor Code
6 years ago
Niklas Wagner
f116f30ef7
Rename variables
6 years ago
Niklas Wagner
e8bd92c192
Add Webinterface Option
6 years ago
Niklas Wagner
81dcb644b6
Switch 4th and 5th channel and rename variables
6 years ago
Niklas Wagner
20adc846a9
Use the 5th Channel as Cold White LED
6 years ago
Xose Pérez
33b2c919bc
Add brightness factor for lightbulbs with power white LEDs but low brightness RGB
6 years ago
Niklas Wagner
412051ae8d
Always set white inputValue to 0
6 years ago
Xose Pérez
627b9874d1
Use brightness when _light_use_white is disabled
6 years ago
Niklas Wagner
2bc1e6f97a
Rework RGBW implementation and cleanup script
6 years ago
Niklas Wagner
04b23cd146
WIP Kelvin
6 years ago
Niklas Wagner
9e1352f5ef
Fix color Restore functions
6 years ago
Niklas Wagner
c0e92c5c4a
Implement RGBW correctly
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
8a9e72e4be
Add option to specify the light transition time in web UI ( #739 )
6 years ago
Xose Pérez
5c662432ee
Changed naming convention: topic key is now magnitude
6 years ago
Xose Pérez
5ff860d2ea
Fix initialization of per channel states
6 years ago
Xose Pérez
789e834c55
Support to set on/off state per channel using switches ( #457 )
6 years ago
Xose Pérez
90ce2a8e37
Local broker
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
ff56e38254
Added hostname and mac placeholders for MQTT base topic
6 years ago
Xose Pérez
a5df00b569
Option to disable network scanning ( #392 , #399 ). Scan networks from web UI
6 years ago
Xose Pérez
ce9e2a6482
Refactor settings module, added settingsCommandRegister
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
50ee5be3e4
Color synchronisation between different lights via MQTT
6 years ago
Xose Pérez
d3edf9e7cd
Fix uninitialized muxes for dimmer lights ( #356 )
6 years ago
Xose Pérez
8eb1390118
Fix references to pwm.h
7 years ago
Xose Pérez
8b01681de2
Changed apiRegister method
7 years ago
Xose Pérez
8e5227f4f2
Transition brightness changes
7 years ago