I am having issues with my Internet connection. Are there any existing solutions for a beginner so as to monitor it by the minute, which I have noticed while streaming a movie on TV.
Ideally it would be nice to be able to use input different time spans (helpers) as to show the day on a graph.
That depends on what you mean by “monitor it by the minute”.
If you only want to know if the connection is up/down and what the latency is, then you can use the Ping integration.
If you want to know what amount of data is being uploaded/downloaded you will need an integration that can communicate with your router and interrogate its statistics, most likely the SNMP integration. This is not easy to set up unless you already know the OIDs for your router’s network stats.
Testing your internet connection speed is possible with the SpeedTest integration. Note however that this uses a lot of data and should not be run every minute.
Depending on what router you have, there may already be a solution.
For example, I have an Asus router and the “asus router” integration has “internet” and one of its entities which shows connected (or not):
Use the DNSIP integration to look up your IP address:
Create a template binary sensor that is on whenever the DNSIP state is unknown.
You can either graph that binary sensor directly as per the strip-chart in Wilber’s post above or use the History Stats integration to count outages per day and graph that.