I'm having an issue with a string change not being detected if it is changed by another plug-in. If I change it manually via script, it works fine.
In particular, I'm using Jon00's DataScraper plug-in to extract text from a webpage and store it to a virtual device. I then have an event that uses EasyTrigger to look for a string change so I can act on it.
Below is a log. The events at 2:23 show me manually setting the string to a dash "-" and EasyTrigger detects OK. The entries at 2:25 show running Jon00's DataScraper which updates the virtual device string, but this is not detected.
Can you help?
Apr-20 2:25:38 PM Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00DataScraper.vben("Main","1")
Apr-20 2:25:38 PM Event Event Trigger "Data Scraper County Waste, Check"
Apr-20 2:25:38 PM Event Event Data Scraper County Waste, Check triggered by the event page 'Run' button.
Apr-20 2:23:52 PM Event Event Trigger "Notifications County Waste, Notify"
Apr-20 2:23:52 PM EasyTrigger DEBUG Firing event 2
Apr-20 2:23:52 PM EasyTrigger DEBUG Device 497 string changed to -
Apr-20 2:23:52 PM System Control Panel Immediate Script: &hs.SetDeviceString 497,"-",true
In particular, I'm using Jon00's DataScraper plug-in to extract text from a webpage and store it to a virtual device. I then have an event that uses EasyTrigger to look for a string change so I can act on it.
Below is a log. The events at 2:23 show me manually setting the string to a dash "-" and EasyTrigger detects OK. The entries at 2:25 show running Jon00's DataScraper which updates the virtual device string, but this is not detected.
Can you help?
Apr-20 2:25:38 PM Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Jon00DataScraper.vben("Main","1")
Apr-20 2:25:38 PM Event Event Trigger "Data Scraper County Waste, Check"
Apr-20 2:25:38 PM Event Event Data Scraper County Waste, Check triggered by the event page 'Run' button.
Apr-20 2:23:52 PM Event Event Trigger "Notifications County Waste, Notify"
Apr-20 2:23:52 PM EasyTrigger DEBUG Firing event 2
Apr-20 2:23:52 PM EasyTrigger DEBUG Device 497 string changed to -
Apr-20 2:23:52 PM System Control Panel Immediate Script: &hs.SetDeviceString 497,"-",true
Comment