I only got the example in Grab1 (Which works if I change Main to 1).
If I run the event with Main = 1 it creates the pollen devices and updates its values.
If I run the event with Main = 1 it creates the pollen devices and updates its values.
Code:
[Grab1] Path=http://www.wunderground.com/DisplayPollen.asp?Zipcode=Boston TextFile=0 Encoding= Username= Password= Options= UserAgent= Devicemode=0 StripHTML=1 Pattern1=(?s)<td class="levels">.*?<p>(.*?)</p> Pattern2=(?s)<td class="text-center even-four">.*?<strong>(.*?)</strong> Pattern3=(?s)<td class="text-center even-four">.*?<div>(.*?)</div> Pattern4=(?s)<td class="levels">.*?background-color: #(.*?);"></div> Pattern5=(?s)<h3><strong>Pollen Type:</strong>(.*?)</h3> DeviceName1=Pollen Index DeviceText1=[100] [200]<br>[0] DeviceValue1=[0] DeviceImage1=[300].png Speakbutton1=1 TriggerString1= SearchMode1=1 TriggerEvent1= DeviceName2=Pollen Index DeviceText2=[101] [201]<br>[1] DeviceValue2=[1] DeviceImage2=[301].png Speakbutton2=1 TriggerString2= SearchMode2=1 TriggerEvent2= DeviceName3=Pollen Index DeviceText3=[102] [202]<br>[2] DeviceValue3=[0] DeviceImage3=[302].png Speakbutton3=1 TriggerString3= SearchMode3=1 TriggerEvent3= DeviceName4=Pollen Index DeviceText4=[103] [203]<br>[3] DeviceValue4=[3] DeviceImage4=[303].png Speakbutton4=1 TriggerString4= SearchMode4=1 TriggerEvent4= DeviceName5=Pollen Type DeviceText5=[400] [Replace ".",""] DeviceValue5= DeviceImage5=pollen.png Speakbutton5=1 TriggerString5= SearchMode5=1 TriggerEvent5= [Grab2] Path=http://10.0.0.5:8176/variables/smappeeforbruk.html TextFile=0 Encoding= Username= Password= Options= UserAgent= Devicemode=0 Pattern1=(?s)<strong>value : </strong>(.*?) W<br /> Pattern2= Pattern3= Pattern4= Pattern5= DeviceName1=Power DeviceText1=[0] W DeviceValue1=[0] DeviceImage1= Speakbutton1=1
Comment