dgtlmoon / changedetection.io

The best and simplest free open source web page change detection, website watcher, restock monitor and notification service. Restock Monitor, change detection. Designed for simplicity - Simply monitor which websites had a text change for free. Free Open source web page change detection, Website defacement monitoring, Price change notification
https://changedetection.io
Apache License 2.0
18.73k stars 1.03k forks source link

Price detection (once it crosses the "lower" threshold) only works for the first time #2715

Open lluisd opened 3 weeks ago

lluisd commented 3 weeks ago

Describe the bug By using price detection with notification I only receive the first time the price is lower as the price that I have set as trigger.

Version v0.47.03

To Reproduce

Steps to reproduce the behavior: configuration that I have: image

notifications that I received from price 310e to 283e which is OK. image

but future lower prices are not notified, but they appear as detected: image

here the response of api call of the watcher, where last change timestamp is 1 octuber, the date of the notification: "restock": { "in_stock": true, "price": 279.89, "currency": "EUR", "original_price": 279.89, "availability": "instock" }, "restock_settings": { "in_stock_processing": "all_changes", "price_change_min": 290.0, "price_change_max": null, "price_change_threshold_percent": 2.0, "follow_price_changes": true }, "history_n": 2, "last_changed": 1727782967,

here the response of the call of the history of the lastest change of the watcher GET /history/latest: In Stock: True - Price: 283.89

Expected behavior Have future price detection notification with current price 279.89e

dgtlmoon commented 3 weeks ago

and if the price goes ABOVE then back BELOW it will trigger right?

So you're saying - it will not send a new change for every price BELOW the threshold, only once?

lluisd commented 3 weeks ago

and if the price goes ABOVE then back BELOW it will trigger right?

So you're saying - it will not send a new change for every price BELOW the threshold, only once?

yes, it's what you say