Changed mistake in the Scale command

Gunnar Norin 2018-12-05 21:55:25 +01:00
parent 805c41dd88
commit b41f6ab25d
1 changed files with 1 additions and 1 deletions

@ -963,7 +963,7 @@ rule
on tele-SR04#distance do backlog var1 %value%; event checklimit=%value%; event senddistance endon
on event#checklimit>128 do var1 128 endon
on event#checklimit<69 do var1 68 endon
on event#senddistance do backlog SCALE1 %var1%, 128, 69, 100, 0; event pubdata endon
on event#senddistance do backlog SCALE1 %var1%, 128, 69, 0, 100; event pubdata endon
on event#pubdata do publish tele/pannrum-temp/SENSOR %var1% endon
```