Sensor data from website

Moderator: leecollings

Post Reply
hnogueira
Posts: 25
Joined: Saturday 28 November 2015 12:10
Target OS: Windows
Domoticz version:
Contact:

Sensor data from website

Post by hnogueira »

Hi all:

I have solar heater panel that has a web site with the temperature information. Can anyone help on how to extrat that information to Domoticz?

thanks in advance,
helder nogueira
Attachments
Untitled.jpg
Untitled.jpg (29.46 KiB) Viewed 1227 times
Untitled 2.jpg
Untitled 2.jpg (54.98 KiB) Viewed 1227 times
DutchHans
Posts: 230
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Sensor data from website

Post by DutchHans »

Hi, Screendumps won't help here. Can you post the sourcecode of the page which contains the data you want?

Cheers, Hans
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Sensor data from website

Post by waaren »

DutchHans wrote: Monday 13 May 2019 7:27 Hi, Screendumps won't help here. Can you post the sourcecode of the page which contains the data you want?
and / or any available API calls preferable returning JSON ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
hnogueira
Posts: 25
Joined: Saturday 28 November 2015 12:10
Target OS: Windows
Domoticz version:
Contact:

Re: Sensor data from website

Post by hnogueira »

Hi guys:

Please see bellow the source code for the Login page. I have to click LOGIN to enter. AFter I have the sensor data page. This is a very simple website, so I believe there is no JASON call.

Login page:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>SPI Solar Controller</title></head><body><center><form id="form1" name="form1" method="post" action=""><h1>SPI Solar Controller</h1><p>Username: <input type="text" name="sp3_login" id="sp3_login" size="20" maxlength="16" value="admin" readonly /></p><p>Password: <input type="password" name="sp3_pwd" id="sp3_pwd" size="20" maxlength="16" /></p><p><input type="submit" name="button" id="button" value="login" /><input type="reset" name="button2" id="button2" value="reset" /></p></form></center></body></html>

sensor data page:
<html><head><title>SPI Solar Controller</title></head><body><table width="800" border="3" align="center"><tr><td height="50"><div align="center"><a href="1">Input</a></td><td height="50"><div align="center"><a href="2">Output</a></td><td><div align="center"><a href="3">Setting</a></div></td><td><div align="center"><a href="4">Delta</a></div></td><td><div align="center"><a href="5">Protect</a></div></td><td><div align="center"><a href="6">Change Password</a></div></td></tr></table><br><table width="400" border="3" align="center"><td height="40"><div align="center">T1</td><td><div align="center">53</div></td></tr><td height="40"><div align="center">T2</td><td><div align="center">44</div></td></tr><td height="40"><div align="center">T3</td><td><div align="center">44</div></td></tr><td height="40"><div align="center">T4</td><td><div align="center">FF</div></td></tr></table></body></html>



Best regards,
Helder Nogueira
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest