Page 1 of 1

Re: Home automation via Zigbee

Posted: Sat Dec 31, 2011 12:36 pm
by ribeye
Can anyone suggest a strategy for setting up a Zigbee home automation network on Raspberry?

Presumably you need

- Zigbee USB dongle to plug into the Raspberry

- Software running on the Raspberry to control the network and offer access via internet

- A remote control

- The Zigbee light switches etc

My google research has turned up nothing that seems to fit this form.

Re: Home automation via Zigbee

Posted: Sat Dec 31, 2011 12:57 pm
by Gert van Loo
Or connect a zigbee device to the GPIO. e.g. use the SPI port to talk to a zigbee chip.

Re: Home automation via Zigbee

Posted: Sat Dec 31, 2011 4:08 pm
by daveismith
If you're going to buy off the shelf ZigBee HA products, you're going to need to understand how the HA automation profile works. In terms of physical setup, I would think that a module communicating by SPI would give a nicer finished package personally.

Re: Home automation via Zigbee

Posted: Sun Jan 15, 2012 1:12 pm
by Robin McB
Hello

I am planning to put together a couple of Microchip PIC based boards in order to control outdoor lights, read PIR sensors, door state (open|closed|locked), temperature and mains supply in a shed/greenhouse.I want a PC-based interface for setting up, direct control and possibly (later) logging of readings from other sensors.

The sensors, relay outputs, etc will be on or directly connected to a board based around one of the 16F or 18F PICs. This will communicate with another board at "Indoor" end via ZigBee modules from Microchip. These are relatively easy to use  - assuming you are familiar with micro-controller programming!

I was looking at basing the "Indoor" end around  a PIC32 running a basic web server (connected via ethernet) which could then be accessed from wherever required.  Then I found out about the Raspberry Pi!

It seems that a lightweight LAMP server will be WELL within it's capabilities and there's an SPI port ! It seems that a driver for the SPI is not yet done, but given the usefulness of SPI on a board like Raspberry Pi, I don't think that will be long being done - I would be willing have a go myself, although I'm far more familiar with micro-controllers  than Linux.

There are Zigbee modules from several manufactures appearing and most seem to use SPI to talk to the processor (largely because it's pretty much standard on micro-controllers).

If anyone else who is thinking along these lines is interested in perhaps kicking about ideas for a set of common protocols (I know there are some already out there) that would allow for all the various functions that are controllable - irrespective of underlying comms i.e. effectively between the application 'layer' and the actual communication 'layer', maybe Raspberry Pi forums could be the place to open up this discussion?

Re: Home automation via Zigbee

Posted: Sun Jan 15, 2012 2:02 pm
by Ianw
Theres a really good book from O'Reilly called 'building wireless sensor networks', it covers everything you need to know about zigbee/xbee protocols and interfacing micro controllers! plus there are plenty of USB zigbee/xbee USB interfaces out there as well for a quck fix to the Rasberry Pi interface side of things!

http://books.google.co.uk/book.....38;f=false

If you need any help with the Microcontroller / zigbee side of things feel free to PM me, I have created quite a few projects using these (can be expensive though)

Re: Home automation via Zigbee

Posted: Sun Jan 15, 2012 2:16 pm
by BlueClogger
Sorry, wrong thread.  Content withdrawn.

Re: Home automation via Zigbee

Posted: Sun Mar 25, 2012 2:31 pm
by alchoper
Edit by Abishur: You posted this exact same information linking to a commercial product 4 times in rapid succession.  I'd like to think that since they were on topic in the threads you posted them to that you were just trying to be helpful, but 4 times in such rapid succession as your first 4 posts ever comes off as a little spammy.  If that was just an unfortunate accident, I hope you stick around and keep contributing, but I do ask that you refrain from posting links to commercial products until we get to know you a little better

Re: Home automation via Zigbee

Posted: Thu Oct 18, 2012 4:40 am
by SHNalchoper
Sorry Abishur. I got carried away spreading the news. Anyway, the topic has also been picked up in another thread (Home Automation with Simplehomenet.com). Indeed, a great way to set up the RPi as a sophisticated and very inexpensive home automation gateway is described here: http://simplehomenet.com/solutions.asp?page_id=HomAidPi

Happy automating..

Re: Home automation via Zigbee

Posted: Tue Jan 23, 2018 9:56 am
by Azurl
Gert van Loo wrote:
Sat Dec 31, 2011 12:57 pm
Or connect a zigbee device to the GPIO. e.g. use the SPI port to talk to a zigbee chip.
I've been looking for examples on this. I have recently gotten a raspbee zigbee module for the raspberry pi which basically does what you described here. but the only information I got with it was to use the manufacturers GUI based software called Deconz. I want to build an embedded system that does not employ a screen or keyboard/mouse input. so I want to write the software myself, but I have yet to find any coding examples on how to use the zigbee chips.

Re: Home automation via Zigbee

Posted: Tue Jan 23, 2018 7:40 pm
by Gert van Loo
I used "zigbee Deconz" in google an that led me to this:
https://www.dresden-elektronik.de/funkt ... pc/deconz/

Where they advertise "deCONZ V2_04_99 (Raspbian Linux)" and "deCONZ V2_06_11 (RaspBee Firmware)"