Konubinix' opinionated web of thoughts

Dois-Je Faire Purger Mes Radiateurs ?

Fleeting

purge des radiateurs

On me dit de les purger tous les 10 ans. Mais on dit aussi qu’il faut les purger si la différence de température entre le haut et le bas est significative.

Cet hiver, j’ai installer une sonde zigbee sur le haut d’un radiateur et une en bas. Voyons ce que ça donne.

from redis import StrictRedis
import pandas as pd
from datetime import datetime
d = StrictRedis()
t = d.ts()
top = pd.DataFrame(t.range("zigbee.RadiatorTop", "-", int(datetime.strptime("2024-03-01", "%Y-%m-%d").timestamp() * 1000)))
bottom = pd.DataFrame(t.range("zigbee.RadiatorBottom", "-", int(datetime.strptime("2024-03-01", "%Y-%m-%d").timestamp() * 1000)))
top.columns = ['time', 'top']
bottom.columns = ['time', 'bottom']
top = top.set_index('time')
bottom = bottom.set_index('time')
r = pd.concat([top, bottom])
r.index = pd.to_datetime(r.index, unit="ms")
r = r.sort_index()
file = "/tmp/radiator.csv"
r.to_csv(file)
return file
https://konubinix.eu/ipfs/bafkreia6inofxjxwhd4wh4awasakvpiv6puu7sl5hkzepooluaogqac7ja
import pandas as pd
r = pd.read_csv(file, parse_dates=["time"], index_col="time").interpolate().dropna()
print(r)
                        top  bottom
time
2024-01-22 09:17:04  22.250  23.355
2024-01-22 09:20:58  24.615  25.760
2024-01-22 09:22:04  26.980  26.645
2024-01-22 09:25:58  28.225  27.530
2024-01-22 09:27:04  29.470  28.135
...                     ...     ...
2024-02-29 22:44:09  34.290  28.645
2024-02-29 22:48:37  33.970  28.320
2024-02-29 22:49:07  33.650  27.995
2024-02-29 22:53:37  33.120  27.670
2024-02-29 22:59:08  32.590  27.670

[6877 rows x 2 columns]
fig = "/tmp/fig.png"
r.plot().get_figure().savefig(fig)
print(fig)

Hmmm, je vais devoir supprimer une période où le chauffage était éteint.

r = r[(r.index < '2024-02-17') | (r.index > '2024-02-23')]
r.plot().get_figure().savefig(fig)
print(fig)

Maintenant, regardons comment sont réparties les différences.

Regardons le