Raspberry Pi 3, Aeotec Z-Stick Gen5, Z-Wave

378 views
Skip to first unread message

John Adams

unread,
Jul 12, 2017, 7:51:22 PM7/12/17
to OpenRemote
Openremote does not find the z-Wave devices bound to the z-Stick (Raspberry Pi 3, Aeotec Z-Stick Gen5, Z-Wave ).
If I plug the stick into OpenHab on a different Raspberry PI it finds the devices.
The devices are only bound to the z-Wave stick. 
In the Building Modeler -> Config for Controller -> z-wave I set the comport to /dev/ttyACM0
What am I missing?

orct...@gmail.com

unread,
Jul 12, 2017, 11:07:22 PM7/12/17
to OpenRemote
Can you send the boot up log? Usually if there is communications between the controller and the z-stick you should see messages

Also look at the zwave.log file to see if it is recognizing node 1

Rainer Hitz

unread,
Jul 13, 2017, 7:27:57 AM7/13/17
to OpenRemote
Note that the Z-Wave interface is not initialized if there are no Z-Wave commands. It's sufficient to define the Z-Wave command SECURE_INCLUSION_MODE_STATUS in the OpenRemote online Designer (see Z-Wave Device Inclusion & Exclusion).

After you've added one Z-Wave command (e.g SECURE_INCLUSION_MODE_STATUS) you should see something like the following in the Z-Wave log :

INFO 2017-07-13 13:24:49,967 (Z-Wave):


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


 
OpenRemote Z-Wave protocol version : '3.2.2-Beta2'


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


DEBUG
2017-07-13 13:24:50,356 (Z-Wave): Connection_Manager          : Adding shutdown hook to manage unclosed Z-Wave connections in case of controller exit.
INFO
2017-07-13 13:24:50,398 (Z-Wave):  Serial_Port                 : Opening the serial port [COM port: /dev/ttyACM0, Communication Layer: RXTX]...
INFO
2017-07-13 13:24:50,449 (Z-Wave):  Serial_Port                 : The serial port [COM port: /dev/ttyACM0, Communication Layer: RXTX] has been successfully opened.


John Adams

unread,
Jul 14, 2017, 4:12:50 PM7/14/17
to OpenRemote
Thanks
I now see 4 out of the 5 devices
It is not seeing my thermostat


Also if I turn off a switch manualy it does not update the U.I.

I set up the on off and status commands

orct...@gmail.com

unread,
Jul 14, 2017, 9:23:03 PM7/14/17
to OpenRemote
What model of thermostat at you using? I recently bought CT101 and not able to get it to connect.

With regards to wall switch, most of them don't send zwave status update when toggled manually. I have setup a polling rule to pole the status of the switch every 3 mins so it gets updated on the UI with a worst delay of 3 mins

Rainer Hitz

unread,
Jul 15, 2017, 8:24:52 AM7/15/17
to OpenRemote
I could imagine that the so called association from the switch to the controller is missing. In the nodeX.xml file of the switch you should see something like the following in the <configuration> section :


<node id="6">
  ...
  ...
 
<configuration hash="FA035ACF6EC2AF7CD89543A422425087">
   
<associations>
     
<association-group id="1" capacity="5" />
       
<association>
         
<node>1</node>
       
</association>
     
</association-group>
   
</associations>
    ...
    ...
 
</configuration>
</node>

If the association is missing you have to add it manually (see Association Configuration).

Note that there are switches that do not support so called 'Instant Update' because of a Lutron patent. In this case you could poll the switch status that means you have to  execute the 'STATUS' command periodically by means of a rule.

What type of thermostat do you have ?

John Adams

unread,
Jul 16, 2017, 10:30:17 PM7/16/17
to OpenRemote
ends up when I looked at each nodeX.xml I was missing a switch not my thermostat. I copied and renamed a NodeX.xml switch file, guessed at an id  and set the has to "" until the light works.

