[SOLVED] HTTP binding Regex when no matching = want null

Hey everyone,

I am checking a website to detect a change with HTTP and regex. All good there. If I break the regex to make like if the website code changes, I still have the same value in state. How can I delete the value to detect this changes and alert me that the Items is not valid anymore ?

Thanks

Clément

Set an expire binding on the item with a timeout of a little longer than you http polling period. Expire, by default, will set the Item to NULL if the http binding fails to update it in that time period.

1 Like

Great I tried but I probably did not try correctly. Now it is working, I just change my code to detect UNDEF as it is the default when expires… Thanks @rlkoshak !!!