I don’t know if it will work but you could try
rule1 ON analog#range#div10 DO dimmer %value% ENDON
You haven’t given your scaling parameters but you could try just setting var1 which you then mult1 to scale followed by add1 to shift the range before you send to the dimmer.
Regards
Phil K
Sent from Mail for Windows
--
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/5eaa9073-586b-4715-89b4-ad1b885787een%40googlegroups.com.
OK so remove the adcParam 6
Rule 1 on analog#a0div10 do backlog scale1 %value%, 10,1023,0,100; dimmer %var1% endon
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/bd2d8629-1e22-46a0-8ab0-6942efb0e997n%40googlegroups.com.