@Zacca said in New Plugin - ChronoTherm (ex CronoAccesoSpento):
@koffienl said in New Plugin - ChronoTherm (ex CronoAccesoSpento):
Thanks, it’s working.
Problem : you also fixed a ‘bug’ in the previous version I was abusing
I have a button called “today as sunday”. When this button is switched to ON I do the following: take the contents of $AtHome
(this vart is not used by the plugin) and take the daynumber of the week and put this in a existing variable used by the plugin: IF sunday is turned on THEN $ThermoThuis = "{$weekday.text}{$AtHome}"
This worked in the previous version. When same dynbumber was used in multiple variables/programs the latest was used. It looks like that you ‘fixed’ this in the current version.
As soon as one daynumber is used more than 1 time, the colored bars disappear.
Is it home somehow possible to allow a redefinition of a existing daynumber in the variables?
For me work or … i don’t have understand
EXAMPLE
cas1Ref = $sunday
$a1 = 1245,0,10,05.30,3
$a2 = ,22.00,17.5
IF dummy-switch is turned on THEN set $sunday to $a01
$sunday = 1245,0,10,05.30,3
IF dummy-switch is turned off THEN set $sunday to “{$a01}{$a02}”
$sunday = 1245,0,10,05.30,3,22.00,17.5
Not sure if I understand you :P
For now I have:
$ThermoWerkdag 1245,0,17.5,05.30,19.5,07.30,18,13.30,20,22.00,17.5
$ThermoThuis 3,0,17.5,05.30,19.5,07.30,20,22.00,17.5
$ThermoWeekend 67,0,18,07.00,20,22.00,18
That is working, without a problem. With rules I want to change $ThermoThuis
from 3,0,17.5,05.30,19.5,07.30,20,22.00,17.5
to for example 43,0,17.5,05.30,19.5,07.30,20,22.00,17.5
(notice that I added day 4 on the beginning). Since that day is already defined in $ThermoWerkdag
the entire device on the GUI changes to ‘blank’ (al the red/green bars disappear). If I remove day 4 from either $ThermoWerkdag
or $ThermoThuis
the bars appear again.
Also sometimes the green circle with the current temperature reports 0. Not sure if this is a display update thing or something else?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm