Polling Webservice

  • Hello All,


    I'm trying to use a webservice to trigger some actions on doorpi, for example a
    webservice that is powered by a remote sensor shared with other home
    automation devices gives me the outdoor brightness.


    Through the value read by this webservive I would like to condition the lighting of the internal light of the stairs.
    My idea is to read the brightness value at regular intervals and act accordingly take the appropriate action on Doopi.


    Would you give me some help?



    Thanks in advance