HTTP/1.0 200 OK Content-type: text/html; charset=utf-8 {device_name} - {state}

{device_name} - Web Server {version}

Power switch state: {state}

{next_switch}

{message}

{% content %}

RAM total: {total:.2f} KB, used: {alloc:.2f} KB, free: {free:.2f} KB
Server local time: {localtime}

licensed under the GNU General Public License v3.0
copyleft (c) 2019 Jens Diemer
Source code: github.com/jedie/micropython-sonoff-webswitch