so far so good.
I just need to set up the thermostat.

Thanks for the help

orct...@gmail.com

unread,
Jul 17, 2017, 7:51:48 AM7/17/17
to OpenRemote
Which model of thermostat are you using? Would love to know how it works out for you. Keep us posted.

John Adams

unread,
Jul 17, 2017, 11:38:13 PM7/17/17
to OpenRemote


On Monday, July 17, 2017 at 5:51:48 AM UTC-6, orct...@gmail.com wrote:
Which model of thermostat are you using? Would love to know how it works out for you. Keep us posted.

Here is the NodeX.xml
It is a 2GIG CT-30 Radio Thermostat Z-Wave
I set the ON, OFF, STATUS command and STATUS sensor to a switch
using the following commands
THERMOSTAT_MODE_OFF
THERMOSTAT_MODE_HEAT
STATUS_THERMOSTAT_FAN_MODE

it will turn on but not off and will not register the status.
Have not tried to set the temperature yet

John Adams
Node7.xml

Rainer Hitz

unread,
Jul 18, 2017, 8:57:47 AM7/18/17
to OpenRemote
1.) Create the following commands :

SET_THERMOSTAT_MODE_OFF
SET_THERMOSTAT_MODE_HEAT
SET_THERMOSTAT_MODE_COOL

STATUS_THERMOSTAT_MODE_OFF
STATUS_THERMOSTAT_MODE_HEAT
STATUS_THERMOSTAT_MODE_COOL

SET_SETPOINT_TYPE_HEATING_SCALE_CELSIUS
SET_SETPOINT_TYPE_HEATING_SCALE_FAHRENHEIT

STATUS_SETPOINT_TYPE_HEATING_SCALE_CELSIUS
STATUS_SETPOINT_TYPE_HEATING_SCALE_FAHRENHEIT

2.) Create the following 'switch' sensors :

STATUS_THERMOSTAT_MODE_OFF
STATUS_THERMOSTAT_MODE_HEAT
STATUS_THERMOSTAT_MODE_COOL

3.) Create the following 'range' sensors :

STATUS_SETPOINT_TYPE_HEATING_SCALE_CELSIUS
STATUS_SETPOINT_TYPE_HEATING_SCALE_FAHRENHEIT


4.) Create the following 'sliders' :

SET_SETPOINT_TYPE_HEATING_SCALE_CELSIUS
STATUS_SETPOINT_TYPE_HEATING_SCALE_CELSIUS (Range Sensor)

SET_SETPOINT_TYPE_HEATING_SCALE_FAHRENHEIT
STATUS_SETPOINT_TYPE_HEATING_SCALE_FAHRENHEIT (Range Sensor)

5.) Create the following switches :

STATUS_THERMOSTAT_MODE_OFF (Switch Sensor)
SET_THERMOSTAT_MODE_OFF (On Command)
SET_THERMOSTAT_MODE_OFF (Off Command)

STATUS_THERMOSTAT_MODE_HEAT (Switch Sensor)
SET_THERMOSTAT_MODE_HEAT (On Command)
SET_THERMOSTAT_MODE_HEAT (Off Command)

STATUS_THERMOSTAT_MODE_COOL (Switch Sensor)
SET_THERMOSTAT_MODE_COOL (On Command)
SET_THERMOSTAT_MODE_COOL (Off Command)

The on/off command configuration for the switches looks a bit weird because the on/off command is the same but the mode-switches work like radio buttons.

John Adams

unread,
Aug 8, 2017, 1:51:42 AM8/8/17
to OpenRemote
finally got around to trying it.
Works great.

I'm using BATTERY to get info on the battery.
Do you know the range?
Thanks

orct...@gmail.com

unread,
Aug 8, 2017, 8:31:31 AM8/8/17
to OpenRemote
I usually useless it as a level sensor- reports back as a % from 0 to 100
Reply all
Reply to author
Forward
0 new messages