This page last changed on Aug 10, 2015 by manieq.

Hi All,

I want to start my adventure ... and start controlling my home using the Z-Wave network + MacBook or Synology.
Can you please recommend which USB dongle I am supposed to buy. I am hesitant between:

1. AEON Z-Stick Gen5 – promising for the future, but officially not on the support list
2. AEON Z-Stick Gen2 - -well supported, but older technology
3. Zwave.Me - ZME_UZB1 – ??
4. Your pick here ...

I see that the AEON Gen2 is supported by OpenRemote. Has any of you tried the G5 version and can comment?

Thank you very much for your comments.

Cheers,
Manieq

You can buy the Aeotec Z-Stick Gen5 - it's currently not on the list of supported devices but I've already tested it and haven't seen any problems so far.

Posted by rhitz at Aug 11, 2015 07:10

Hi Rainer,

Thanks for your comments.
Can you or others comment if there is any significant difference between the models or maybe which one would you/one choose personally?

From the price POV is:

1. AEON Gen5 : ~77 EUR
2. AEON S2 ?gen2? : ~50 EUR
3. Zwave.Me - ZME_UZB1 : ~35 EUR

I am wondering whether buying the cheapest stick I will be loosing any functionality / struggling with the configuration?

Cheers,
Marian

Posted by manieq at Aug 11, 2015 10:05

IIRC with the Aeon S2 stick you can include devices by just taking the stick to the device to be included and push the button on the stick. That is a really useful feature if you have an extended network.
You can't do that with the UZB1 stick. Both AEON S2 and UZB1 did work well for me. I do expect the Gen5 AEON is fine too. The price difference surprises me, since gen5 devices tended to be cheaper.
The Zwave.me community has reported several problematic gen5 peripheral devices. Some may be due to the Zwave.me control software, but others are problems recognised by the Z-Wave Alliance group. Unfotunately that group does not maintain a list of these ambiguous devices (It is not a consumer organisation!)

Posted by pz1 at Aug 11, 2015 13:57

I personally would prefer the Gen5 (Z-Wave Plus) devices - that means the Aeotec Z-Stick Gen5 and the UZB1. The radio communication of devices with the 500 series chip is faster, range is better and they also support network wide inclusion (NWI).

The Aeotec Z-Stick Gen5 has a hardware button that can be used to include devices to the Z-Wave network. But note that this hardware button cannot be used to include a device that supports the COMMAND_CLASS_SECURITY like a door lock or more and more new Gen5 (Z-Wave Plus) devices. I think that in the future most Z-Wave devices will communicate securely by means of COMMAND_CLASS_SECURITY.

The firmware of the Aeotec Z-Stick Gen5 and the UZB1 can be updated. I have the feeling that Z-Wave.Me is focusing on their own Z-Way controller software. Aeotec seems to me more controller agnostic. As a result one might expect that there will be more updates for the Aeotec Z-Stick Gen5 in the future but there weren't too many updates for the Z-Stick S2 in the past - so this is just guesswork and not based on facts.

Posted by rhitz at Aug 12, 2015 20:12

I have the feeling that Z-Wave.Me is focusing on their own Z-Way controller software.

Not quite correct, UZB1, in contrast to the RaZberry add-on board, is marketed as a cheap generic USB stick. Unlike RaZberry it does not work with their Z-Way software out of the box. For UZB1 you have to purchase a separate Z-Way license. Bare UZB1 sells for around 35 EUR. The UZB1+License goes for around 90 EUR

Posted by pz1 at Aug 13, 2015 08:59

The different forums claim that the simple operations do not require any license. Or do I really need to spend extra money on license to make it work together with OpenRemote.

I just got hold of the ZME_UZB1 and plugged it into my Mac OSX v10.10.x.
The device appears to be discovered correctly however I am not able to make it operational under OpenHardware.
I was following the guides under: http://www.openremote.org/display/docs/Discover+Controller+Z-Wave+Devices
but without success. The files :

logs/zwave/zwave.log
logs/zwave/zwave-debug.log

remain empty when restarting the controller.

Shall I create another thread for my issue?

Posted by manieq at Aug 24, 2015 09:26

I assume that you didn't create a Z-Wave command and a related sensor. The Z-Wave protocol is not initialized if there is no Z-Wave command/sensor. See KNOWN ISSUES section on the following page : New Z-Wave 2.0.0 Release.

You could create the following commands:

INCLUSION_MODE_ON
INCLUSION_MODE_OFF
INCLUSION_MODE_STATUS

EXCLUSION_MODE_ON
EXCLUSION_MODE_OFF
EXCLUSION_MODE_STATUS

and attach a switch sensor to the INCLUSION_MODE_STATUS and EXCLUSION_MODE_STATUS commands. With these commands it's possible to place an inclusion and exclusion switch on a panel in order to include Z-Wave devices to the Z-Wave network or exclude them respectively. You have to do this because the ZME_UZB1 doesn't have a hardware inclusion button like the Aeotec Z-Stick.

After adding these commands you should see something in the Z-Wave log.

Posted by rhitz at Aug 24, 2015 09:46

Thank you very much for your almost immediate answer. Appreciated.

I have created the commands and switches. Please see the attached image.
Looking into the log files I have noticed some ERRORs, though, like:

INFO 2015-08-24 15:24:47,132 : Startup complete.
INFO 2015-08-24 15:28:09,284 :

--------------------------------------------------------------------

  UNDEPLOYING CURRENT CONTROLLER RUNTIME...

--------------------------------------------------------------------

INFO 2015-08-24 15:28:09,285 : Stopped event processor : Drools Rule Engine
INFO 2015-08-24 15:28:09,285 : Stopped event processor : RRD4J Data Logger
INFO 2015-08-24 15:28:09,286 : Stopped event processor : EmonCMS Data Logger
INFO 2015-08-24 15:28:09,286 : Shutdown complete.
INFO 2015-08-24 15:28:09,286 :

--------------------------------------------------------------------

  DEPLOYING NEW CONTROLLER RUNTIME...

--------------------------------------------------------------------

INFO 2015-08-24 15:28:09,308 : No rule definitions found in '/Users/zurek/Desktop/webapps/controller/rules'.
INFO 2015-08-24 15:28:09,308 : Initialized event processor : Drools Rule Engine
INFO 2015-08-24 15:28:09,315 : Initialized event processor : RRD4J Data Logger
INFO 2015-08-24 15:28:09,316 : Initialized event processor : EmonCMS Data Logger
ERROR 2015-08-24 15:28:09,320 : Creating sensor failed. Error : The <include> element in sensor (ID = 107149645) contains an invalid reference identifier. The value is not a valid integer : 19
 XML Element : <sensor xmlns="http://www.openremote.org" id="107149645" name="incl_STATUS" type="switch">
      <include type="command" ref="19" />
      <state name="on" />
      <state name="off" />
    </sensor>
org.openremote.controller.exception.XMLParsingException: The <include> element in sensor (ID = 107149645) contains an invalid reference identifier. The value is not a valid integer : 19
	at org.openremote.controller.model.xml.Version20SensorBuilder.parseSensorEventProducer(Version20SensorBuilder.java:442)
	at org.openremote.controller.model.xml.Version20SensorBuilder.build(Version20SensorBuilder.java:287)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorObjectModelFromXML(Version20ModelBuilder.java:817)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorModel(Version20ModelBuilder.java:663)
	at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:557)
	at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
	at org.openremote.controller.service.Deployer.startup(Deployer.java:872)
	at org.openremote.controller.service.Deployer.softRestart(Deployer.java:454)
	at org.openremote.controller.service.Deployer$ControllerDefinitionWatch.run(Deployer.java:1411)
	at java.lang.Thread.run(Thread.java:695)
ERROR [Controller Definition File Watcher for Default Deployer]: Creating sensor failed. Error : The <include> element in sensor (ID = 107149645) contains an invalid reference identifier. The value is not a valid integer : 19
 XML Element : <sensor xmlns="http://www.openremote.org" id="107149645" name="incl_STATUS" type="switch">
      <include type="command" ref="19" />
      <state name="on" />
      <state name="off" />
    </sensor>
org.openremote.controller.exception.XMLParsingException: The <include> element in sensor (ID = 107149645) contains an invalid reference identifier. The value is not a valid integer : 19
	at org.openremote.controller.model.xml.Version20SensorBuilder.parseSensorEventProducer(Version20SensorBuilder.java:442)
	at org.openremote.controller.model.xml.Version20SensorBuilder.build(Version20SensorBuilder.java:287)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorObjectModelFromXML(Version20ModelBuilder.java:817)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorModel(Version20ModelBuilder.java:663)
	at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:557)
	at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
	at org.openremote.controller.service.Deployer.startup(Deployer.java:872)
	at org.openremote.controller.service.Deployer.softRestart(Deployer.java:454)
	at org.openremote.controller.service.Deployer$ControllerDefinitionWatch.run(Deployer.java:1411)
	at java.lang.Thread.run(Thread.java:695)
ERROR 2015-08-24 15:28:09,338 : Creating sensor failed. Error : The <include> element in sensor (ID = 107149646) contains an invalid reference identifier. The value is not a valid integer : 22
 XML Element : <sensor xmlns="http://www.openremote.org" id="107149646" name="excl_STATUS" type="switch">
      <include type="command" ref="22" />
      <state name="on" />
      <state name="off" />
    </sensor>
