robbinjanssen / home-assistant-omnik-inverter

Read the current, daily and total Wh from your Omnik Inverter via local network (no cloud!)
MIT License
55 stars 21 forks source link

Status.html support? #45

Closed Jackahack closed 3 years ago

Jackahack commented 3 years ago

i use an omnik 2500tl. this inverter does not has a json or js page but it just posts it in a status.html. is it possible to support this? as it is webdata is directly visible in the html code? any suggestions?

klaasnicolaas commented 3 years ago

Are you sure it doesn't have a javascript file? We can make support for it, just don't think it will be in the short term.

Jackahack commented 3 years ago

yeah it has only a javascript code block in the status.html file

robbinjanssen commented 3 years ago

@Jackahack can you paste the complete output of status.html?

Jackahack commented 3 years ago

@robbinjanssen the javascript code block starts at line 172 status_html_output.txt

klaasnicolaas commented 3 years ago

What is the link to the file and is it accessible with or without login?

Jackahack commented 3 years ago

@klaasnicolaashttp://<local-ip-adress>/status.html i do have to login with a basic browser login window. nothing to fancy.

klaasnicolaas commented 3 years ago

Well then I know enough, with a little luck support will already be in the next beta release.

klaasnicolaas commented 3 years ago

@Jackahack In the meantime I'm working on adapting the integration so that it can handle your HTML type or inverter. Could you contact me privately (Email, Twitter, Discord etc.) so we can invite you to Slack, share some stuff so you can test a modified version soon 😉

Jackahack commented 3 years ago

@klaasnicolaas yes sure. Discord works good enough. Here is my tag: MegaJule#1536

klaasnicolaas commented 3 years ago

I sent you a message on Discord 😉