[python plugin?] Query remote host by HTTP and plot the graph - ways to implement?

Hello. Sorry in advance if the forum section is wrong for such a question.

I am interested in creating an integration of some devices (battery charger with Wi-Fi) with Home Assistant. The device has an HTTP UI and I have a python script to query it and parse the result.

I want to query the device periodically (each 1-60 seconds) and store the parsed data received.

As a user, I need to set the device IP and how often to query the device.

I would like to show a time-based graph with parameters received (preferably on the same graph) to see how they are changing.

I would like to have some triggers based on the state of parameters received (i.e. notification “Charging finished”).

What is the best (correct) way to achieve this? Python Scripts? HASC plugin? HASSIO addon?

–

I get used to Home Assistant (and love it!) but have NO experience with HASS development, but have basic development/DevOps experience though.

Any ideas are really appreciated. Thank you!

Maybe start with

1 Like

Thank you @koying for your kind response. I started from a simple python script first but maybe will proceed with integration.