LoneTraveller
Arch-Supremacy Member
- Joined
- Mar 31, 2012
- Messages
- 12,926
- Reaction score
- 4,702
coz the automation is stored in xiaomi cloud....
u can overcome this by using HA and write the automation in HA...
K. Tks very much! Will look into it.
coz the automation is stored in xiaomi cloud....
u can overcome this by using HA and write the automation in HA...
K. Tks very much! Will look into it.
- alias: Balcony Motion Turn On Light
trigger:
platform: state
entity_id: binary_sensor.motion_sensor_158d0001d90b27
from: 'off'
to: 'on'
condition:
condition: and
conditions:
- condition: state
entity_id: switch.wall_switch_ln_left_158d0002b73ca8
state: 'off'
- condition: or
conditions:
- condition: sun
after: sunset
after_offset: "-00:30:00"
- condition: sun
before: sunrise
before_offset: "00:15:00"
action:
- service: switch.turn_on
entity_id: switch.wall_switch_ln_left_158d0002b73ca8
- wait_template: "{% if states.binary_sensor.motion_sensor_158d0001d90b27.attributes['No motion since'] | int >= 180 and states.binary_sensor.motion_sensor_158d0001d90b27.state == 'off' %}True{% else %}False{% endif %}"
- condition: state
entity_id: switch.wall_switch_ln_left_158d0002b73ca8
state: 'on'
- service: switch.turn_off
entity_id: switch.wall_switch_ln_left_158d0002b73ca8
Hi all, i am currently playing with xiaomi home automation although i have got both the gateway and zigbee plugs for quite some time.
I am facing the problem of automation rules not running when the wifi is down. For example, i set my handphone plug to turn off at 6am everyday but it does not do so if wifi is not available. It does so correctly when wifi is available.
Does anyone xiaomi users encounter this and is there a way to overcome this?i thought that zigbee devices should be able to work without wifi.
Tia
Hi everyone, was told by my electrician that having a neutral wire is dangerous as I'm not intending to automate yet. Just building it in as part of reno.
He mentioned that it could cause electrical fires. Do the experts here have similar concerns?
neutral wires are already at the lights and power points, just not at the switch points. why should it be any more dangerous at the switch points? your electrician either doesnt want to do it or he doesnt knows what he is talking about
automation triggered by zigbee sensors will still work without internet connection but not timer schedules. how will it knows the time when it is not connected to the internet?
Oh sorry I read his question wrongly then. In that case, just don’t cut the insulation and tape up the ends.the electrician is saying if dont terminate..meaning leaving the wire unterminated at the switch point.. coz maybe owner heaven decide what switch to buy...
anyway, the simplest and cheapeat way... jus dark tape the wire...
Oh sorry I read his question wrongly then. In that case, just don’t cut the insulation and tape up the ends.
As for automation not running if no internet, mine works cause I’ve experienced it before. But I’m going to test it again.
Ah yes sorry if im unclear.
The light switches are just going to be simple malia legrand switches for now. So there is no termination point.
Hence the electrician is saying could be unsafe.
interesting. you dont need to plug the secondary one to a computer?
i tried and all automation dont work.. as long ur gateway has no internet... automation doesnt work.
unless you code your automations in HA.
i tried and all automation dont work.. as long ur gateway has no internet... automation doesnt work.
unless you code your automations in HA.
If I pull 1 neutral line from light to switch, can this neutral line be used other switches beside it as well?
Posted from PCWX using ALP-L29
Hi everyone,
I'm very new at this but i'm trying to learn more about this, any help is appreciated.
I am doing renovation at the moment and thinking of putting neutral wires.
However i have a question regarding pulling of neutral wires, does the neutral wire need to be taken from the junction box(DB)? or connected to the DB directly?
Or is there a neutral point at the ceiling light bulb area where i have to use a neutral wire to connect it to the switch area? without connecting to the junction box? Dont really understand it.
Also if there are any links to read more about this i would love to learn.
Thanks!
Some neutrals are separated into 3 phases. Some just go back to one neutral line. If you use a neutral from a separate phase you may trip the breaker.Hi everyone,
I'm very new at this but i'm trying to learn more about this, any help is appreciated.
I am doing renovation at the moment and thinking of putting neutral wires.
However i have a question regarding pulling of neutral wires, does the neutral wire need to be taken from the junction box(DB)? or connected to the DB directly?
Or is there a neutral point at the ceiling light bulb area where i have to use a neutral wire to connect it to the switch area? without connecting to the junction box? Dont really understand it.
Also if there are any links to read more about this i would love to learn.
Thanks!
Some neutrals are separated into 3 phases. Some just go back to one neutral line. If you use a neutral from a separate phase you may trip the breaker.
A qualified electrician will know what to do., where to tap it from etc
Think this picture should help you understand clearly..
Sent from HUAWEI BLA-L29 using GAGT