I'm running some tests to see how I can use the integrated cgi-bin of the webserver to do native write calls. By doing so I will be able to call the cgi-bin with the appropriate parameters to perform a write to eibpc and this from within any html-page.
Is there also a possibility to de a native call to the cgi-bin to read the current state of an address?
Eg. I switch the light with address 0/1/6. This actor has an "active feedback object" defined 2/1/6 that should be read to see if the light is switched on or off. I don't think that reading the address 0/1/6 of the eibPC cache memory will be always the correct state. When I define this action in eibPC, the light is switched on from the integrated webserver, but the status is only updated after 30 sec.
That's why I would like to do a native read-call to the cgi-bin to read the current state of 2/1/6. An alternative would be to update the generated eibPC page quicker (eg. every 3 seconds) instead of waiting 30 seconds.
Tx for your help - Ivan
Is there also a possibility to de a native call to the cgi-bin to read the current state of an address?
Eg. I switch the light with address 0/1/6. This actor has an "active feedback object" defined 2/1/6 that should be read to see if the light is switched on or off. I don't think that reading the address 0/1/6 of the eibPC cache memory will be always the correct state. When I define this action in eibPC, the light is switched on from the integrated webserver, but the status is only updated after 30 sec.
That's why I would like to do a native read-call to the cgi-bin to read the current state of 2/1/6. An alternative would be to update the generated eibPC page quicker (eg. every 3 seconds) instead of waiting 30 seconds.
Tx for your help - Ivan
Kommentar