Fix some runtime issues during Web system tests on RPi.
Fix some runtime issues during Web system tests on RPi.

jfpoilpret/alarm-system,jfpoilpret/alarm-system,jfpoilpret/alarm-system,jfpoilpret/alarm-system