For now my system is from ISYGLT, a wired system. Old but works, hard to manage setup and control, not really made to control by smartphone tablet
However I can set and read the status of the home by network address.
so i can write a script to set and get status of a light
in what language and where to place the script.
the below script [Array] has all information I need to set and read the status of the on/off dim and rgb lights in the house.
var x + "", resources = [
// Name '', k1 k2 k3 k4 k5 k6 k7
['name', 'type', 'M', 'M-b', 'B', 'B-b', 'M-B', 'B-B'],
['Beam', 'au', 10, 1, 0, 7, 0, 0],
['KitchenLED', 'dim', 10, 2, 0, 6, 107, 9],
['Mirror', 'dim', 10, 3, 0, 5, 108, 10],
['Diner', 'au', 10, 4, 0, 4, 0, 0],
['Bar', 'au', 10, 5, 0, 3, 0, 0],
['LedBar', 'dim', 10, 6, 0, 2, 106, 8],
['Corridor', 'au', 10, 7, 0, 1, 0, 0],
['Outsidelight', 'au', 10, 8, 0, 0, 0, 0],
['KitchenRGB', 'rgb', 11, 1, 0, 7, 100, 2],
['LivingRGB', 'rgb', 11, 2, 0, 6, 103, 5],
['Meterkast Deur', 'deur', 0, 0, 0, 0, 0, 0],
['Haldeur', 'deur', 0, 0, 0, 1, 0, 0],
['Voordeur', 'deur', 0, 0, 0, 2, 0, 0]];
//-----------------------------------------------------------
//k1 type
//k2 Memory bank turn off/on
//k3 bit of memorybank K2
//k4 byte 0/15 read status
//k5 bit of byte k4, 0 tot 7
//k6 set byte address, dim/rgb 0-255
//k7 read byte for dim/rgb
//----------------------------------------------------------
for example to toggle the âKitchenLEDâ I load the following url âhttp://192.168.1.13/cgi-bin/mc?t=3&m=10&b=2â
to read the status of the âKitchenLEDâ I look at a string i can load, (see below) byte 0 bit 6 (1)
10001010,00000000,00000000,00000000,01111000,00000000,00000000,00000000,01101111,01011111,00101000,0000,000,00000000,00001010,00000000,00000000
Some pointers is all i am looking for, surely not a complete code snipped.