API



  • On v4 Release Notes you can find

    LAN API with support for telling other devices when f.lux changes
    

    How this works ? Where we can find information about that ?


  • f.lux team

    Look in the options menu.
    There is a place to type in an URL - then f.lux makes HTTP POSTs on the LAN.

    POST /endpoint?ct=4800&bri=0.5

    By default it will only post when something changes, but you can also have it poll once a minute, if your system needs that for some reason.



  • Hi Herf,
    Thanks for answer it helped me a lot.
    But your information is not accurate.
    F.lux posts not
    /?ct=4800&bri=0.5
    but
    /?ct=4800&bri=0.5&plain=

    I do not know for what is plain, can you explain for what is used ?


  • f.lux team

    I am not trying to send that, and it doesn't show up on my server here.

    What server are you using? And are there any trailing spaces or anything in the text entry?



  • @herf You are right, its web server issue.
    When I check communication with WireShark there is only CT and BRI no Plain.
    Sorry, my mistake.

    Thanks for help.


Log in to reply
 

Looks like your connection to f.lux forum was lost, please wait while we try to reconnect.