Z-wave usb stick - Aeon labs

1,070 views
Skip to first unread message

Balrog

unread,
Mar 8, 2015, 3:35:02 AM3/8/15
to home-assi...@googlegroups.com
Hi,
Anyone that have some walk-through how to setup Aeons labs usb stick for Z-wave?
I have just installed home assistant on my raspberry pi.

Paulus Schoutsen

unread,
Mar 8, 2015, 5:12:44 PM3/8/15
to home-assi...@googlegroups.com
Support for Home Assistant is still very much in the early stages. We currently only support sensors.

The easiest way to play with Z-Wave in Home Assistant is currently to use the Docker container. I have no experience if that is even possible to run on a Pi.

Without Docker:
To get started you will have to build the Python Z-Wave extension. To build it, run the script scripts/build_python_openzwave. I wouldn't be surprised if you get some errors about missing packages. If that's the case, you can have a look at how the Docker container installs it:

apt-get update && \
    apt-get install -y cython3 libudev-dev python-sphinx python3-setuptools mercurial && \
    pip3 install cython && \
    scripts/build_python_openzwave

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/4f76f2cb-d33e-42e1-bc63-9853a94d76ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
It's nice to be important but it's more important to be nice.

Dennis Koot

unread,
Mar 16, 2015, 8:53:13 AM3/16/15
to home-assi...@googlegroups.com
the build script was not much of a problem, and the python z-wave extension is compiled and seems to work

in the config i simply put
zwave:
  usb_path: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0

this seems to detect the zwave-usb-stick and initialize the network
in the log i see node_id 1 and 4, 1 is the stick and 4 is the 3-channel energy meter
for node 4 there are 4 value_id's which are logged, i suspect a battery and 3 energy meters.

now how can i get these sensors visible in home-assistant?
i did some trial-and-error with the config file, but i can't seem to get the sensors visible

zwave:
  usb_path: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
  network: 0x014cdfa6
  sensors:
    - node_id: 4
      value_id: 72057594110033986
  nodes:
    - node_id: 4
      value_id: 288230376223817794
 
sensor:
  platform: zwave
  resources:
    - node_id: 4
      value_id: 72057594110033986
  nodes:
    - node_id: 4
      value_id: 288230376223817794

what am i missing here?

or is it just that the meter type is not supported?

Op zondag 8 maart 2015 22:12:44 UTC+1 schreef Paulus Schoutsen:
Support for Home Assistant is still very much in the early stages. We currently only support sensors.

The easiest way to play with Z-Wave in Home Assistant is currently to use the Docker container. I have no experience if that is even possible to run on a Pi.

Without Docker:
To get started you will have to build the Python Z-Wave extension. To build it, run the script scripts/build_python_openzwave. I wouldn't be surprised if you get some errors about missing packages. If that's the case, you can have a look at how the Docker container installs it:

apt-get update && \
    apt-get install -y cython3 libudev-dev python-sphinx python3-setuptools mercurial && \
    pip3 install cython && \
    scripts/build_python_openzwave
On Sat, Mar 7, 2015 at 11:35 PM, Balrog <rickard...@gmail.com> wrote:
Hi,
Anyone that have some walk-through how to setup Aeons labs usb stick for Z-wave?
I have just installed home assistant on my raspberry pi.

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.

Dennis Koot

unread,
Mar 16, 2015, 10:30:24 AM3/16/15
to home-assi...@googlegroups.com
i saw on github that there were some updates to zigbee so i updated my source and recompiled python_zwave

now i see that the sensors get added to home-assistant.
i removed most of the configuration file, and it still works, so that's solved. :-)

now i'm only looking for a way to change the friendly_name...

Paulus Schoutsen

unread,
Mar 16, 2015, 4:39:07 PM3/16/15
to home-assi...@googlegroups.com
Friendly names are based on the device name. Have a look at the ozcfg_*.xml file in your config dir.

Paulus

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.

To post to this group, send email to home-assi...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Malte Deiseroth

unread,
Mar 17, 2015, 3:47:15 PM3/17/15
to home-assi...@googlegroups.com
Since Z-Wave support is fairly new, I assume Feedback is appreciated. 
I must say, I'm completely overwhelmed by the simplicity of the setup. 

