The CGI can be triggered
Debug output for the CGI
Arguments from Web are extracted
Check for the environmet variable before accessing it
Communication with the microcontroller works
Communication over TCP is ended
Lamp state is changing :-)
State from the lamp is converted into JSON
Lamp state fixed
New line for each status
JSON can be parsed
JSON can be parsed
Prepared for one lamp
Changed to lamp 5 for testing purposes