Now Avast alerts me when my computer detects an unsecured wi-fi network.
is it Your network.....or somone elses network it see?

if it is Your network it …have you password protected it in Your router?
if not, try that and the popup should be gone…