As usb stick, I use the Aeon Labs Z-Stick since it was used for the development.
It took some time till I understood how the paring works. So here some advises if people have problems.
First you MUST unplug the stick from the pc. Then push its button once to put it into paring mode. It should start blinking now. Next is you sensor, here you often have to press the button 3 times to put it into paring mode. (read the manual). If the pairing is successful, the led of the usb stick should flash continuously for a duration of three seconds. This way you know it worked. The next step is to put you USB stick back into you pc and restart Home-Assistant. Restarting home assistant will only work, if you configured it like Dennis suggested wit:
zwave:
  usb_path: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
otherwise you might have to restart the pc, since /dev/ttyUSB0 might still be blocked.

The first sensor I integrated, was the Fibaro motion sensor. The temperature sensor is working. Same hold for the motion and light sensor. The manual says there is also an earth quake sensor, but this I haven't seen yet. Also I have doubts in the numbers returned from the temperature sensor they seem to be quite off.

The next thing was the Fibaro Wall Plug. Here of course only the measurement of the current power draw is working, since plugs are not yet supported via home assistant. A thing with the power consumption is, that the precision is ridiculous high. It claims to know the consumption with an accuracy of 10^-14W witch I do not believe ;). Maybe one should round here after the first digit.

I also tried to integrate a flood sensor but this seems not to be supported by Home-Assistant. In the config/OZW_Log.txt this sensor is already seen, but not via the webinterface. Since it is an sensor I'm not sure if this is normal.

Paulus Schoutsen

unread,
Mar 18, 2015, 11:56:10 PM3/18/15
to home-assi...@googlegroups.com
Thanks for the feedback, greatly appreciated! 

I have just pushed a commit to the dev branch that will round decimal numbers from sensors. If it is a temperature to 1 fraction, otherwise 2.

Currently HA only integrates command classes 48 and 49. So it depends on how the flood sensor works if it is supported. For example, the motion detection in my Aeon multi sensor is a binary switch in Z-Wave world. I wouldn't be surprised if your flood detector is the same.



--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Kamil Madac

unread,
Jan 7, 2016, 3:12:09 AM1/7/16
to Home Assistant Dev
I have multiple Z-Wave sensors (all are same type) and I would like to give them names according to theit location in house. I tried to change ozcfg xml file, but after HA restart, file is generated from zero, names are deleted from file and in HA I have again just predefined names. Is it possible to change that friendly name somehow?


On Monday, March 16, 2015 at 9:39:07 PM UTC+1, Paulus Schoutsen wrote:
Friendly names are based on the device name. Have a look at the ozcfg_*.xml file in your config dir.

Paulus
On Mon, Mar 16, 2015 at 7:30 AM, Dennis Koot <kot...@gmail.com> wrote:
i saw on github that there were some updates to zigbee so i updated my source and recompiled python_zwave

now i see that the sensors get added to home-assistant.
i removed most of the configuration file, and it still works, so that's solved. :-)

now i'm only looking for a way to change the friendly_name...

--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.

To post to this group, send email to home-assi...@googlegroups.com.

Adam Dobson

unread,
Jan 27, 2016, 2:55:01 PM1/27/16
to Home Assistant Dev
Hi

You can set friendly names for z-wave in the same way as other devices using "customise:" 

homeassistant:

  customize:
    light.unknown_type0003_id0062:
      friendly_name: Ceiling Light

    sensor.aeon_labs_unknown_type0002_id0064_temperature:
      friendly_name: Temperature

    sensor.aeon_labs_unknown_type0002_id0064_burglar:
      friendly_name: Motion
      icon: mdi:run

Adam

Kamil Madac

unread,
Jan 28, 2016, 2:46:50 AM1/28/16
to home-assi...@googlegroups.com
Hi Adam,

Great, I will try it as soon as I will be at home.

Thank you :)

To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.

To post to this group, send email to home-assi...@googlegroups.com.



--
It's nice to be important but it's more important to be nice.

--
You received this message because you are subscribed to a topic in the Google Groups "Home Assistant Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/home-assistant-dev/vsqvCyCUsfQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to home-assistant-...@googlegroups.com.

To post to this group, send email to home-assi...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages