arska-node icon indicating copy to clipboard operation
arska-node copied to clipboard

Variable 53 indicates -1 sometimes

Open joe-ave opened this issue 4 months ago • 8 comments

Hello Olli,

I just noted that variable 53 indicates -1 sometimes, that mess up channel rules. I restarted the ESP32 and cleared cash. Price trend looks ok.

//Jonas

joe-ave avatar Oct 02 '25 07:10 joe-ave

Hi Jonas, I try to catch the problem. Possibly it could happen if there is not enough price data. SE3 was your zone?

Olli

Olli69 avatar Oct 02 '25 19:10 Olli69

Yes SE3

joe-ave avatar Oct 02 '25 19:10 joe-ave

There was a (MTU15 migration) bug in time window of fixed 24 rank calculation (variable 53). That caused -1 rank value only if CET time zone was selected. The bug is now fixed and and there is also new builds 1.3.0-alfa7 - alfa status because there has been very little testing so far.

Olli69 avatar Oct 03 '25 07:10 Olli69

The other variables seem to be working, Image

joe-ave avatar Oct 03 '25 07:10 joe-ave

Thanks!, I´ll upgrade and test. //Jonas

joe-ave avatar Oct 03 '25 07:10 joe-ave

Image Image Still something odd going on, I would expect the rule to be constant on during the peak between 07 to approx 11. Running 1.3.0 alfa7

//Jonas

joe-ave avatar Oct 07 '25 20:10 joe-ave

Could you check if there is anything special in the log (http://ip-address/data/log.txt) at that time. What external connections (modbus, energy meter, http relays etc) do you have from Arska?

Olli69 avatar Oct 12 '25 07:10 Olli69

It´s 4 gpio relays and a influxdb connection only, the only thing in the log is my manual reststarts to enforce reading of new prices.

2025-10-03T07:21:21Z (2420) 0 Initializing the system. 2025-10-03T07:21:30Z (10964) 0 Started processing. 2025-10-04T12:52:20Z (106260398) 3 Restarting due to user activity (settings/cmd). 2025-10-04T12:52:25Z (2105) 0 Initializing the system. 2025-10-04T12:52:35Z (11672) 0 Started processing. 2025-10-05T11:40:47Z (82103393) 3 Restarting due to user activity (settings/cmd). 2025-10-05T11:40:52Z (2116) 0 Initializing the system. 2025-10-05T11:41:01Z (10709) 0 Started processing. 2025-10-06T13:53:02Z (94331176) 3 Restarting due to user activity (settings/cmd). 2025-10-06T13:53:07Z (2103) 0 Initializing the system. 2025-10-06T13:53:16Z (10721) 0 Started processing. 2025-10-10T11:49:39Z (338190032) 3 Restarting due to user activity (settings/cmd). 2025-10-10T11:49:44Z (2108) 0 Initializing the system. 2025-10-10T11:49:52Z (10741) 0 Started processing. 2025-10-11T11:07:18Z (83855394) 3 Restarting due to user activity (settings/cmd). 2025-10-11T11:07:22Z (2113) 0 Initializing the system. 2025-10-11T11:07:32Z (11278) 0 Started processing.

As for now the channel rules appears to acts normal since the anomaly.

//Jonas

joe-ave avatar Oct 12 '25 08:10 joe-ave