LAN Based Zigbee Gateway ?

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

LAN Based Zigbee Gateway ?

Post by Dave21w »

Could anyone recommend a LAN based zigbee gateway, I don't want something that has to use wifi to connect back to Domoticz and especially not something that wants to talk to a server somewhere China all the time !!

My house is fairly well wired with Cat 6 so I like to use POE where I can as that way it's all covered by my UPS too, I mainly want zigbee to use with the Xiaomi Mijia Door sensors unless of course anyone is going to tell me they are a load of s**t and I shouldn't bother ?

Thanks

Dave
pipiche
Posts: 1975
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: LAN Based Zigbee Gateway ?

Post by pipiche »

Dave21w wrote: Monday 17 June 2019 14:26 Could anyone recommend a LAN based zigbee gateway, I don't want something that has to use wifi to connect back to Domoticz and especially not something that wants to talk to a server somewhere China all the time !!

My house is fairly well wired with Cat 6 so I like to use POE where I can as that way it's all covered by my UPS too, I mainly want zigbee to use with the Xiaomi Mijia Door sensors unless of course anyone is going to tell me they are a load of s**t and I shouldn't bother ?

Thanks

Dave
YOu can use simple USB key ZIgbee gateway (like Zigate.fr ) that you connect directly to your Domoticz server
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

Hello,
If your problem is the fear of the Chinese, you can just block your gateway, they can works without connexion to the outside.
If you want LAN gateway, there is some of them like Samsung Smartthings Hub (that works with xiaomi device too), but theses devices are not realy used, so hard to find help/precedure/features for integration.

And like said pipiche you have lot of USB zigbee gateway : Zigbee2mqtt, Conbee, zigate , Elelabs key, HUSBZB-1(at least the 3 first have plugin for Domoticz)
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

Thanks for your input guys,
My dislike of things communicating with the outside world isn't a major issue, the main reason for wanting something LAN based was that it would be easy to move it around to find the best location. My Pi and all my other network stuff, router, poe switch, cable modem etc is all in a rack under my stairs so thats not a really great place to put an ultra low power 2.4ghz transceiver, my RFXCOM has been modified with a serial to ethernet converter so that could be placed elsewhere as well which made a big difference to radio coverage.
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

Zigbee don't work like RFXcom, it's a a meshed network, so it don't need to access to the more away device.
Or you can make a Zigbee router with a raspberry and this kind of device > https://phoscon.de/en/raspbee/ will be cheaper than a Lan router with all options.
And if you stil have range problem, you can make something like that : https://www.zigbee2mqtt.io/how_tos/how_ ... outer.html
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

My main concern over range is that the only devices I will be using (to start with anyway) will be zigbee enabled door and window sensors, as these are battery devices I believe they do not act as repeaters due to battery life considerations - unless I am wrong?

I think the Raspbee will be the best option for me however does anyone know if you can connect to this via I.P as I believe the interface on this is serial so I could fit an I.P to serial converter.

Thanks for your help
pipiche
Posts: 1975
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: LAN Based Zigbee Gateway ?

Post by pipiche »

You are right, all Battery devices won't act as a router and won't participate in the mesh.

For the Raspbee, I'll leave @Thorgal790 to answer .
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

Lol, yep, deconz is my hobby ^^.
It s just an exemple, you can too install zigbee2mqtt and the mqtt server on a raspberry and use it as gateway.

For deconz (Conbee/Raspbee) the manufacturer make too a a "phoscon gateway" https://www.dresden-elektronik.de/funkt ... teway/?L=1 but you can do it yourself, it's just a raspberry + raspbee in a plastic box.

And yes, all are working "by IP". But you need a complete system, was not just an interface problem serial <> IP. Theses gateways are just devices not a complete server.
So you need a raspberry (It seem not working for raspberry 0) a raspbee and their application, you can find too preinstalled SD image ready to write.
deCONZ work like domoticz, when you launch the application you have a webserver and a REST API (using JSON like for Domoticz).
You need to use a web browser to access to the application (using the gateway ip), with a realy "sexy" interface > https://www.dresden-elektronik.de/funkt ... n-app/?L=1
And you have too the REST API (working with the ip too, was just http request) to use it in the application you want > https://dresden-elektronik.github.io/deconz-rest-doc/
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

