No longer can access HA on Pi 3

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.

  1. Restart Pi3 multiple times
  2. Disconnect and connected back the LAN cable multiple times
  3. 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 :frowning:

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:

  1. a 5V power supply capable of supplying 2.5A. A phone charger will probably not do.
  2. a good quality SD card.

My bad config is below. The issue is on line #88, I deleted the extra line after “expire after 10”

homeassistant:

Name of the location where Home Assistant is running

name: Home

Location required to calculate the time the sun rises and sets

latitude: 0
longitude: 0

Impacts weather/sunrise data (altitude above sea level in meters)

elevation: 0

metric for Metric, imperial for Imperial

unit_system: imperial

Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

time_zone: UTC

Customization file

customize: !include customize.yaml

Show links to resources in log and frontend

introduction:

Enables the frontend

frontend:

Enables configuration UI

config:

http:

Secrets are defined in the file secrets.yaml

api_password: xxxxxxxxx

Uncomment this if you are using SSL/TLS, running in Docker container, etc.

base_url: example.duckdns.org:8123

Checks for available updates

Note: This component will send some information about your system to

the developers to assist with development of Home Assistant.

For more information, please see:

https://home-assistant.io/blog/2016/10/25/explaining-the-updater/

updater:

Optional, allows Home Assistant developers to focus on popular components.

include_used_components: true

Discover some devices automatically

discovery:

Allows you to issue voice commands from the frontend in enabled browsers

conversation:

Enables support for tracking state changes over time

history:

View all events in a logbook

logbook:

Enables a map showing the location of tracked devices

map:

Track the sun

sun:

Weather prediction

sensor:

  • platform: yr

Text to speech

tts:

  • platform: google

Cloud

cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

THIS IS FOR THE IOS APP TO WORK!!!

ios:

THIS IS FOR THE MQTT BROKER TO WORK!!!

mqtt:
discovery: true
discovery_prefix: homeassistant
broker: core-mosquitto
port: 1883
username: ‘peter’
password: ‘xxxxxxxxx’

sensor:

  • platform: mqtt
    name: “Doorbell”
    state_topic: “doorbell”
    expire_after: 10

switch:

  • platform: mqtt
    name: “Doorbell Chime”
    state_topic: “state/doorbell”
    command_topic: “doorbell/commands”
    payload_on: “Audio Doorbell”
    payload_off: “Silent Doorbell”
    retain: true

You need to format your pasted code as per the blue banner at the top of the page.

Which line is line 88, and what was the error?