[Official] Home Automation Thread

Gainduia

Member
Joined
Jan 2, 2012
Messages
253
Reaction score
12
1) Yes

2) try using the devices remote when its pointed away. If still successful, its RF. If fails, its IR
:)

3) harmony hub is an IR blaster only. It needs to be within line of sight with all ur devices that you want to wish to control over IR.

Looks like I have to look into xiaomi gateway as previously, worry that aqara switch cannot be used manually.

To summarise your setup, would be: Alexa-HA-smartthings/harmony hub/xiaomi gateway-all devices?
 

pustefix

Senior Member
Joined
Feb 6, 2012
Messages
537
Reaction score
10
For those who are using Xiaomi Gateway, do you have any problem with recent firmware? My version is 1.4.1_161.0143 and it was updated few days ago. Within a day of running, it will fail to response and I could not turn on/off any switch. Sometimes restarting the gateway will get it to work for a while before the problem reappear. To make matter worse, I also recently change my router and I have another Gateway with same firmware that doesn't seem to have this problem. I am at a lost what is the problem here, still debugging...
 

bullfrog

Banned
Joined
Jan 1, 2000
Messages
18,188
Reaction score
1,152
Looks like I have to look into xiaomi gateway as previously, worry that aqara switch cannot be used manually.

To summarise your setup, would be: Alexa-HA-smartthings/harmony hub/xiaomi gateway-all devices?

Yeah the aqara switch w neutral, has been working well so far for me. I was using them like a manual rocker switch for almost a month before buying the xiaomi gateway and fully utilising its 'smartness'
:)

My setup now is basically anything that i have intergrated with HA, alexa controls via the HA skill. But you can take ur time in configuring those that have their own alexa skill. For eg, i was using my alexa - smarthings skill, to control my kitchen fan and Christmas tree lights until this weekend when i intergrated smarthings hub into HA.
 

pustefix

Senior Member
Joined
Feb 6, 2012
Messages
537
Reaction score
10
My setup is as follows, Home Assistant is the main control here:

1. Google Home, mini, JBL Link 10 (all Google Assistant). I did not integrate this with HA yet as I don't see a need to.
2. 2 x Xiaomi gateway
3. Tons of sensor, 5 x door, 5 x motion, 3 x temperature
4. 3 x Aqara non-neutral wall switch (Yes, there are still working after 5 months)
5. 3 x Yeelight ceiling, 1 x Yeelight strip, 1 x Yeelight beside lamp, 1 x Yeelight RGB bulb
6. 3 x RM mini 3 (for controlling aircon in each room)
7. A few wireless switch here and there.
8. 2 x Xiaomi fan (doesn't work well with HA now, wifi keep disconnecting, using MiHome for automation)
9. Hassio (HA) running on Raspberry Pi

All automation is stored in HA, except for the Xiaomi fans. All Zigbee device/sensor will go through gateway, IR will go through RM mini and I do not have any RF devices. I also realized that you need to have a fall back method just in case any layer is not working. Hence I have bluetooth remote for the Yeelight, IR remote for aircon, etc.
 

bullfrog

Banned
Joined
Jan 1, 2000
Messages
18,188
Reaction score
1,152
For those who are using Xiaomi Gateway, do you have any problem with recent firmware? My version is 1.4.1_161.0143 and it was updated few days ago. Within a day of running, it will fail to response and I could not turn on/off any switch. Sometimes restarting the gateway will get it to work for a while before the problem reappear. To make matter worse, I also recently change my router and I have another Gateway with same firmware that doesn't seem to have this problem. I am at a lost what is the problem here, still debugging...


My Xiaomi gateway still works fine after the update. Guess one of ur gateway didn't update successfully. :(
 

SaLvAtoOo

Supremacy Member
Joined
Sep 2, 2000
Messages
5,815
Reaction score
17
My setup is as follows, Home Assistant is the main control here:

1. Google Home, mini, JBL Link 10 (all Google Assistant). I did not integrate this with HA yet as I don't see a need to.
2. 2 x Xiaomi gateway
3. Tons of sensor, 5 x door, 5 x motion, 3 x temperature
4. 3 x Aqara non-neutral wall switch (Yes, there are still working after 5 months)
5. 3 x Yeelight ceiling, 1 x Yeelight strip, 1 x Yeelight beside lamp, 1 x Yeelight RGB bulb
6. 3 x RM mini 3 (for controlling aircon in each room)
7. A few wireless switch here and there.
8. 2 x Xiaomi fan (doesn't work well with HA now, wifi keep disconnecting, using MiHome for automation)
9. Hassio (HA) running on Raspberry Pi

All automation is stored in HA, except for the Xiaomi fans. All Zigbee device/sensor will go through gateway, IR will go through RM mini and I do not have any RF devices. I also realized that you need to have a fall back method just in case any layer is not working. Hence I have bluetooth remote for the Yeelight, IR remote for aircon, etc.

how does ur 2 x xiaomi gateway work together? it doesnt allow me to configure them in active-active or active/passive mode.
 

SaLvAtoOo

Supremacy Member
Joined
Sep 2, 2000
Messages
5,815
Reaction score
17
For those who are using Xiaomi Gateway, do you have any problem with recent firmware? My version is 1.4.1_161.0143 and it was updated few days ago. Within a day of running, it will fail to response and I could not turn on/off any switch. Sometimes restarting the gateway will get it to work for a while before the problem reappear. To make matter worse, I also recently change my router and I have another Gateway with same firmware that doesn't seem to have this problem. I am at a lost what is the problem here, still debugging...

you controlling via the mihome app or HA?
 

doofie

Senior Member
Joined
May 21, 2000
Messages
1,990
Reaction score
14
I'm using the following but i don't really recommend my configuration. Its just that i bought some of the items a long time ago and didn't want to replace them since they still work.

1) 5 x Alexa
2) 2 x Logitech harmony hub
3) 1 x smartthings v2
4) 1 x xiaomi gateway
5) 1x Hass.io (Home Assistant on raspberry pi)


Devices connected to my various gateways as follows:

smarthings(us) :
2 x first alert smoke detectors (z-wave)
1 x door contact sensor (z-wave)
2 x smarthings power plugs. (zigbee)

harmony hubs:
all my IR devices like tvs, aircons, fans & soundbar

Xiaomi gateway:
16 x aqara w neutral light switches
1 x xiaomi curtain motor.

I initially tried using smartthings to control my curtain motor but it was pretty limited. Also read that smartthings has problems getting the state of dual aqara switches.

Since smarthings and aqara integration were sketchy, i bought the xiaomi gateway and installed HA on my desktop first to see if I could set it up. HA is to get alexa to control aqara devices.

As of now, i am using the HA skill. It is possible to get HA to emulate a hue bridge so we need not subscribe to the skill but i kinda like the HA development and i think i want to support it for now..

Anyway after i got comfortable with HA on my desktop, i bought a pi and installed hass.io.

I spent most of this weekend learning how to include my harmony hubs and smarthings into hass.io and spent some time understanding how to configure the HA UI.

Needless to say, Alexa can control smarthings and harmony even before i added them into HA. But it is very neat now, as i can now control all my devices in one universal gui. Below is my setup




:)






OMj1NJB.jpg


My journey with HA far from over though. I still need to include my smoke sensors and door sensor into the gui. Will probably tackle that next weekend.

hi, i'm still learning around with HA and planning to install a VM with HA in it since i've a server at home. However i'm using Google Home thus i need to use google developer, have ssl, have it route back to my home server for HA. It's kind of a hassle.

Is that why you're using Alexa? Alexa allows you to connect to a local server seamlessly?
 

Gainduia

Member
Joined
Jan 2, 2012
Messages
253
Reaction score
12
For ceiling fan with light, when connected to light switch,
Is it possible to on either 1 (light or fan)?
Or both will be on when called?

As morning is bright, don't need light. so just on fan.
Night time then use light+fan.

Edited: Saw somewhere that I have to wire ceiling fan and light separately, to 2 light switch to control them separately. Anyone have any experience with this?
 
Last edited:

doofie

Senior Member
Joined
May 21, 2000
Messages
1,990
Reaction score
14
My setup is as follows, Home Assistant is the main control here:

