Voltage / current condition syntax for Sonoff Dual R3 v2 (ESP32).

12 views
Skip to first unread message

Laurentp

unread,
Jun 7, 2024, 1:43:59 PMJun 7
to TasmotaUsers
Hi there,
what is syntax for voltage / current / power "on" conditions on Sonoff Dual R3 v2?
 It has 2 measurement channels, in console the report is as vector(?) "Voltage:[0,0]".
I need to switch one channel depending on other channel load.

With INA226 it is "on INA226-1#Voltage > %var8% do var1 120 endon" as an example.

Laurent.

Justin Adie

unread,
Jun 7, 2024, 1:51:16 PMJun 7
to Laurentp, SonoffUsers
Energy#Voltage[1] > %var8% do var1 120 endon

Where 1 is the first item in the array (i.e. it is 1-based not 0-based)



--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/0af008f4-c36a-4aa1-bfbd-9b4ca1b5f412n%40googlegroups.com.

Laurentp

unread,
Jun 7, 2024, 1:57:42 PMJun 7
to TasmotaUsers
Thank You.
Reply all
Reply to author
Forward
0 new messages