update
This commit is contained in:
@@ -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)
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user