mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
testing coldshot
This commit is contained in:
@@ -29,3 +29,15 @@ Authorization: Bearer {{token}}
|
||||
"entity" : "seltemp",
|
||||
"value" : 21.0
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://10.10.10.134/api
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwiYWRtaW4iOnRydWV9.2bHpWya2C7Q12WjNUBD6_7N3RCD7CMl-EGhyQVzFdDg
|
||||
|
||||
{
|
||||
"device" : "boiler",
|
||||
"entity" : "wwtapactivated",
|
||||
"value" : "on"
|
||||
}
|
||||
@@ -1590,9 +1590,10 @@ bool Boiler::set_ww_activated(const char * value, const int8_t id) {
|
||||
// Activate / De-activate the Warm Tap Water
|
||||
// Note: Using the type 0x1D to put the boiler into Test mode. This may be shown on the boiler with a flashing 'T'
|
||||
bool Boiler::set_tapwarmwater_activated(const char * value, const int8_t id) {
|
||||
if (!Helpers::hasValue(wwTapActivated_, EMS_VALUE_BOOL)) {
|
||||
return false;
|
||||
}
|
||||
// as it's a command it may not initially exist
|
||||
// if (!Helpers::hasValue(wwTapActivated_, EMS_VALUE_BOOL)) {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
bool v = false;
|
||||
if (!Helpers::value2bool(value, v)) {
|
||||
|
||||
Reference in New Issue
Block a user