Egyras / HeishaMon

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

Console output is missing global variables (HeishaMon v5, firmware 3.5) #486

Open blb4github opened 1 month ago

blb4github commented 1 month ago

In the 'old' HeishaMon version the global variable where always visible on the console, but now on HeishaMon v5 with firmware 3.5 I don't see the global variables in the console output.

Scherm­afbeelding 2024-05-21 om 23 07 44

I do see them via serial logging:

909372: ==== Operating_Mode_State ====
909372: rule #12 was executed in 267 microseconds
909372: 
>>> local variables

909373: 
>>> global variables

 4 #allowQuietMode = 1
 5 #allowSyncHP = 1
 6 #allowSyncOT = 1
 7 #maxTa = 36
 8 #C3WayValve = 0
 9 #CCompressorFrequency = 0
10 #chEnable = 0
11 #chEnableOffTime = 0
12 #chEnableTimeOff = 5577
13 #CompressorRunTime = -14
14 #CompressorStateChangeTime = 5576
15 #CompressorState = 0
16 #CQuietMode = 3
17 #CDeFrost = 0
18 #DHWRun = -1
19 #FirstBoot = 2
20 #RHPState = 0
21 #RMaxPumpDuty = 85
22 #COperatingMode = 0
23 #OutsideTemp = 17
24 #PreviousHPS = -1
25 #PreviousOM = -1
26 #RemoteOverRide = 0
27 #RQuietMode = 3
28 #SHifT = -5
29 #TCompressorFreq = 24
30 #RoomTempDelta = 3.09766
31 #time = 5590
32 #ST = -64
stumbaumr commented 2 weeks ago

Should be solved in this build https://github.com/IgorYbema/HeishaMon/actions/runs/9553126605.

Binifada1956 commented 2 weeks ago

Heishamon V5, SW Alpha-e17aac1

I've tested it. Sorry, still no Variables

grafik

stumbaumr commented 2 weeks ago

Mmmh, very strange, I do get global variables with version Alpha-e17aac1

grafik

grafik

stumbaumr commented 2 weeks ago

Maybe there is a difference regarding console logging in the ESP32 vs. the ESP8266 builds.

Binifada1956 commented 2 weeks ago

Do you have heishamon V4 or V5?

stumbaumr commented 2 weeks ago

V4 - ESP8266 based. So the rules are still able to produce variable output - I think it is the build...

Binifada1956 commented 2 weeks ago

The rules worked with the "old" V4 Heishamon and the variables were output correctly. The rules also run in V5, only the output in the console remains empty. Therefore no control over the content of the variables is possible.

blb4github commented 2 weeks ago

I can confirm the variables are not visible in console output on V5, fw Alpha-e17aac1. I do see them in serial logging.

stumbaumr commented 2 weeks ago

This is probably something @IgorYbema should know about... somehow on ESP32 variables do not show in console output - but on ESP8266 they do...

Binifada1956 commented 1 week ago

May be @CurlyMoo also …?

CurlyMoo commented 1 week ago

For ESP32 you should consult @IgorYbema