Many thanks for all your replies, this has given me a lot to think about, at present I have ordered these :-

https://www.amazon.co.uk/gp/product/B00 ... le_o01_s00

https://www.amazon.co.uk/gp/product/B07 ... le_o00_s00

https://www.amazon.co.uk/gp/product/B07 ... le_o00_s00

I decided to have a play with both options to which I like best and then move forward from there.

Thank you again for all your help
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

Quick (and possibly stupid) question, I'm currently waiting for my RaspBee to be delivered by Amazon, if I have installed the software without the hardware present should I still see the deconz plugin in the hardware page or not, I know you can see lots of other plugins for other hardware but at present I see no listing for deconz, I've followed the instructions on GitHub and I'm presently at the point I should be selecting the hardware but it's not there.

Update:-

Hardware has arrived, powered off and installed, powered up but no change :(
Last edited by Dave21w on Friday 21 June 2019 16:02, edited 1 time in total.
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

Even without deconz software, you can see the deconz plugin in domoticz hadware part if you have installed it correctly (you need to restart Domoticz after having installing files).
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

My thoughts exactly, i've restarted a few times, the only thing i can think of was there was no plugin folder in Domoticz so i had to create it manually before i could install the plugin
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

No, this folder is already in it, with samples (like "AwoxSMP"). But long time I haven't make a fresh install.
Are you sure for folder ? For me it's "/home/pi/domoticz/plugins"
Wich one system have you ? windows ?
You can too see plugin probleme on domoticz log (setting/logs) at start.
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

Ah, this is why I’m not a software engineer, I thought it was the one in /etc/domoticz

Oh well,it will have to wait till Wednesday now, I’m actually an automation and control hardware engineer and my dev / test pi is at work on my desk, I don’t touch my home system until what ever is new has been tested at work.

Many thanks for your help Thorgal789
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

Lol, NP, have fun ^^
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

So, I finally get my Raspbee setup on my Pi3 with Phoscon and deConz installed, go into the Phoscon add device page and navigate to sensors, add and others, I have a few Xiaomi Mijia Smart Door & Window Sensors but it won't see them, I've got a second Raspbee so D/L the headless stretch image from dresdens website and built a standalone gateway, set up I.P etc in the demoticz Pi, connects OK to the gateway but again going into the phoscon page on the gateway and nomatter what I do I can't see the sensors, to "pair" you hold the sensor rst button for about 3 sec and then it should appear - does anyone have any of these sensors and are using them with a Raspbee, if so how?
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

Nope, you need to press it for 10s for pairing, single press is to wake up the sensor, 3s is just a kind of "ping" for a network action. In fact you need to press it up you see a blinking led (don't remember but >= 5 blinks)
And if you can use the GUI version it's better, at least to start, when you will be a "pro zigbee" you can take the headless version. You will have lot of tools to manage your zigbee network, see the mesh (will be usefull to check good and bad router), and add not supported device. Same if you have problem, you can see the sensor in deconz but not in phoscon, the more important it's deconz, phoscon is just an helper.
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

Thank you Thorgal789

I'll check tomorrow as soon as I get to work, I'll download the full desktop image as soon as I get in, I'm lucky that I can mess with this sort of stuff all day if I want so once its installed on my second Pi I can check it out, my eventual plan is to have it all on a single Pi but initially I'd like to see it working first with no errors. I'll post again in the morning if it's a success, and definitely if it isn't haha.
Thanks
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Thorgal789 »

Here you have a video, it's not for conbee, but it works same : https://www.youtube.com/watch?v=OzjEzlH1b2I
In Phoscon it's like you have done : Sensor / add new sensor / other.
Dave21w
Posts: 360
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: LAN Based Zigbee Gateway ?

Post by Dave21w »

Well i give up, current stable image with gui from dresden's website setup on Pi 3B+, no amount of reseting these damn sensors makes them show up in Phoscon or deCONZ :-(

Have updated raspian after the above, still no change, despite these sensors looking legit I'm now wondering if I got some chinese crapy copies even though they look well made and the part no. on the rear matches the supported device in the list supplied by dresden.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests