Increase VAR limit
-
I've got a soil moisture probe that has 8 sensors for soil moisture and 8 for temperature. The current VAR only allows for VAR1-5. Is there a reason that this limit can not be increased to say VAR1-15? (Some soil moisture probes has up to 15 sensors)
-
@NielBierman, the library provides 254 sensors definitions, and for each you can use types VAR1-5, that means 1270 distinct values.
If you have 8 soil moisture and 8 temp you should define a sensor for every pair.
Sensor 0 : VAR1 and TEMP
...
Sensor 8 : VAR1 and TEMP
-
@NielBierman Why are you using VARs when there are already moisture and temperature categories available to you?
Just give each temp and moisture sensor a unique CHILD_ID (simply by adding 1-8 in the name) and you are done!
3 out of 3
Suggested Topics
-
Controlling Blinds.com RF Dooya Motors with Arduino and Vera
My Project • 24 Mar 2014, 13:27 • petewill 12 Aug 2023, 16:39 -
Raspberry MQTT GW over TLS with rfm69
Feature Requests • 14 Sept 2022, 15:11 • Tico 16 Sept 2022, 07:23 -
PJON on RS485
Feature Requests • 11 Apr 2022, 06:58 • hypnosiss 9 Mar 2025, 07:57 -
debug serial gateway (homeassistant raspberry py 4)
Feature Requests • 2 May 2023, 09:01 • Branther 8 Jun 2023, 12:38 -
ESP32 Wired (no WiFi)
Feature Requests • 15 Nov 2024, 10:39 • Marcin 9 Mar 2025, 07:54 -
ESPnow as transport layer
Feature Requests • 18 Mar 2025, 10:02 • MasMat 19 Mar 2025, 05:24