Hi,
I just released domotica.zip at
https://sites.google.com/site/win324th/sources
The program is able to control a number of led strips, led bulbs and smart plug switches from a web interface on a client by using a server controller.
Your smartphone, tablet or PC can be used as a client.
A Raspberry PI or PC, in a network, can be used as a web server.
If you do not have any led strip, led bulb or smart plug switch then you can still try and adapt the DEMO of the webserver.
The demo is able to shutdown your PC or Raspberry PI from a smartphone.
Read Domotica.f in the zip file for further instructions.
Included sources
Virtual-fields.f \ To adress fields in- or out-side the dictionary.
Server-controller.f \ To control multiple servers.
Web-server-light.f \ Includes a separate automatic demo at the end.
jd.f \ Calculates julian dates.
Sun.f \ Calculates the sunrise or sunset.
Base64Ext.f \ A small extentension for BASE64 made by Wil Baden.
Breaktest.f \ Uses escape or a file to check for a break.
Random-xorshift.f \ Was the best way for the light show.
\ Manufacturer depended socket drivers.
LedCommands.f \ A list of constants for Mileds.f
Mileds.f \ For a WiFi bridge controller hub V4.0 of Mi Light.
Edimax.f \ For a SP-1101W smart plug switch.
\ To modify for your situation:
Configuration.f \ Settings for Light-show.f
Jos