Hass.io Xiaomi Sensor show nothing

If you are at home then just use a browser (chrome is good) to connect to your_ip_addr:8123

If outside your network, you’ll need to use ssl and duckdns and letsencrypt, see here…

yes i have build me a duckdns domain but than i hang by the letsencrypt addon

Sorry I don’t have any idea as I don’t use it :frowning:

Thats ok you help me enough :wink: I make that but can you say me how i can set a alarm for the moisture when its under 30%?

In automations.yaml place something like the following…

###############################################################################################
#                                                                                             #
# Notify me on my mobile phone of an event that affects my plants                             #
#          Water/Battery/Food                                                                 #
#                                                                                             #
###############################################################################################
            # Notify me on my mobile phone of an event
  alias: 'Plant Water Check' 
  initial_state: 'off'
  trigger:
    platform: numeric_state
    entity_id: sensor.miflora_bird_of_paradise_moisture, sensor.miflora_trailing_plant_bathroom_moisture
    below: 30
  action:
    - condition: sun
      after: sunset
    - condition: time
      after:  '18:00:00'
      before: '18:01:00' 
     # Actions are scripts so can also be a list of actions
    - service: notify.mypushbullet
      data_template:
        message: >
          '{{ trigger.from_state.attributes.friendly_name }} NEEDS Water!'     

  alias: 'Plant Battery Check' 
  initial_state: off
  trigger:
    platform: numeric_state
    entity_id: sensor.miflora_bird_of_paradise_battery, sensor.miflora_trailing_plant_bathroom_battery
    below: 5
    above: 1
  action:
     # Actions are scripts so can also be a list of actions
    - condition: sun
      after: sunset
    - condition: time
      after:  '18:00:00'
      before: '18:01:00' 
    - service: notify.mypushbullet
      data_template:
        message: >
          '{{ trigger.from_state.attributes.friendly_name }} NEEDS a new Battery!'

  alias: 'Plant Food Check' 
  initial_state: 'off'
  trigger:
    platform: numeric_state
    entity_id: sensor.miflora_bird_of_paradise_conductivity, sensor.miflora_trailing_plant_bathroom_conductivity
    below: 100
  action:
    - condition: sun
      after: sunset
    - condition: time
      after:  '18:00:00'
      before: '18:01:00' 
    - service: notify.mypushbullet
      data_template:
        message: >
          '{{ trigger.from_state.attributes.friendly_name }} NEEDS Feeding!'

The above will notify me via pushbullet on my mobile at around 18:00 (6pm) if any of the plants I have need water, or batty is low or need feeding. You will need to setup pushbullet (notify component) and the sensor names to whatever yours are called.

2 Likes

You are the best much thanks i test it tomorrow