Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Smart Home, Let's discuss

views
     
kelembai
post Nov 16 2018, 08:45 AM

Casual
***
Junior Member
357 posts

Joined: Sep 2009


QUOTE(lencent @ Nov 15 2018, 11:03 PM)
question, can mi home set rule for switching on a light for X minutes if the motion sensor pickup movement? thinking to include a motion sensor at the staircase area to switch on the light whenever someone is coming up or going down the stair.

Cheers.
*
Yes can, just set the turn off the light x min when no motion
lencent
post Nov 16 2018, 10:32 AM

Regular
******
Senior Member
1,719 posts

Joined: Oct 2004
From: Third rock from the sun



QUOTE(kelembai @ Nov 16 2018, 08:45 AM)
Yes can, just set the turn off the light x min when no motion
*
Thank you for the confirmation biggrin.gif
Can proceed with my purchases now, but hopefully the gateway signal can reach second floor...
idoblu
post Nov 16 2018, 10:34 AM

stars for sale
********
All Stars
11,308 posts

Joined: Feb 2008
QUOTE(kelembai @ Nov 15 2018, 12:16 PM)
Ya will try to us sticker, wooried in fall down
*
remember to wipe the surface properly before sticking
ceiling got lots of dust and loose paint
Fubar20
post Nov 16 2018, 11:49 AM

Regular
******
Senior Member
1,187 posts

Joined: Apr 2011
From: Nowhere


QUOTE(zzzhhhzzz @ Nov 16 2018, 08:05 AM)
hi guys.. if i replace my auto gate switch with a smart switch, any "scenes" that i can make to make it work like the mechanical auto gate switch ? Because auto gate switch when it is press will return back to its original position immediately...
*
Can by install the Sonoff 1 Channel Inching /Self-Locking WiFi Wireless Switch 5V 12V to your auto gate box.


zzzhhhzzz
post Nov 16 2018, 11:54 AM

Regular
******
Senior Member
1,671 posts

Joined: Apr 2012
QUOTE(Fubar20 @ Nov 16 2018, 11:49 AM)
Can by install the Sonoff 1 Channel Inching /Self-Locking WiFi Wireless Switch 5V 12V to your auto gate box.


*
this is not what i meant.... I have a wall switch given by the developer which is a momentary switch that has been wired to control my auto gate... i just plan to replace that wall switch with a sonoff switch... the only difference is that in a momentary switch, when you press it will complete the circuit... but when you let go it will go back to its original position.... so it just like pass the current for a short while... was womndering how to do it for smart switch
Fubar20
post Nov 16 2018, 12:04 PM

Regular
******
Senior Member
1,187 posts

Joined: Apr 2011
From: Nowhere


QUOTE(zzzhhhzzz @ Nov 16 2018, 11:54 AM)
this is not what i meant.... I have a wall switch given by the developer which is a momentary switch that has been wired to control my auto gate... i just plan to replace that wall switch with a sonoff switch... the only difference is that in a momentary switch, when you press it will complete the circuit... but when you let go it will go back to its original position.... so it just like pass the current for a short while... was womndering how to do it for smart switch
*
Not sure how the auto gate wall switch works but if you say it is momentary switch, then no smart wall switch works like that AFAIK.
idoblu
post Nov 16 2018, 12:21 PM

stars for sale
********
All Stars
11,308 posts

Joined: Feb 2008
QUOTE(zzzhhhzzz @ Nov 16 2018, 11:54 AM)
this is not what i meant.... I have a wall switch given by the developer which is a momentary switch that has been wired to control my auto gate... i just plan to replace that wall switch with a sonoff switch... the only difference is that in a momentary switch, when you press it will complete the circuit... but when you let go it will go back to its original position.... so it just like pass the current for a short while... was womndering how to do it for smart switch
*
you want to replace your momentary switch with a smart switch that works like a momentary switch? shakehead.gif
maybe you should tell us what you are trying to achieve

This post has been edited by idoblu: Nov 16 2018, 12:26 PM
zzzhhhzzz
post Nov 16 2018, 12:40 PM

Regular
******
Senior Member
1,671 posts

Joined: Apr 2012
QUOTE(idoblu @ Nov 16 2018, 12:21 PM)
you want to replace your momentary switch with a smart switch that works like a momentary switch?  shakehead.gif
maybe you should tell us what you are trying to achieve
*
so that I can control the auto gate from my handphone.. sometimes if I forget to shut the auto gate.. can see from my cctv then can use the app to shut it
idoblu
post Nov 16 2018, 12:43 PM

stars for sale
********
All Stars
11,308 posts

Joined: Feb 2008
QUOTE(zzzhhhzzz @ Nov 16 2018, 12:40 PM)
so that I can control the auto gate from my handphone.. sometimes if I forget to shut the auto gate.. can see from my cctv then can use the app to shut it
*
Then just watch the video that fubar20 posted
You can use back the existing switch with the added smart function
kelembai
post Nov 16 2018, 02:44 PM

Casual
***
Junior Member
357 posts

Joined: Sep 2009


QUOTE(zzzhhhzzz @ Nov 16 2018, 12:40 PM)
so that I can control the auto gate from my handphone.. sometimes if I forget to shut the auto gate.. can see from my cctv then can use the app to shut it
*
To do that, you need to understand your gate ekectronic board first and then you can follow as per video, probably yoy can ask thay guy since he is malaysian
Zot
post Nov 17 2018, 06:21 PM

Look at all my stars!!
*******
Senior Member
7,938 posts

Joined: Mar 2014
QUOTE(zzzhhhzzz @ Nov 16 2018, 12:40 PM)
so that I can control the auto gate from my handphone.. sometimes if I forget to shut the auto gate.. can see from my cctv then can use the app to shut it
*
You forget to close the gate but what if you forget to even check the CCTV. Probably by the time you check CCTV, it is too late already.

Why not make it auto close after certain period but of course with sensor to check nothing obstructing first. This I would say smart gate biggrin.gif
Drian
post Nov 18 2018, 05:31 AM

Look at all my stars!!
*******
Senior Member
4,999 posts

Joined: Jan 2003


man YAML in Home Assistant is pain in the ass to write

Any of you using it with alexa ?
Fubar20
post Nov 18 2018, 11:34 AM

Regular
******
Senior Member
1,187 posts

Joined: Apr 2011
From: Nowhere


QUOTE(Zot @ Nov 17 2018, 06:21 PM)
You forget to close the gate but what if you forget to even check the CCTV. Probably by the time you check CCTV, it is too late already.

Why not make it auto close after certain period but of course with sensor to check nothing obstructing first. This I would say smart gate  biggrin.gif
*
Yup, can do that in Home Assistant and that will be what I set if I have an auto gate.
Plug in a Wemos D1 Mini programmed as a binary sensor and plugged in to your car.
When your car starts, the binary sensor connects to your home wifi and becomes connected.
This triggers the auto gate to open through automation.
When your car leave, the binary sensor will disconnect from your home wifi and it will be disconnected.
This will trigger the auto gate to close. Again through automation.

QUOTE(Drian @ Nov 18 2018, 05:31 AM)
man YAML in Home Assistant is pain in the ass to write

Any of you using it with alexa ?
*
Not really. Yaml is simple. Just that need to get the spacing right.
Got 2 ways of using Alexa through HA:
1) Home Assistant Cloud - if you can afford Starbucks every week, it is not too expensive to subscribe to the HA Cloud. No need to set DNS and port forwarding.
2) Use the free compenents as per this LINK. More on creating the skill in Alexa and the yaml side.
zzzhhhzzz
post Nov 19 2018, 08:52 AM

Regular
******
Senior Member
1,671 posts

Joined: Apr 2012
hi all.. just wondering.. once you have integrated xiaomi gateway and their switches into Home Assistant, can you still control your xiaomi switch through Mi App ?
Fubar20
post Nov 19 2018, 10:50 AM

Regular
******
Senior Member
1,187 posts

Joined: Apr 2011
From: Nowhere


QUOTE(zzzhhhzzz @ Nov 19 2018, 08:52 AM)
hi all.. just wondering.. once you have integrated xiaomi gateway and their switches into Home Assistant, can you still control your xiaomi switch through Mi App ?
*
Sure can. The app give LAN (local network) access to the Home Assistant with the API key.
Snoy
post Nov 19 2018, 04:25 PM

~SIMPLE~
******
Senior Member
1,203 posts

Joined: Jan 2003


QUOTE(zzzhhhzzz @ Nov 19 2018, 08:52 AM)
hi all.. just wondering.. once you have integrated xiaomi gateway and their switches into Home Assistant, can you still control your xiaomi switch through Mi App ?
*
QUOTE(Fubar20 @ Nov 19 2018, 10:50 AM)
Sure can. The app give LAN (local network) access to the Home Assistant with the API key.
*
Can, but it's not really fully functional like in Mi Home app.
For example: no support for Xiaomi Gateway "Enable/Disable Alert" mode.

