Originally posted by Malosa
View Post
Announcement
Collapse
No announcement yet.
hs.geturl ssl issue
Collapse
X
-
Originally posted by jon00 View Post
FYI, you can run individual/selection of scrapes using the script parameter entry. i.e.
Sub or Function: Main
Parameters: 5+7
This would just get scrapes from Grab 5 and Grab 7
i did not try to run 2x your script as i dont know if it creates a lagg or error.
Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts
HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.
Comment
-
Originally posted by Wadenut View Post
We all have those "Senior Moments" from time to time.
i have this particular line
Code:x = Instr(1,TheTime, "daypart-item",1) +1 TheTime = Mid(TheTime,x)
is it possible to retrieve all the data at once instead of let it scan over and over again?
like now i have this :
Code:x = Instr(1,TheTime, "daypart-item",1) +1 <---- or 1 line above this is <div class="col col3"> it has 4x <div class="col col3"> with the data (evening,night,midday,morning) TheTime = Mid(TheTime,x) x = Instr(1,TheTime, "evening",1) +1 <------- this has morning evening and night midday... need all the data at once TheTime = Mid(TheTime,x) x = Instr(1,TheTime, "temp red",1) +1 TheTime = Mid(TheTime,x) x = Instr(1,TheTime, ">",1) +1 TheTime = Mid(TheTime,x) x = Instr(1,TheTime, "</div",1) -1 TheTime = Mid(TheTime,1,x)
Code:<div class="col col3"> <div class="daypart-item"> <div class="wx" style="background-image: url('/Content/Images/Weather/b60x60_x2/D@2x.png')"></div> <div class="head">morning</div> <div class="orange"> <i class="fa fa-sun-o orange" title="Zonkans"></i> 30% </div> <div class="temp red">14°C</div> <div class="orange"> <i class="fa fa-sun-o orange" title="sunchance"></i> 30% </div> <div class="temp red">14°C</div> <div class="blue "> <i class="fa fa-tint rain" title="rain"></i> 0 <div class="indicator">mm</div> </div> <div class="wind" style="background-image: url('/Content/Images/Wind/svg/NW.svg')" title="NW 3"> 3 </div>
Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts
HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.
Comment
-
Hi,
This same problem is bugging me since my data provider changed to tls1.2.
I am having it with scripts running Win7, HS4 and .Net4.8
System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
the suggestions above do not work with this site:
https://opendata-download-metfcst.sm...9926/data.json
thx, Bob
Comment
Comment