--- a/www-thermferm/index.php Thu Jan 10 16:33:42 2019 +0100 +++ b/www-thermferm/index.php Mon Jan 14 22:46:27 2019 +0100 @@ -1,6 +1,6 @@ <?php /***************************************************************************** - * Copyright (C) 2014-2017 + * Copyright (C) 2014-2019 * * Michiel Broek <mbroek at mbse dot eu> * @@ -87,9 +87,7 @@ if (isset($_POST['SetProfile']) && isset($_POST['key']) && isset($_POST['UUID'])) { $cmd = array('UNIT PUT '.$_POST['UUID']); - if ($_POST['key'] == "Set") - $cmd[] = 'PROFILE,'.$_POST['SetProfile']; - else if ($_POST['key'] == "Start") + if ($_POST['key'] == "Start") $cmd[] = 'PROF_STATE,RUN'; else if (($_POST['key'] == "Pause") || ($_POST['key'] == "Resume")) $cmd[] = 'PROF_STATE,PAUSE';