mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-12 10:49:54 +03:00
Merge branch 'v2' of https://github.com/proddy/EMS-ESP into v2
This commit is contained in:
67
README.md
67
README.md
@@ -2,7 +2,9 @@
|
||||
|
||||
## **Breaking changes**
|
||||
|
||||
- MQTT base has been removed. The hostname is only used.
|
||||
- MQTT base has been removed. The hostname is only used
|
||||
- refresh command renamed to fetch
|
||||
- have to 'wifi reconnect' after changing wifi in console
|
||||
|
||||
## **New Features in v2**
|
||||
|
||||
@@ -65,7 +67,7 @@ common commands available in all contexts:
|
||||
|
||||
(from the root)
|
||||
set
|
||||
refresh
|
||||
fetch
|
||||
system (enters a context)
|
||||
boiler (enters a context)
|
||||
thermostat (enters a context)
|
||||
@@ -82,11 +84,13 @@ system
|
||||
set
|
||||
show
|
||||
show mqtt
|
||||
show users
|
||||
passwd
|
||||
restart
|
||||
set wifi hostname <name>
|
||||
set wifi password
|
||||
set wifi ssid <name>
|
||||
wifi reconnect
|
||||
|
||||
boiler
|
||||
comfort <hot |eco | intelligent>
|
||||
@@ -96,6 +100,8 @@ boiler
|
||||
wwonetime <on | off>
|
||||
wwtemp <degrees>
|
||||
read <type ID>
|
||||
maxpower <%>
|
||||
minpower <%>
|
||||
|
||||
thermostat
|
||||
set
|
||||
@@ -106,6 +112,61 @@ thermostat
|
||||
```
|
||||
|
||||
----------
|
||||
### **mqtt commands**
|
||||
|
||||
commands can be written as `{"cmd": ,"data": }` or direct.
|
||||
To set thermostat commands depending on heatingcircuits add `"hc": ` or nest the command. Without `"hc":` the first ative heatingcircuit is set.
|
||||
These commands are equivalent:
|
||||
`{"hc":2,"cmd":"daytemp","data":21}` or `{"hc":2,"daytemp":21}`or `{"hc2"{"daytemp":21}}`
|
||||
In direct commands it's possible to combine commands, i.e. `{"hc1":{"daytemp":21,"nighttemp":17},"hc2":{"daytemp":20}}`
|
||||
```
|
||||
*boiler_cmd*
|
||||
comfort <hot, eco, intelligent>
|
||||
flowtemp <degrees>
|
||||
wwtemp <degrees>
|
||||
boilhyston <degrees> (negative value)
|
||||
boilhystoff <degrees> (positive value)
|
||||
burnperiod <minutes>
|
||||
burnminpower <%>
|
||||
burnmaxpower <%>
|
||||
pumpdelay <minutes>
|
||||
|
||||
*thermostat_cmd*
|
||||
--- without hc ---
|
||||
wwmode <off | on | auto>
|
||||
calinttemp <degrees>
|
||||
minexttemp <degrees>
|
||||
building <light | medium | heavy>
|
||||
language <n> (0=de, 1=nl, 2=fr, 3=it) only RC30
|
||||
display <n> (0=int temp, 1= int set, 2=ext. temp, 3=burner, 4=ww, 5=mode, 6=time, 7=date, 8=smoke) only RC30
|
||||
clockoffset <seconds> (only RC30)
|
||||
--- with hc ---
|
||||
mode <auto | night | day | nofrost | heat | eco>
|
||||
temp <degrees>
|
||||
nighttemp <degrees>
|
||||
daytemp <degrees>
|
||||
nofrosttemp <degrees>
|
||||
ecotemp <degrees>
|
||||
heattemp <degrees>
|
||||
summertemp <degrees>
|
||||
designtemp <degrees>
|
||||
offsettemp <degrees>
|
||||
holidaytemp <degrees>
|
||||
remotetemp <degrees>
|
||||
control <0 | 1 | 2>
|
||||
pause <hours>
|
||||
party <hours>
|
||||
holiday <dd.mm.yyyy-dd.mm.yyyy>
|
||||
date <NTP | hh:mm:ss-dd.mm.yyyy-dw-dst>
|
||||
|
||||
*cmd*
|
||||
send <"0B XX XX ..">
|
||||
D0 <0 | 1>
|
||||
D1 <0 | 1>
|
||||
D2 <0 | 1>
|
||||
D3 <0 | 1>
|
||||
|
||||
```
|
||||
|
||||
### **Basic Design Principles**
|
||||
|
||||
@@ -178,7 +239,7 @@ The Web is based off Rick's awesome [esp8266-react](https://github.com/rjwats/es
|
||||
* `MqttStatus.cpp` added root["mqtt_fails"]
|
||||
* `SecuritySettingsService.cpp` added version to the JWT payload
|
||||
* `SecuritySettingsService.h` #include "../../src/version.h"
|
||||
* `WiFiSettingsService.cpp` added WiFi.setOutputPower(20.0f) - removed
|
||||
* `WiFiSettingsService.cpp` added WiFi.setOutputPower(20.0f), moved setHostname
|
||||
* `OTASettingsService.h` added #include "../../src/system.h"
|
||||
* `OTASettingsService.cpp` added call to emsesp::System::upload_status(true)
|
||||
* `features.ini`: -D FT_NTP=0
|
||||
|
||||
Reference in New Issue
Block a user