Egyras / HeishaMon

Panasonic Aquarea air-water H, J, K and L series protocol decrypt
230 stars 117 forks source link

Setcurve Commands via Heishamon Rules #291

Closed mieschc closed 4 days ago

mieschc commented 1 year ago

Moin gents,

we have some gents in our german Heishamon Community which want to use soley the Heishamon Rules an no extra third-party stuff (MQTT broker etc.) to keep it simple and to have more operational safety (less equipment - less possibility for fault/failure). As far as we understand the following commands can only be used via a JSON File: "Z1_Heat_Curve_Target_High_Temp", //TOP29 "Z1_Heat_Curve_Target_Low_Temp", //TOP30 "Z1_Heat_Curve_Outside_High_Temp", //TOP31 "Z1_Heat_Curve_Outside_Low_Temp", //TOP32

Is there a possiblity to adjust the heat curve settings directly via the Heishamon Rules or to add this feature?

Update: To use the fixed outled temp instead of the heat curve would be a soluton, but due to lack of the heat shift function via the timer this would not be convenient.

Brgds

MiG-41 commented 1 year ago

To be precise SetCuve sets not only TOP 29-32 , but generally all Curves , so also TOP72-75 , TOP82-89...

McMagellan commented 1 year ago

We know that there are in summary 4 heat/cool curves setups. What we will do is to switch off the internal Z1 heatcurve calkulation and control it via Heishamon-Rules. You can do it simply to write the target temperature in TOP27, but then your weektimer will be working corrupt.

To find a second way without TOP27 is correct the target temperatur parameter from the Z1 heatcurce setup with your own calculated parameter transfered even in TOP29 and TOP30. In documentation there is only a way with using JSON- string possible. We need to do this from Rules-Environment.

Why can Heishamon handle this via JSON but not from Rules? That is the question.

Does an General-Command exists in Rules to set any TOP- parameter? For example: @SetTopXXXto = YYY; So we can do it this way.

Best regards

CurlyMoo commented 1 year ago

@IgorYbema Any ideas on this one?

CurlyMoo commented 5 months ago

Setting the curves inside the rules should now be possible with the latest code in this PR: https://github.com/IgorYbema/HeishaMon/pull/121

It should still be tested though.

Setting the curves is then done like this:

@SetCurves = concat('{"zone1":{"heat":{"target":"high":', @Z1_Heat_Curve_Target_High_Temp, ',"low":', @Z1_Heat_Curve_Target_Low_Temp, '}}}}');
HighlyCompressedAir commented 4 days ago

This issue can be closed.