This commit is contained in:
Your Name
2025-05-23 17:43:45 +02:00
parent c6a8b02c38
commit 122763a4e5
2 changed files with 180 additions and 4 deletions

View File

@@ -71,9 +71,16 @@ if deleted_count > 0:
print(f"Deleted {deleted_count} duplicate envea sonde entries")
# Insert envea sondes (only if they don't already exist)
# Attention pour le H2S il y a plusieurs sondes
# H2S 1ppm -> coef 4
# H2S 20ppm -> coef 1
# H2S 200ppm -> coef 10
envea_sondes = [
(False, "ttyAMA4", "h2s", 4),
(False, "ttyAMA4", "h2s", 4), #H2S
(False, "ttyAMA3", "no2", 1),
(False, "ttyAMA3", "nh3", 100),
(False, "ttyAMA3", "so2", 4),
(False, "ttyAMA2", "o3", 1)
]