1. Google Home, mini, JBL Link 10 (all Google Assistant). I did not integrate this with HA yet as I don't see a need to.
2. 2 x Xiaomi gateway
3. Tons of sensor, 5 x door, 5 x motion, 3 x temperature
4. 3 x Aqara non-neutral wall switch (Yes, there are still working after 5 months)
5. 3 x Yeelight ceiling, 1 x Yeelight strip, 1 x Yeelight beside lamp, 1 x Yeelight RGB bulb
6. 3 x RM mini 3 (for controlling aircon in each room)
7. A few wireless switch here and there.
8. 2 x Xiaomi fan (doesn't work well with HA now, wifi keep disconnecting, using MiHome for automation)
9. Hassio (HA) running on Raspberry Pi

All automation is stored in HA, except for the Xiaomi fans. All Zigbee device/sensor will go through gateway, IR will go through RM mini and I do not have any RF devices. I also realized that you need to have a fall back method just in case any layer is not working. Hence I have bluetooth remote for the Yeelight, IR remote for aircon, etc.

Hi, i would like to explore home automation with just speaking to my Google Home. I've wemo, ihc, etc connected to my google home but ever since WEMO server failed once and i can't get google to action on my switches, i'm exploring local server. I've a server running at home so it isn't a problem adding a vm or anything like that. Which is why i've heard of HomeAssistant. Can i connect all my devices to HA? including Google Home and still "command" through Google Home for my devices?
 

bullfrog

Banned
Joined
Jan 1, 2000
Messages
18,188
Reaction score
1,152
hi, i'm still learning around with HA and planning to install a VM with HA in it since i've a server at home. However i'm using Google Home thus i need to use google developer, have ssl, have it route back to my home server for HA. It's kind of a hassle.

Is that why you're using Alexa? Alexa allows you to connect to a local server seamlessly?

Not exactly. I'm using alexa as i like having voice control too. But you are correct. After setting up ssl and opening up my Google wifi router, i discovered i have a problem with port forwarding.

Once SSL is enabled, HA will only allow its gui connection via its url. My Google wifi router will not allow my internal devices to access my hassio using its url (public ip of my router, port forwarded to hassio). I know port forwarding is working as i can access my hassio using my phone on LTE. Moment i connect the phone to wifi, i can no longer access.



:(
Hence i disabled SSL and port forwarding. Can only access from local lan now.

Watching YouTube videos, i see people able to do it from internal and external. So i suspect its my Google wifi that is the problem.
 
Last edited:

doofie

Senior Member
Joined
May 21, 2000
Messages
1,990
Reaction score
14
I made another mistake thinking that all xiaomi products can be used with google home but realised mi gateway and aqara switch can't, at least not natively. Now exploring home assistant but it feels complex.

oh shucks... i was hoping it would... have you got it to work through HA and Google Home yet?
 

doofie

Senior Member
Joined
May 21, 2000
Messages
1,990
Reaction score
14
Not exactly. I'm using alexa as i like having voice control too. But you are correct. After setting up ssl and opening up my Google wifi router, i discovered i have a problem with port forwarding.

Once SSL is enabled, HA will only allow connection via its url. My Google wifi router will not allow my internal devices to access my hassio using its url (public ip of my router, port forwarded to hassio). I know port forwarding is working as i can access my hassio using my phone on LTE. Moment i connect the phone to wifi, i can no longer access.


:(
Hence i disabled SSL and port forwarding. Can only access from local lan now.

Watching YouTube videos, i see people able to do it from internal and external. So i suspect its my Google wifi that is the problem.

not sure if it helps but i had issues with some routers before on loopback in local network. Thats why i've my own DNS server at home and i've my DHCP in my router to have all devices uses my own DNS to point to my local server at local ip when i'm at home and if i'm out, i'll be using the public ip. Not sure if this is the same case as I'm still playing around with HA.

Let me setup the server and HA and see if i can get mine to work and let you know.
 

pustefix

Senior Member
Joined
Feb 6, 2012
Messages
537
Reaction score
10
how does ur 2 x xiaomi gateway work together? it doesnt allow me to configure them in active-active or active/passive mode.

I just add the Gateway in MiHome app just like any devices. Then turn on wireless communication and generate the key to input into HA.
 

bullfrog

Banned
Joined
Jan 1, 2000
Messages
18,188
Reaction score
1,152
not sure if it helps but i had issues with some routers before on loopback in local network. Thats why i've my own DNS server at home and i've my DHCP in my router to have all devices uses my own DNS to point to my local server at local ip when i'm at home and if i'm out, i'll be using the public ip. Not sure if this is the same case as I'm still playing around with HA.

Let me setup the server and HA and see if i can get mine to work and let you know.

Yeah.. You're right. But if i go with the internal dns setting, i probably have to wipe my hassio and install haspian instead. Then i can run a dns server on it (i think). I may walk down that route one day.. But not in the near future. Lazy to rebuild after i just built up my HA
 

pustefix

Senior Member
Joined
Feb 6, 2012
Messages
537
Reaction score
10
not sure if it helps but i had issues with some routers before on loopback in local network. Thats why i've my own DNS server at home and i've my DHCP in my router to have all devices uses my own DNS to point to my local server at local ip when i'm at home and if i'm out, i'll be using the public ip. Not sure if this is the same case as I'm still playing around with HA.

Let me setup the server and HA and see if i can get mine to work and let you know.

The issue that bullfrog is seeing seems to be a loopback issue. I've setup mine using DuckDNS. I am able to access HA both internally and externally.

As for your question about HA connecting to all devices and using Google Home to command them, the answer is YES, link here.
 
Last edited:

SaLvAtoOo

Supremacy Member
Joined
Sep 2, 2000
Messages
5,815
Reaction score
17
hi, i'm still learning around with HA and planning to install a VM with HA in it since i've a server at home. However i'm using Google Home thus i need to use google developer, have ssl, have it route back to my home server for HA. It's kind of a hassle.

Is that why you're using Alexa? Alexa allows you to connect to a local server seamlessly?

you dont need a server to run HA. it works gre8 on rpi or docker.
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top