Closed pergolafabio closed 2 years ago
I have got the same problem
There's a problem in the html parser probably. Could you be able to give me the html page of your PIKO?
you mean the source?
<html>
<body>
<!--StartFragment-->
| <!DOCtype HTML PUBLIC "-//W3C//Dtd HTML 4.0 Transitional//EN">
-- | --
| <html>
| <head>
| <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
| <meta name="Generator" CONTENT="ChrisB">
| <title>PV Webserver</title>
| </head>
| <body nof="(MB=(DefaultMasterborder, 65, 60, 150, 10), L=(HomeLayout, 700, 600))" bgcolor="#EAF7F7" text="#000000" link="#0033CC" vlink="#990099" alink="#FF0000" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
| <form method="post" action="">
| <table cellspacing="0" cellpadding="0" width="770" nof="ly">
| <tr><td height="5"></td></tr>
| <tr><td width="190" height="55"></td>
| <td width="400">
| <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif" size="+3">
| PIKO 5.5
| <br><font size="+1">
| PV (255)
| </font>
| </font>
| </td>
| <td><img alt="Logo" height="42" width="130" src="KSE.gif"></td>
| </tr>
| </table>
|
| <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
| <table Border="0" width="100%"><tr>
| <td width="150"></td>
| <td> <hr> </td>
| </tr></table>
| <table cellspacing="0" cellpadding="0" width="770">
| <tr><td></td></tr>
| <tr>
| <td width="190"></td>
| <td colspan="2">
| <b>AC-vermogen</b></td>
| <td> </td>
| <td>
| <b>energie</b></td></tr>
| <tr><td height="10"></td></tr>
|
| <tr>
| <td width="190"></td>
| <td width="100">
| actueel</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 3126</td>
| <td width="140">  W</td>
| <td width="100">
| totale energie</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 41801</td>
| <td width="50">  kWh</td>
| <td> </td></tr>
| <tr height="2"><td></td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
|  </td>
| <td width="70" align="right">
|  </td>
| <td width="140"> </td>
| <td width="100">
| dagenergie</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 13.46</td>
| <td width="50">  kWh</td>
| <td> </td></tr>
| <tr height="5"><td></td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
| status</td>
| <td colspan="4">
| toevoer MPP</td>
| <td> </td></tr>
| <tr height="8"><td></td></tr>
| <tr><td colspan="7">
| <table align="top" width="100%"><tr>
| <td width="182"></td>
| <td><hr size="1"></font></td></tr>
| <tr><td height="5"></td></tr></table>
| </td></tr>
| <tr>
| <td width="190"></td>
| <td colspan="2">
| <b>PV-generator</b></td>
| <td width="140"> </td>
| <td colspan="2">
| <b>uitgangsvermogen</b></td>
| <td width="30"> </td>
| <td> </td></tr>
| <tr><td height="10"></td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
| <u>String 1</u></td>
| <td width="70"> </td>
| <td width="140"> </td>
| <td width="95">
| <u>L1</u></td>
| <td width="70"> </td>
| <td width="30"> </td>
| <td> </td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
| spanning</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 275</td>
| <td width="140">  V</td>
| <td width="100">
| spanning</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 247</td>
| <td width="30">  V</td>
| <td> </td></tr>
| <tr height="2"><td></td></tr>
| <tr valign="top" align="left">
| <td width="190"> </td>
| <td width="100">
| stroom</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 6.27</td>
| <td width="140">  A</td>
| <td width="100">
| vermogen</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 1032</td>
| <td width="30">  W</td>
| <td> </td></tr>
| <tr height="22"><td></td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
| <u>String 2</u></td>
| <td width="70"> </td>
| <td width="140"> </td>
| <td width="100">
| <u>L2</u></td>
| <td width="70"> </td>
| <td width="30"> </td>
| <td> </td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
| spanning</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 247</td>
| <td width="140">  V</td>
| <td width="100">
| spanning</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 241</td>
| <td width="30">  V</td>
| <td> </td></tr>
| <tr height="2"><td></td></tr>
| <tr valign="top" align="left">
| <td width="190"> </td>
| <td width="100">
| stroom</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 6.47</td>
| <td width="140">  A</td>
| <td width="100">
| vermogen</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 1027</td>
| <td width="30">  W</td>
| <td> </td></tr>
| <tr height="22"><td></td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
| <u>String 3</u></td>
| <td width="70"> </td>
| <td width="140"> </td>
| <td width="100">
| <u>L3</u></td>
| <td width="70"> </td>
| <td width="30"> </td>
| <td> </td></tr>
| <tr>
| <td width="190"></td>
| <td width="100">
| spanning</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 0</td>
| <td width="140"> 
| V</td>
| <td width="95">
| spanning</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 246</td>
| <td width="30">  V</td>
| <td> </td></tr>
| <tr height="2"><td></td></tr>
| <tr valign="top" align="left">
| <td width="190"> </td>
| <td width="95">
| stroom</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 0.00</td>
| <td width="140"> 
| A</td>
| <td width="95">
| vermogen</td>
| <td width="70" align="right" bgcolor="#FFFFFF">
| 1069</td>
| <td width="30">  W</td>
| <td> </td></tr>
|
| <tr><td height="15"></td></tr>
| <tr><td colspan="7">
| <table align="top" width="100%">
| <tr><td width="182"></td>
| <td><hr size="1"></font></td>
| </tr><tr><td height="5"></td></tr></table>
| </td></tr></table>
| <table cellspacing="0" cellpadding="0" width="770">
| <tr><td width="190"></td>
| <td><font face="Arial,Helvetica,Geneva,Sans-serif">
| <b>RS485-communicatie</b></td></tr>
| <tr><td height="8"></td></tr>
| <tr><td width="190"></td>
| <td><font face="Arial,Helvetica,Geneva,Sans-serif">
| omvormer 
| <input type="Text" name="edWrNr" value="255" size="3" maxlength="3">
| <input type="submit" value="weergeven/actualiseren">
| </td></tr><tr><td height="10"></td></tr>
| </table>
| </td></tr></table></font>
|
| <hr>
| <table cellspacing="0" cellpadding="0" width="770">
| <tr><td height="5"></td></tr>
| <tr><td width="190"></td>
| <td width="330">
| <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
| <a href="LogDaten.dat">geschiedenis</a>
|      
| <a href="Info.fhtml">informatiepagina</a></font></td>
| <td align="right">
| <font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
| <a href="Solar2.fhtml">instellingen</a></font></td>
| <td width="50"></td>
| </tr></table></font>
| </form>
| </body>
| </html>
|
<!--EndFragment-->
</body>
</html><!DOCtype HTML PUBLIC "-//W3C//Dtd HTML 4.0 Transitional//EN">
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<meta name="Generator" CONTENT="ChrisB">
<title>PV Webserver</title>
</head>
<body nof="(MB=(DefaultMasterborder, 65, 60, 150, 10), L=(HomeLayout, 700, 600))" bgcolor="#EAF7F7" text="#000000" link="#0033CC" vlink="#990099" alink="#FF0000" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
<form method="post" action="">
<table cellspacing="0" cellpadding="0" width="770" nof="ly">
<tr><td height="5"></td></tr>
<tr><td width="190" height="55"></td>
<td width="400">
<font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif" size="+3">
PIKO 5.5
<br><font size="+1">
PV (255)
</font>
</font>
</td>
<td><img alt="Logo" height="42" width="130" src="[KSE.gif](http://192.168.0.40/KSE.gif)"></td>
</tr>
</table>
<font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
<table Border="0" width="100%"><tr>
<td width="150"></td>
<td> <hr> </td>
</tr></table>
<table cellspacing="0" cellpadding="0" width="770">
<tr><td></td></tr>
<tr>
<td width="190"></td>
<td colspan="2">
<b>AC-vermogen</b></td>
<td> </td>
<td>
<b>energie</b></td></tr>
<tr><td height="10"></td></tr>
<tr>
<td width="190"></td>
<td width="100">
actueel</td>
<td width="70" align="right" bgcolor="#FFFFFF">
3126</td>
<td width="140">  W</td>
<td width="100">
totale energie</td>
<td width="70" align="right" bgcolor="#FFFFFF">
41801</td>
<td width="50">  kWh</td>
<td> </td></tr>
<tr height="2"><td></td></tr>
<tr>
<td width="190"></td>
<td width="100">
 </td>
