Check the ssid of wifi connected

I want an app that performs an action if it is connected to my home network and if connected to the internet normally other than my home network i want it to perform another action. please help

Try this extension:

you can check the ssid using this extension :