Hass.io Xiaomi Sensor show nothing

is it a problem that i have friendly names?

What does the log say?

- sensor.flower_2_temperature^^^

on this line there are 3 invalid characters, please remove them and try again

the problem is i can´t connect over the webbrowser to hassio and can not sag what says the log :frowning:

Can’t you edit the config.yaml via either ssh or samba?

no it was empty i restore it an edit the characters

so i restore it and edit the 3 characters but now i can´t again connect over the webbrowser but i can connect over samba and see zhe configuration.ymal

OK post it again and I’ll take a look at it You are restarting HA after each edit of the config file?

configuration.yaml (2.7 KB)

yes i reboot it after each edit

I’ve moved the group config down to the end of the file…

I see what’s missing :slight_smile: It should work now :slight_smile:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 51.9583
  longitude: 9.2471
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 102
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Berlin
  # Customization file
  customize: !include customize.yaml

# Show links to resources in log and frontend

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Secrets are defined in the file secrets.yaml
  # api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
    base_url: chillhahn.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

sensor 1:
  - platform: miflora
    mac: C4:7C:8D:61:39:16
    name: Flower 1
    force_update: false
    median: 3
    monitored_conditions:
      - moisture
      - light
      - temperature
      - conductivity
      - battery

sensor 2:
  - platform: miflora
    mac: C4:7C:8D:61:38:E5    
    name: Flower 2
    force_update: false
    median: 3
    monitored_conditions:
      - moisture
      - light
      - temperature
      - conductivity
      - battery

group:
  myplants:
    view: yes
    name: Plant
    entities:
      - group.sensor1
      - group.sensor2
  sensor1:
    name: Sensor 1
    entities:
      - sensor.flower_1_battery
      - sensor.flower_1_conductivity
      - sensor.flower_1_light_intensity
      - sensor.flower_1_moisture
      - sensor.flower_1_temperature
  sensor2
    name: Sensor 2
    entities:
      - sensor.flower_2_battery
      - sensor.flower_2_conductivity
      - sensor.flower_2_light_intensity
      - sensor.flower_2_moisture
      - sensor.flower_2_temperature
      
automation: !include automations.yaml
script: !include scripts.yaml
1 Like

its the same :confused: can´t connect over web browser but samba

Check what you are using against what I posted as I was still editing it when you copied it I expect :stuck_out_tongue:

yes i noticed it that you editing the text but its still the same :frowning:

Why can’t you see the log file if you can samba in?

home-assistant.log

ahhh that i not know

2017-12-07 20:23:28 ERROR (SyncWorker_0) [homeassistant.util.yaml] while scanning a simple key
in “/config/configuration.yaml”, line 106, column 3
could not find expected ‘:’
in “/config/configuration.yaml”, line 107, column 9
2017-12-07 20:23:28 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: while scanning a simple key
in “/config/configuration.yaml”, line 106, column 3
could not find expected ‘:’
in “/config/configuration.yaml”, line 107, column 9

ok i understand that is in line 106 the : wrong but what is in line 107 wrong?

Post a few lines around that error here.

2017-12-07 20:23:28 ERROR (SyncWorker_0) [homeassistant.util.yaml] while scanning a simple key
in “/config/configuration.yaml”, line 106, column 3
could not find expected ‘:’
in “/config/configuration.yaml”, line 107, column 9
2017-12-07 20:23:28 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: while scanning a simple key
in “/config/configuration.yaml”, line 106, column 3
could not find expected ‘:’
in “/config/configuration.yaml”, line 107, column 9

or what do you mean?

Copy in the lines around the error in here, the edit box you type in to get a message on the forum.

I mean fromthe file that’s got the error in it - configuration.yaml

sensor2 hasn’t got a : at the end, the group one.

  sensor2: <-------------------
    name: Sensor 2
    entities:

Yes i understand it and you did it man :stuck_out_tongue_winking_eye: You are my man after the days hard work with me :joy: Sorry for this an thanks vor your help and your patience.

Now i try how i can connect to the hass.io over the mobile network .

1 Like