Thanks for replying so quickly. You guys are great.
The device does show on my mac in the network section but unable to connect.
I set it up and had it running for hardly a week, and it stopped working without me changing a thing.
The trouble shooting I did was.
Restart Pi3 multiple times
Disconnect and connected back the LAN cable multiple times
Checked if the IP of the Pi3 is same as what is assigned in the port forwarding and in DuckDNS. (I didnt change anything in the first place to cause the problem)
I did plugin the SD card into my Mac but was not able to read anything on the SD card so I left it. Looks like tom_I has suggested a way to do that. I will try it and let you guys know the content of the configuration file. If Hass IO is that unstable then I dont think its made for me
That software was for a windows PC not a Mac. I think you should be able to read it without the software if you are using a Mac.
Grab your config/home-assistant.log file as well.
Two other things that are important for stability:
a 5V power supply capable of supplying 2.5A. A phone charger will probably not do.