Next you probably have to do some action on the device, usually this is clicking on a button 3 times, but it is manufacturer dependent, so check the docs.The controller needs to be put in a special ' include ' mode.In Z-Wave, adding a device requires both an action on the Z-Wave controller (the RPI) and on the device. Once your gateway is available on AllThingsTalk, you can start adding Z-Wave devices to the controller. Enter your claim code (the mac address).Go to the gateways page (the connector icon in the left upper corner) and click on: ' connect a gateway '.Make certain that Pygate is running on the RPI (and connected to the internet).You can find it with the command ' ifconfig ' or in the log file of Pygate. Note : The claim code for your gateway, is the MAC address of the RPi, formatted like so: A44A16BF1665. You do this by ' claiming ' your gateway. Once your RPI is running, it's time to add it to your account on AllThingsTalk. You are now ready to start up your gateway, so reboot the RPI. Activate it ( Note : use the manual process, since the gateway has not yet been added to the cloud).Next, you need to install the Z-Wave plugin for Pygate.Follow this procedure to install the Pygate framework on the RPI.The AllThingsTalk cloud also provides a ' developer view ' user interface on the gateway which allows you to configure and control the gateway and devices. The gateway is hooked up to the AllThingsTalk cloud for long distance access and for talking to other devices, like the Controllino as discussed in this post. This module uses the open-zwave libraries for communicating with our devices. The application works with plugins so that it's functionality can be selected, depending on the project: do you want Z-Wave, virtual devices (web-resources), xBee, associations, scenes, groups, or something else, just pick the plugins that you like and put them together.įor this project, we are going to use the Z-Wave plugin. It's a framework that turns your RPi in a gateway to the AllThingsTalk cloud. The software running on the RPi is called pygate. 1 or more Z-Wave devices like a door-sensor, eye, roller-shutter.1 Raspberry Pi for running the applications.Note: The gateway is required cause Z-Wave devices can't directly connect to the internet. This project will only cover the basics: setting up the gateway and adding/removing Z-Wave devices. To accomplish the latter, for this project, I've opted not to build all these devices myself, but instead go for a ready made solution, based on the Z-Wave protocol. Such a device is useful for handling the basic 'electrical' stuff such as lights, doorbells, gates, knobs and buttons.įor other home automation/control desires, you often need to put special purpose devices in difficult locations, such as roller-shutters near the windows, RGB-controllers in the ceiling. In a previous post, I showed you an Arduino based controller to manage the lighting system in the house.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |