... and the range check as well
Merge branch 'memory' of https://github.com/pilight/pilight into memory