Rules - smaller size limit than advertised?
Posted: 12 Jul 2016, 11:39
The edit box for rules in ESPEasy 108 says it could take up to 2048 characters however, when I am trying to upload the following rule set, it's cut off at around 690 characters:
I would assume this is a double byte issue since I'm running on a unicode system? However, double byte wouldn't blow up ~800 chars to 2048 chars, so I'm slightly puzzled.
Help is appreciated.
pj
Code: Select all
on ausfahren10 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,4 // 4 seconds is just under 10%
endon
on einfahren10 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,4 // 4 seconds is just under 10%
endon
on ausfahren25 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,11 // 11 seconds is just under 25%
endon
on einfahren25 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,11 // 11 seconds is just under 25%
endon
on ausfahren50 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,22 // 22 seconds is just under 50%
endon
on einfahren50 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,22 // 22 seconds is just under 50%
endon
on ausfahren100 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,0,0 // start extending
timerSet 1,45 // 45 seconds is 100%
endon
on einfahren100 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
gpio,2,0 // start extending
timerSet 1,45 // 45 seconds is 100%
endon
on Rules#Timer=1 do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
endon
on stop do
gpio,0,1 // stop all engines
gpio,2,1 // stop all engines
endon
Help is appreciated.
pj