Configure channel limits when using Script V2
I would like to be able to set limits per channel in code when using the Script V2 Python sensor. This used to be possible with the Python Advanced sensor by adding attributes such as the following when adding the channel to the result JSON in Python:
islimitmode=True,
limitminerror=10,
limitmaxerror=90,
limiterrormsg="Percentage too high".
I have attached the full Python Advanced sensor example where the excerpt above was taken from.
5
votes