Basic test... works...
Switching to GET with parameters since POST and PUT does not work properly.
Further refactoring REST (in progress)
New client seems to work, but only "w1"...
All switches work now in client2
Automations configurable now. Displayed but does not work yet.
Generic, configurable automation works.
Added "Sleep in x minutes" buttons

E.g. click button, put smartphone away and in x minutes the lights go off...