Ankündigung

Einklappen
Keine Ankündigung bisher.

Native read calls to cgi-bin

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Native read calls to cgi-bin

    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

    #2
    Zitat von eulaersivan Beitrag anzeigen
    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.
    I'm not sure, if I understand you correctly.
    Anway: You can nor modify the cgi-Skript nor the integrated webserver. The new webserver will allow more freedom, but perhaps not the right thing for what you want to do:
    Ihat'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.
    If you want to make these things, you should have a look at EibPC-Homecontrol or EibPC-Fusion. In this case you can directly and in "realtime" modify your KNX-System with a browser and an iPhone App, respectively.
    offizielles Supportforum für den Enertex® EibPC: https://knx-user-forum.de/eibpc/
    Enertex Produkte kaufen

    Kommentar


      #3
      Let's ask it different. Can the web page as it is generated by eibPC be refreshed every 5 seconds instead of every 30 seconds?

      Kommentar


        #4
        Zitat von eulaersivan Beitrag anzeigen
        Let's ask it different. Can the web page as it is generated by eibPC be refreshed every 5 seconds instead of every 30 seconds?
        Not in the "released" Software. In Betasoftware you can do so, so this will be only a matter of time for you...
        offizielles Supportforum für den Enertex® EibPC: https://knx-user-forum.de/eibpc/
        Enertex Produkte kaufen

        Kommentar


          #5
          Do I have to rewrite the webserver application once the new release is out? In other words, will any current application be compatible with the new release?

          What's the timing for the new release?

          Kommentar


            #6
            Hi Ivan

            No rewriting, only new features.
            Grüsse Bodo
            Fragen gehören ins Forum, und nicht in mein Postfach;
            EibPC-Fan; Wiregate-Fan; Timberwolf-Fan mit 30x 1-Wire Sensoren;

            Kommentar


              #7
              Zitat von Bodo Beitrag anzeigen
              Hi Ivan
              No rewriting, only new features.
              Only one thing: Don't use ID-Numbers for webobjects which are bigger than 39.
              offizielles Supportforum für den Enertex® EibPC: https://knx-user-forum.de/eibpc/
              Enertex Produkte kaufen

              Kommentar


                #8
                Zitat von eulaersivan Beitrag anzeigen
                What's the timing for the new release?
                This can be change from 1 to 30 seconds (can still change). 1 second for now does not really work. We are currently using 10 seconds.
                offizielles Supportforum für den Enertex® EibPC: https://knx-user-forum.de/eibpc/
                Enertex Produkte kaufen

                Kommentar

                Lädt...
                X