[Official] Home Automation Thread

pustefix

Senior Member
Joined
Feb 6, 2012
Messages
537
Reaction score
10
Are you able to obtain the battery level for Xiaomi sensor?

You should be able to, see https://www.zigbee2mqtt.io/integration/home_assistant.html. Search for the model e.g. WXKG01LM and you will be able to see what is reported. There is also link quality reported to let you know how good is the connection.

BTW, I am using zigbee2mqtt for some of my switches, yet to migrate for my sensors. For the 3 days it is running, it seems more reliable than my Xiaomi gateway.
 
Last edited:

zoneguard

Senior Member
Joined
Jun 2, 2000
Messages
1,957
Reaction score
398
You should be able to, see https://www.zigbee2mqtt.io/integration/home_assistant.html. Search for the model e.g. WXKG01LM and you will be able to see what is reported. There is also link quality reported to let you know how good is the connection.

BTW, I am using zigbee2mqtt for some of my switches, yet to migrate for my sensors. For the 3 days it is running, it seems more reliable than my Xiaomi gateway.

Welcome to the zigbee2mqtt club :)

Yes, battery and link status is available for Xiaomi sensors. I have a mixture of Xiaomi Mijia and Aqara sensors. As an example, with MQTT discovery and HA, the Aqara body motion sensor is seen as 3 separate sensors within HA: battery, illuminance and occupancy.

On a sidenote, support for Livolo Zigbee wall switch non-neutral was added to the dev version but EU size 80mm by 80mm rather than 86mm by 86mm.
Think the screw mounting holes also got problem if want to use it here. Hope Livolo can release UK 86mm version soon as alternative to Xiaomi.
 

gheesung

Junior Member
Joined
Jun 23, 2000
Messages
49
Reaction score
0
Welcome to the zigbee2mqtt club :)

Yes, battery and link status is available for Xiaomi sensors. I have a mixture of Xiaomi Mijia and Aqara sensors. As an example, with MQTT discovery and HA, the Aqara body motion sensor is seen as 3 separate sensors within HA: battery, illuminance and occupancy.

On a sidenote, support for Livolo Zigbee wall switch non-neutral was added to the dev version but EU size 80mm by 80mm rather than 86mm by 86mm.
Think the screw mounting holes also got problem if want to use it here. Hope Livolo can release UK 86mm version soon as alternative to Xiaomi.

Thanks for the info. I am using openhab.

My CC2531 USB stick just arrived yesterday and managed to link up with my Aqara cube and switch. For the cube, I am surprised that a lot information is revealed e.g. the angle of rotation, flipping from which side to which side which is not available in openhab xiaomi binding.
 

zoneguard

Senior Member
Joined
Jun 2, 2000
Messages
1,957
Reaction score
398
Just a thought, since Google Home exposes Bluetooth A2DP sink aka it acts as a Bluetooth speaker, if you pair Echo Input with a Google Home Mini, you get the best of both worlds! Start with "Alexa" and the GHM will act like Alexa and start with "Hey Google", it will revert back to its Google personality...
Caveat: I haven't actually tried it myself yet...

Got a good deal for Echo Input so managed to try out this idea.

Start with 'Alexa' and the Mini will act as the speaker for the Echo Input. Start with 'Hey Google' and the Mini revert back to its Google Home personality.

To setup, 'Hey Google, pair' to get Mini in pairing mode.
Then use the Alexa app to setup accordingly to these instructions as Echo Input initially has no speaker. Choose your Mini as the Bluetooth speaker at this point.

I wasn't able to find any links of anybody else who has tried this method before.
 

plustwo

Arch-Supremacy Member
Joined
Dec 28, 2009
Messages
12,691
Reaction score
580
Thanks for the info. I am using openhab.

My CC2531 USB stick just arrived yesterday and managed to link up with my Aqara cube and switch. For the cube, I am surprised that a lot information is revealed e.g. the angle of rotation, flipping from which side to which side which is not available in openhab xiaomi binding.
problem lies with the xiaomi gateway. the gateway does not report the face of cube. how does the cc2531 work? i'm looking for replacement gateway for mi gateway. using openhab too
 

gheesung

Junior Member
Joined
Jun 23, 2000
Messages
49
Reaction score
0
problem lies with the xiaomi gateway. the gateway does not report the face of cube. how does the cc2531 work? i'm looking for replacement gateway for mi gateway. using openhab too

cc2531 is the zigbee usb stick recommended by zigbee2mqtt to work on the raspberry pi. The zigbee2mqtt connects to MQTT so it is basically publishing and subscribing to the queue.
 

iamnagel

Senior Member
Joined
Jul 19, 2010
Messages
1,116
Reaction score
46
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
 

plustwo

Arch-Supremacy Member
Joined
Dec 28, 2009
Messages
12,691
Reaction score
580
cc2531 is the zigbee usb stick recommended by zigbee2mqtt to work on the raspberry pi. The zigbee2mqtt connects to MQTT so it is basically publishing and subscribing to the queue.
means you need multiple raspberry pis if the range not big enough?
 

gheesung

Junior Member
Joined
Jun 23, 2000
Messages
49
Reaction score
0
means you need multiple raspberry pis if the range not big enough?

I am just starting to dip my toe into zigbee. From the discussion in zigbee2mqtt github, it seems to be able to setup router to extend the range. For now, that is beyond me but an interesting topic to explore.
 

zoneguard

Senior Member
Joined
Jun 2, 2000
Messages
1,957
Reaction score
398
I am just starting to dip my toe into zigbee. From the discussion in zigbee2mqtt github, it seems to be able to setup router to extend the range. For now, that is beyond me but an interesting topic to explore.

If you have Aqara switches with neutral, you don't need additional router to extend range. All Zigbee devices running on AC power will act as routers so range shouldn't be an issue.

I don't use Aqara switches so I got another CC2531 plugged into a spare phone charger to act as router for range extension. Most of the other router recommendation use CC2530 + external antenna which is another device.
 

halth

Member
Joined
Apr 28, 2003
Messages
257
Reaction score
0
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?
 

plustwo

Arch-Supremacy Member
Joined
Dec 28, 2009
Messages
12,691
Reaction score
580
If you have Aqara switches with neutral, you don't need additional router to extend range. All Zigbee devices running on AC power will act as routers so range shouldn't be an issue.

I don't use Aqara switches so I got another CC2531 plugged into a spare phone charger to act as router for range extension. Most of the other router recommendation use CC2530 + external antenna which is another device.
interesting. you dont need to plug the secondary one to a computer?
 

Alphas

High Supremacy Member
Joined
Oct 6, 2004
Messages
40,669
Reaction score
5,339
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?


If the neutral wire is terminated properly, its safe. Your electrician do not know how to terminate it.
 

LoneTraveller

Arch-Supremacy Member
Joined
Mar 31, 2012
Messages
12,933
Reaction score
4,709
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
 

SaLvAtoOo

Supremacy Member
Joined
Sep 2, 2000
Messages
5,807
Reaction score
11
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

coz the automation is stored in xiaomi cloud....

u can overcome this by using HA and write the automation in HA...
 
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