Zitat von: Beta-User am 14 Juli 2025, 18:54:13richtig gruselig ist diese ineffektive Mischung der "eocr"-Attribute
Zitat von: Beta-User am 14 Juli 2025, 18:54:13permanente Power-Limits setzt man imo einmalig und positioniert das nicht prominent
Zitat von: Beta-User am 14 Juli 2025, 18:54:13Bin auf AhoyDTU, das kann JSON.Ja, das find ich auch angenehmer ggü MQTT - zumal ohne MQTT AhoyDTU auch wesentlich stabiler läuft bei mir.
my $myParam = {
callback => sub() {},
url => "http://[AhoyDTU-IP]/api/ctrl",
timeout => 5,
hash => "GIVE-ME-AN-ID",
method => "POST",
header => "Content-Type: application/json"."\r\n"."accept: application/json",
data => '{ "id": 0, "cmd": "limit_nonpersistent_absolute", "val": '.$myNewLimitInWatt.' }'
}; # https://github.com/lumapu/ahoy/blob/main/manual/User_Manual.md#power-limit-active-power-control-absolute-non-persistent-watts
HttpUtils_NonblockingGet($myParam);
my %sets539only =(
635 "p75passiveCooling" => {cmd2=>"0A0575", argMin => "0", argMax => "4", type =>"1clean", unit =>""},
636 "p99PumpRateHC" => {cmd2=>"0A02CB", argMin => "0", argMax => "100", type =>"5temp", unit =>" %"},
637 "p99PumpRateDHW" => {cmd2=>"0A02CC", argMin => "0", argMax => "100", type =>"5temp", unit =>" %"} ,
638 "p99CoolingHC1Switch" => {cmd2=>"0B0287", argMin => "0", argMax => "1", type =>"1clean", unit =>""},
639 "p99CoolingHC1SetTemp" => {cmd2=>"0B0582", argMin => "12", argMax => "27", type =>"5temp", unit =>" °C"}, #suggested by TheTrumpeter
640 "p99CoolingHC1HysterFlowTemp" => {cmd2=>"0B0583", argMin => "0.5", argMax => "5", type =>"5temp", unit =>" K"}, #suggested by TheTrumpeter
641 "p99CoolingHC1HysterRoomTemp" => {cmd2=>"0B0584", argMin => "0.5", argMax => "3", type =>"5temp", unit =>" K"}, #suggested by TheTrumpeter
642 "p99CoolingHC2Switch" => {cmd2=>"0C0287", argMin => "0", argMax => "1", type =>"1clean", unit =>""}, #suggested by rett_de
643 "p99CoolingHC2SetTemp" => {cmd2=>"0C0582", argMin => "12", argMax => "27", type =>"5temp", unit =>" °C"}, #suggested by rett_de
644 "p99CoolingHC2HysterFlowTemp" => {cmd2=>"0C0583", argMin => "0.5", argMax => "5", type =>"5temp", unit =>" K"}, #suggested by rett_de
645 "p99CoolingHC2HysterRoomTemp" => {cmd2=>"0C0584", argMin => "0.5", argMax => "3", type =>"5temp", unit =>" K"} #suggested by Trett_de
646 );
Zitat von: Maxl am 14 Juli 2025, 14:19:01kann es sein das ich state verwenden mus und nicht time um meinen richtigen Wert zu erhalten?würde ich vorsichtig mit ja beantworten.
Zitat von: Maxl am 14 Juli 2025, 14:19:01Dumme Frage, was ist der Unterschied zwischen state und time.wie gesagt, kannst nur Du erklären, wie Du siehst steht da aber ein (Zeit) Wert drin, der heute morgen geschrieben wurde.