Also, no relation to Mi Home configuration.
For example:
- In MiHome, I setup the switch single press to toggle the gateway light.
- In HA, we cannot set single press button to follow the behavior in Mi Home. Meaning, it will be in different action.





Fubar20
post Nov 19 2018, 05:42 PM

Regular
******
Senior Member
1,187 posts

Joined: Apr 2011
From: Nowhere


QUOTE(Snoy @ Nov 19 2018, 04:25 PM)
Can, but it's not really fully functional like in Mi Home app.
For example: no support for Xiaomi Gateway "Enable/Disable Alert" mode.

Also, no relation to Mi Home configuration.
For example:
- In MiHome, I setup the switch single press to toggle the gateway light.
- In HA, we cannot set single press button to follow the behavior in Mi Home. Meaning, it will be in different action.
*
Sure there is no enable / disable Alert from HA but you can set by using automation in HA. Refer link below
https://community.home-assistant.io/t/any-o...i-gateway/30152

There are automation examples to switch gateway light and even adjust its brightness. Refer below
https://www.home-assistant.io/components/bi...r.xiaomi_aqara/

Snoy
post Nov 19 2018, 05:58 PM

~SIMPLE~
******
Senior Member
1,203 posts

Joined: Jan 2003


QUOTE(Fubar20 @ Nov 19 2018, 05:42 PM)
Sure there is no enable / disable Alert from HA but you can set by using automation in HA. Refer link below
https://community.home-assistant.io/t/any-o...i-gateway/30152

There are automation examples to switch gateway light and even adjust its brightness. Refer below
https://www.home-assistant.io/components/bi...r.xiaomi_aqara/
*
Actually, I had read these links long time ago.
These were not what I anticipated.
The HA automation is a separate instance work independently with Xiaomi Gateway Alert.

In my eyes, it is duplicated.
So, I concluded that why make our life so difficult to move everything into HA when Mi Home can do it?

There are still lots of things not doable in HA for Xiaomi ecosystem. At least not the easy way.
For example,
- paring a xiaomi air purifier requires many steps to retrieve the access token.
- getting camera videos work for some models with custom firmware only. Also, with lots of configuration steps.

So, I decided HA is merely a supplementary system to link with other ecosystems instead of replacing existing vendor's apps.
Fubar20
post Nov 19 2018, 06:05 PM

Regular
******
Senior Member
1,187 posts

Joined: Apr 2011
From: Nowhere


QUOTE(Snoy @ Nov 19 2018, 05:58 PM)
Actually, I had read these links long time ago.
These were not what I anticipated.
The HA automation is a separate instance work independently with Xiaomi Gateway Alert.

In my eyes, it is duplicated.
So, I concluded that why make our life so difficult to move everything into HA when Mi Home can do it?

There are still lots of things not doable in HA for Xiaomi ecosystem. At least not the easy way.
For example,
- paring a xiaomi air purifier requires many steps to retrieve the access token.
- getting camera videos work for some models with custom firmware only. Also, with lots of configuration steps.

So, I decided HA is merely a supplementary system to link with other ecosystems instead of replacing existing vendor's apps.
*
Er, nobody asking those using only Xiaomi switch to turn on Xiaomi gateway to use HA. huh.gif
If you use only Xiaomi devices, of course it is better to just use the Mi app.
At least HA can duplicate some actions if want to integrate with other brand devices.
If Xiaomi can use with Sonoff, Alexa and Google Home, I'm sure nobody want to add HA into their home.
kelembai
post Nov 19 2018, 08:54 PM

Casual
***
Junior Member
357 posts

Joined: Sep 2009


QUOTE(Fubar20 @ Nov 19 2018, 06:05 PM)
Er, nobody asking those using only Xiaomi switch to turn on Xiaomi gateway to use HA. huh.gif
If you use only Xiaomi devices, of course it is better to just use the Mi app.
At least HA can duplicate some actions if want to integrate with other brand devices.
If Xiaomi can use with Sonoff, Alexa and Google Home, I'm sure nobody want to add HA into their home.
*
Agree, HA act as and bridge between xioami and others

 

Change to:
| Lo-Fi Version
0.0237sec    0.54    6 queries    GZIP Disabled
Time is now: 16th December 2025 - 05:55 PM