<td width="70" align="right">
 </td>
<td width="140"> </td>
<td width="100">
dagenergie</td>
<td width="70" align="right" bgcolor="#FFFFFF">
13.46</td>
<td width="50">  kWh</td>
<td> </td></tr>
<tr height="5"><td></td></tr>
<tr>
<td width="190"></td>
<td width="100">
status</td>
<td colspan="4">
toevoer MPP</td>
<td> </td></tr>
<tr height="8"><td></td></tr>
<tr><td colspan="7">
<table align="top" width="100%"><tr>
<td width="182"></td>
<td><hr size="1"></font></td></tr>
<tr><td height="5"></td></tr></table>
</td></tr>
<tr>
<td width="190"></td>
<td colspan="2">
<b>PV-generator</b></td>
<td width="140"> </td>
<td colspan="2">
<b>uitgangsvermogen</b></td>
<td width="30"> </td>
<td> </td></tr>
<tr><td height="10"></td></tr>
<tr>
<td width="190"></td>
<td width="100">
<u>String 1</u></td>
<td width="70"> </td>
<td width="140"> </td>
<td width="95">
<u>L1</u></td>
<td width="70"> </td>
<td width="30"> </td>
<td> </td></tr>
<tr>
<td width="190"></td>
<td width="100">
spanning</td>
<td width="70" align="right" bgcolor="#FFFFFF">
275</td>
<td width="140">  V</td>
<td width="100">
spanning</td>
<td width="70" align="right" bgcolor="#FFFFFF">
247</td>
<td width="30">  V</td>
<td> </td></tr>
<tr height="2"><td></td></tr>
<tr valign="top" align="left">
<td width="190"> </td>
<td width="100">
stroom</td>
<td width="70" align="right" bgcolor="#FFFFFF">
6.27</td>
<td width="140">  A</td>
<td width="100">
vermogen</td>
<td width="70" align="right" bgcolor="#FFFFFF">
1032</td>
<td width="30">  W</td>
<td> </td></tr>
<tr height="22"><td></td></tr>
<tr>
<td width="190"></td>
<td width="100">
<u>String 2</u></td>
<td width="70"> </td>
<td width="140"> </td>
<td width="100">
<u>L2</u></td>
<td width="70"> </td>
<td width="30"> </td>
<td> </td></tr>
<tr>
<td width="190"></td>
<td width="100">
spanning</td>
<td width="70" align="right" bgcolor="#FFFFFF">
247</td>
<td width="140">  V</td>
<td width="100">
spanning</td>
<td width="70" align="right" bgcolor="#FFFFFF">
241</td>
<td width="30">  V</td>
<td> </td></tr>
<tr height="2"><td></td></tr>
<tr valign="top" align="left">
<td width="190"> </td>
<td width="100">
stroom</td>
<td width="70" align="right" bgcolor="#FFFFFF">
6.47</td>
<td width="140">  A</td>
<td width="100">
vermogen</td>
<td width="70" align="right" bgcolor="#FFFFFF">
1027</td>
<td width="30">  W</td>
<td> </td></tr>
<tr height="22"><td></td></tr>
<tr>
<td width="190"></td>
<td width="100">
<u>String 3</u></td>
<td width="70"> </td>
<td width="140"> </td>
<td width="100">
<u>L3</u></td>
<td width="70"> </td>
<td width="30"> </td>
<td> </td></tr>
<tr>
<td width="190"></td>
<td width="100">
spanning</td>
<td width="70" align="right" bgcolor="#FFFFFF">
0</td>
<td width="140"> 
V</td>
<td width="95">
spanning</td>
<td width="70" align="right" bgcolor="#FFFFFF">
246</td>
<td width="30">  V</td>
<td> </td></tr>
<tr height="2"><td></td></tr>
<tr valign="top" align="left">
<td width="190"> </td>
<td width="95">
stroom</td>
<td width="70" align="right" bgcolor="#FFFFFF">
0.00</td>
<td width="140"> 
A</td>
<td width="95">
vermogen</td>
<td width="70" align="right" bgcolor="#FFFFFF">
1069</td>
<td width="30">  W</td>
<td> </td></tr>
<tr><td height="15"></td></tr>
<tr><td colspan="7">
<table align="top" width="100%">
<tr><td width="182"></td>
<td><hr size="1"></font></td>
</tr><tr><td height="5"></td></tr></table>
</td></tr></table>
<table cellspacing="0" cellpadding="0" width="770">
<tr><td width="190"></td>
<td><font face="Arial,Helvetica,Geneva,Sans-serif">
<b>RS485-communicatie</b></td></tr>
<tr><td height="8"></td></tr>
<tr><td width="190"></td>
<td><font face="Arial,Helvetica,Geneva,Sans-serif">
omvormer 
<input type="Text" name="edWrNr" value="255" size="3" maxlength="3">
<input type="submit" value="weergeven/actualiseren">
</td></tr><tr><td height="10"></td></tr>
</table>
</td></tr></table></font>
<hr>
<table cellspacing="0" cellpadding="0" width="770">
<tr><td height="5"></td></tr>
<tr><td width="190"></td>
<td width="330">
<font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
<a href="[LogDaten.dat](http://192.168.0.40/LogDaten.dat)">geschiedenis</a>
     
<a href="[Info.fhtml](http://192.168.0.40/Info.fhtml)">informatiepagina</a></font></td>
<td align="right">
<font face="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
<a href="[Solar2.fhtml](http://192.168.0.40/Solar2.fhtml)">instellingen</a></font></td>
<td width="50"></td>
</tr></table></font>
</form>
</body>
</html>
Yes, I meant the source. Thanks, I will look into It as soon as I can.
Hi @pergolafabio, sorry for the late response. I've updated the core library (@rcasula/kostalpiko) and made this pr https://github.com/rcasula/kostalpiko-homeassistant/pull/12. Could you please check it out?
np :-)
i check it out now
looking indeed better now , thnx for fix :-)
Hi @rcasula , for some reason, the values for S2 and L2 are always unknown, any idea? as you can see in screenshot S2 and L2 is populated (l3 is 0 , thats normal)
Any idea?