org.openremote.controller.exception.XMLParsingException: The <include> element in sensor (ID = 107149646) contains an invalid reference identifier. The value is not a valid integer : 22
	at org.openremote.controller.model.xml.Version20SensorBuilder.parseSensorEventProducer(Version20SensorBuilder.java:442)
	at org.openremote.controller.model.xml.Version20SensorBuilder.build(Version20SensorBuilder.java:287)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorObjectModelFromXML(Version20ModelBuilder.java:817)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorModel(Version20ModelBuilder.java:663)
	at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:557)
	at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
	at org.openremote.controller.service.Deployer.startup(Deployer.java:872)
	at org.openremote.controller.service.Deployer.softRestart(Deployer.java:454)
	at org.openremote.controller.service.Deployer$ControllerDefinitionWatch.run(Deployer.java:1411)
	at java.lang.Thread.run(Thread.java:695)
ERROR [Controller Definition File Watcher for Default Deployer]: Creating sensor failed. Error : The <include> element in sensor (ID = 107149646) contains an invalid reference identifier. The value is not a valid integer : 22
 XML Element : <sensor xmlns="http://www.openremote.org" id="107149646" name="excl_STATUS" type="switch">
      <include type="command" ref="22" />
      <state name="on" />
      <state name="off" />
    </sensor>
org.openremote.controller.exception.XMLParsingException: The <include> element in sensor (ID = 107149646) contains an invalid reference identifier. The value is not a valid integer : 22
	at org.openremote.controller.model.xml.Version20SensorBuilder.parseSensorEventProducer(Version20SensorBuilder.java:442)
	at org.openremote.controller.model.xml.Version20SensorBuilder.build(Version20SensorBuilder.java:287)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorObjectModelFromXML(Version20ModelBuilder.java:817)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorModel(Version20ModelBuilder.java:663)
	at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:557)
	at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
	at org.openremote.controller.service.Deployer.startup(Deployer.java:872)
	at org.openremote.controller.service.Deployer.softRestart(Deployer.java:454)
	at org.openremote.controller.service.Deployer$ControllerDefinitionWatch.run(Deployer.java:1411)
	at java.lang.Thread.run(Thread.java:695)
INFO 2015-08-24 15:28:09,341 : Startup complete.

Additionally I have spotted some issues with the Designer. Shall I report them somewhere / post logs?

Posted by manieq at Aug 24, 2015 14:41

It seems to me that this issue is related to the Desiger.

You could check the file <OpenRemote Controller>/webapps/controller/controller.xml manually if the id="..." and ref="..." attributes make sense to you. If not I'ld suggest that you create a new thread for this issue.

Posted by rhitz at Aug 24, 2015 15:01

I've noticed in your controller.xml that the zwave.pad.port setting is empty. The misleading error messages are caused by this empty setting.

You should edit the zwave.pad.port setting in the Designer so that it looks like the following:

<property name="zwave.pad.port" value="7876" />

I'll create a JIRA issue (see http://jira.openremote.org/) in order to fix this bug.

Posted by rhitz at Aug 26, 2015 09:21

Hi,

Thank you for your verification.
I have spotted two addintionall issues.

1. The z-wave port (zwave.pad.port on composer) is not being correctly synchronised.

2. When manually editing the file: webapps/controller/controller.xml I have spotted another error:

ERROR 2015-08-26 12:50:13,358 : Creating sensor failed. Error : The node '1' is not known by the Z-Wave controller
 XML Element : <sensor xmlns="http://www.openremote.org" id="107149645" name="incl_STATUS" type="switch">
      <include type="command" ref="23" />
      <state name="on" />
      <state name="off" />
    </sensor>
org.openremote.controller.exception.NoSuchCommandException: The node '1' is not known by the Z-Wave controller
	at org.openremote.controller.protocol.zwave.ZWaveCommandBuilder.build(ZWaveCommandBuilder.java:207)
	at org.openremote.controller.command.CommandFactory.getCommand(CommandFactory.java:164)
	at org.openremote.controller.model.xml.Version20SensorBuilder.parseSensorEventProducer(Version20SensorBuilder.java:420)
	at org.openremote.controller.model.xml.Version20SensorBuilder.build(Version20SensorBuilder.java:287)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorObjectModelFromXML(Version20ModelBuilder.java:817)
	at org.openremote.controller.deployer.Version20ModelBuilder.buildSensorModel(Version20ModelBuilder.java:663)
	at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:557)
	at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
	at org.openremote.controller.service.Deployer.startup(Deployer.java:872)
	at org.openremote.controller.service.Deployer.startController(Deployer.java:350)
	at org.openremote.controller.spring.SpringContext.initializeController(SpringContext.java:109)
	at org.openremote.controller.service.ServiceContext.init(ServiceContext.java:427)
	at org.openremote.controller.bootstrap.Startup.loadServiceContext(Startup.java:88)
	at org.openremote.controller.bootstrap.servlet.ServletStartup.initializeServiceContext(ServletStartup.java:195)

Posted by manieq at Aug 26, 2015 11:53
Document generated by Confluence on Jun 05, 2016 09:34