From 2e76946e2daab4c9f968d6931f0641bc79eef8db Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 9 Jan 2021 18:05:54 +0100 Subject: [PATCH] add missing Response to SetPv --- tasmota/xdrv_49_pid.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/xdrv_49_pid.ino b/tasmota/xdrv_49_pid.ino index fdc02ea50..529ca3913 100644 --- a/tasmota/xdrv_49_pid.ino +++ b/tasmota/xdrv_49_pid.ino @@ -237,6 +237,7 @@ void CmndSetPv(void) { // this runs it at the next second run_pid_now = true; } + ResponseCmndNumber(atof(XdrvMailbox.data)); } void CmndSetSp(void) { @@ -358,7 +359,7 @@ void PIDShowValues(void) { static void run_pid() { double power = pid.tick(pid_current_time_secs); -#ifdef PID_DONT_USE_PID_TOPIC +#ifndef PID_DONT_USE_PID_TOPIC // This part is left inside to regularly publish the PID Power via // `%topic%/PID {"power":"0.000"}` char str_buf[FLOATSZ];