Help with Mi Home (Xiaomi) Automation

Hi all.

I've looked all over Google, and it seems like no one else has had this issue.

I have several lights (one smart bulb, and a few Yeelight lamps) connected to the Mi Home app, using the United States (Singapore server). But no matter what time I set, I can't get the automation to turn the lights on at specific times. I've tried using Singapore time, and local time.

I'm using the automation setting: "IF TIMER = 7PM (Australia time), THEN turn on lamp". I've also tried "turn on, and set scene", but that doesn't work either.

Could someone please tell me what settings they're using to get it working? Am I missing a step?

Many thanks,
Jack

Comments

  • +2

    Dump Mi Home, get yourself a Raspberry Pi 3 and install/learn Home Assistant, never look back.

    • +3

      there is a huge learning curve with it imo. yeah i can turn on my lights (and extracting the API wasnt easy either), but now customising the config hasnt been particularly intuitive.

      Now trying node red addon

    • +1

      Have you ever tried Openhab 2? Curious if anyone has a good analysis on which one might be better. Have just started dipping my toe in the water with Home Assistant.

      • +1

        I just had a quick look. It pretty much looks exactly the same as hass.io (which differentiates itself from hassbian/home assistant by having an "addons store") Looks like the config is the same too.

  • +1

    I'm not sure if it applies to your specific situation but I found I had to use the China server to get all my stuff working (and for the one time based automation I had I had to use China time (I think it was about 2 hours diff to Sydney)). NB: I'm also using Home Assistant (but the time based automation I'm talking about above is one I've got directly in the Mi Home app).

  • +1

    I always use the china server, and run off china time.

  • +1

    I use China server and Melbourne time.
    I find my yeelight turns on for no reason sometimes

    • +1

      me too, for whatever reason, it seems to work better with other variables.. i.e. movement sensor + time, not just pure time.

  • Thanks guys. I'll try connecting to the China server and see how I go.

  • +1

    I use the Singapore (NOT THE US SERVER). I use this for access to IFTTT and Google assistant support! I also use the automotion with the Mi home app, and it works perfectly in local time (AEDT).

  • +1

    I use the Yeelight app, Singapore server. Very easy to set up the time there and its on the same time zone as me (WA)

    • hey
      do you miss notifications at time?

  • +1

    Being an iOS user, I use homebridge with homebridge-mi-aqara npm plugin, running off VM in my NAS. Never opened the Mi Home App afterwards.

    Cons:
    - Apple homekit cannot take the lux input of the gateway to do something (like if it's took dark and I'm home turn on the lights)

    Edit:
    I have basic unix knowledge (I tremble at the sight of awk), and I managed to have it up and running in 3/4 days after work.

  • +1

    chinese server or yeelight app

  • +1

    I found the automation has to be set to whatever time it was in China, but the logs page would show the past events as local times. Really shoddy app programming.

  • I also got problem with the gateway and smart sockets. Regardless of using China time and Sydney Time none of them work

  • I just noticed an Australian region in Mi Home, is that new?!

Login or Join to leave a comment