Hi,
is there a way to read html or json or another text from a website?
for example: i want to read every 15 seconds a website and if there is an event or an special text/value, i want to switch on a lamp.
thanks and greetings
Jan
Read html or json...from website
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Read html or json...from website
Not currently. Please elaborate more
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Read html or json...from website
Interesting idea. Such a plugin can be made in my opinion. Question is how to make it generally usable one.
Can you concretize with some examples?
Can you concretize with some examples?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Read html or json...from website
I've been thinking about this one and it would be a really useful feature I think. It might be two different plugins, one JSON parser and one RegEx parser.
Please add it as a feature request on GitHub.
Please add it as a feature request on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Read html or json...from website
I just throw this link here for reference if this feature request get attention
https://forum.arduino.cc/index.php?topic=59917.0
https://forum.arduino.cc/index.php?topic=59917.0
- Attachments
-
- Regexp.zip
- (15.26 KiB) Downloaded 206 times
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Read html or json...from website
Oh nice, there is interest.
I work at a fire department and in an case of an alert in the night, i can send automatic an event or an value to an website.
So i can build some ESPs an give it to my mates. Every ESP is checking the website and when there is an alert, the ESP can switch on an little light so nobody stumbles through the house at night.
I find your ideas with JSON parser and the RegEx parser very well.
I will add an request tommorow in the morning.
I work at a fire department and in an case of an alert in the night, i can send automatic an event or an value to an website.
So i can build some ESPs an give it to my mates. Every ESP is checking the website and when there is an alert, the ESP can switch on an little light so nobody stumbles through the house at night.
I find your ideas with JSON parser and the RegEx parser very well.
I will add an request tommorow in the morning.
Who is online
Users browsing this forum: No registered users and 39 guests