Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
kooy 5
Hope you guys can help me.
I found a website that can give you realtime rain info on a specific lat and long values.
It can predict rain in your area upto 2 hours upfront.
now my only trouble is how to get the right info from the website.
As it stand now im getting info like this
000|20:50 000|20:55 000|21:00 000|21:05 000|21:10 000|21:15 000|21:20 000|21:25 000|21:30 000|21:35 000|21:40 000|21:45 000|21:50 000|21:55 000|22:00 000|22:05 000|22:10 000|22:15 000|22:20 000|22:25 000|22:30 000|22:35 000|22:40 000|22:45 000|22:50
where 000 is the amount of rain and timestamp (lucky me no rain at least till 22:50)
What i would like is to get the info only for the next 15 minutes.
so if my local time 21:15 i would like to get the info for 21:30 which looks like 000|21:30
How to get the 000 part out of the string at 21:30?
i tried
str = string.match(response, "21:10")
Top Posters For This Question
70
51
26
21
Popular Days
Aug 23
27
Aug 12
26
Aug 15
25
Jan 8
16
Top Posters For This Question
Twannie 70 posts
SmartHomeEddy 51 posts
boerremk 26 posts
Johnnyboy 21 posts
Popular Days
Aug 23 2020
27 posts
Aug 12 2020
26 posts
Aug 15 2020
25 posts
Jan 8 2022
16 posts
Popular Posts
Patrick
All, (draft note) I think I got it working again (very beta code) , it is a combination of old buienradar (thanks to Please login or register to see this link. !) and the code from 1d564c19856a865c
Twannie
Thanks @Remi Here is the latest version I am running myself (Beta 1.3) Please login or register to see this attachment. Please login or register to see this attachment. 8dfe9d32e1808388d81cf1
boerremk
Hi @Patrick, Yep the url is changed AND https, so I have to make a scene to get it working again.
Posted Images
252 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.