Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register
Comfort Automation/ Security System Forums > Third Party (interfacing to Comfort) > Zwave > UCM/Zwave Firmware > Problem programming a response to access a second UCM/Z-Wave

Problem programming a response to access a second UCM/Z-Wave
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Feb 15th, 2017 06:57 pm
   PM  Quote  Reply 
1st Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

I have two (experimental) Z-Wave networks each with their own UCM/Z-Wave.

UCM02 is part of a Vera Edge network and UCM03 is part of a Fibaro network. Both UCMs have learnt the devices in their respective networks and those devices correctly appear in the Z-Wave mapping screens in Comfigurator Modules.

When I try to write a response to perform a basic get or set command for a Z-Wave device, if the UCM Name is set to UCM02 (default) then the Devices that appear in the Device IDs pop-up are correctly the ones for the UCM02 network. However, if I change the UCM Name to UCM03, then the devices that appear are again the UCM02 network devices, not the UCM03 network devices.

I can work round the problem by adding a command for UCM02 then manually editing the response or the action codes changing the UCM number and the deviceID but clearly it would be nicer if Comfigurator displayed the correct Device IDs.

I am using Comfigurator V3.11.10.0



 Posted: Thursday Feb 16th, 2017 06:43 am
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

We will take note of the problem in Comfigurator. It did not expect there to be 12 Zwave networks in a single system

However I suggest that you use the nwerer method of mapping flags sensors and counters to each zwave node rather than sending comands to Zwave
This alows you to send commands by setting andc clearing flags, or writing values into counetrs



 Posted: Thursday Feb 16th, 2017 01:36 pm
   PM  Quote  Reply 
3rd Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

OK I will do that. That you for your prompt response.



 Posted: Thursday Feb 16th, 2017 09:09 pm
   PM  Quote  Reply 
4th Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

Am I right in thinking that if I map a counter or flag or sensor to a Comfort Z-Wave virtual node then any change in the counter or flag or sensor will only be discovered by the Z-Wave primary controller when it polls the virtual node? If so, is there a more immediate way of telling Z-Wave that a Comfort sensor for example has changed value? (The underlying task is to run a Z-Wave scene when Comfort detects it's getting dark.)



 Posted: Friday Feb 17th, 2017 06:21 am
   PM  Quote  Reply 
5th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Yes the change in state of the virtual node is discovered by a zwave controller via polling

But if it is not a virtual node, ie if the zwave node is mapped to counter or flag, then changing the counter ior flag immediately sends the command to the mapped zwave node. It has the same effect as using a response to send the command to the node

For your application ie sending to zwave when it is dark, you do not nbeed to use a virtual node, just ,ap to Sensor in Zwave to Comfort

Virtual Node is for sending commands to Comfort
I hope this is not too confusing



 Posted: Friday Feb 17th, 2017 09:31 pm
   PM  Quote  Reply 
6th Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

Thank you for your explanation. I would like several Z-Wave lights to come on at dusk as detected by the Comfort sensor. I guess I could map them all to the same sensor but I like them to come on at slightly different times. That's why I wanted to tell the Z-Wave controller that it had got dark and run a scene to control the lights.

Having replaced my X10 device control with Z-Wave I'm really just exploring how much should be done by Comfort and how much by the Z-Wave primary controller.



 Posted: Saturday Feb 18th, 2017 06:51 am
   PM  Quote  Reply 
7th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

You could get them to come on at diferent times by mapping them to diferent flags, and turn on the flags at different times, by using a timer activated by Sunset response. There is also a sunset time offset



 Posted: Sunday Feb 19th, 2017 01:41 pm
   PM  Quote  Reply 
8th Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

Yes I did that sort of thing when I was using X10 to control devices.

A different related problem: When I try to "Write to EEPROM" on UCM02 it says "UCM02 on not a UCM/Z-Wave" even though it's listed as such and the Z-Wave mapping is correctly shown. "Write to EEPROM" on UCM03 works fine. Perhaps this is another consequence of having two UCM/Z-Waves?

Hopefully I will transfer everything to just one Z-Wave network shortly so should then be OK. Do the UCMs have to have sequential IDs?



 Posted: Monday Feb 20th, 2017 06:33 am
   PM  Quote  Reply 
9th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

yes it looks like Comfigurator is confused with hjaving 2 Zwave IDs

The IDs need not be contiguous but that would cause a ciommunucations failure iwth the missing ID



 Posted: Wednesday Feb 22nd, 2017 12:51 am
   PM  Quote  Reply 
10th Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

I have removed UCM02 and scanning now reveals just UCM01 and UCM03. I have downloaded the configuration to Comfort and it reports Communication failure on UCM02 in the Event Log. I presume from your last reply that I have to change the UCM/Z-Wave in use to have ID = 2 to get rid of the communication error. Can I just change the DIP on the UCM board or must I exclude it from the Z-Wave network, change the ID and then include again?



 Posted: Wednesday Feb 22nd, 2017 06:53 am
   PM  Quote  Reply 
11th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

You can just change the ID and reset the UCM or Comfort. It should not affect the zwave mapping.
Then do Scan for Modules again so Comfigurator can see that the ID has changed to 2
It may show a blank Zwave mapping (not sure abbout this), but if that is the case do a Read from EEPROM which will load the parameters from the UCM/Zwave

If you have used mapping to Flags and Counters then no other changes are needed
If you have used the zwave actions, check that the name reference to the UCM still works after your change of ID



 Posted: Wednesday Feb 22nd, 2017 07:39 pm
   PM  Quote  Reply 
12th Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

I unplugged the UCM03 hardware, changed ID to 2 (from 3).). Replugged and rescanned. Comfigurator now thinks it's ID=2 but still called UCM03. Mapping intact. I then downloaded config to Comfort. Communication errors cleared. Doesn't seem to be any way of changing name. All seems to be working as expected with communication between Comfort and Z-Wave but 2 minor problems:
1) When I Rt Click on "UCM03" in the UCM Properties screen, the pop-up does not include "Show References"
2) After changing the mapping and downloading to Comfort, Comfigurator displays "The configuration for module UCM03 has changed . . ." When I click on "Yes" I get the error "UCM 2 is not a UCM/Z-Wave". However, clicking on Write to EEPROM works correctly.



 Posted: Thursday Feb 23rd, 2017 06:52 am
   PM  Quote  Reply 
13th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

You can change the name of the UCM
click on the UCM folder on the left.
On the right pane you will see the 2 UCMs
select the 2nd one and change the name on the right pane as shown in the attached screenshot. Do not  select the UCM ID2 on the left pane

In the screenshot, if there are references, then the UCM/Zwave will appear in Blue
But  references means you have actions referencing the UCM/Zwave. If uou map to flags and counters and sensors there will be no references

I am not sure abnnout the last item. When you save and open the file again do you get the same error?

Attachment: Capture.JPG (Downloaded 21 times)



 Posted: Thursday Feb 23rd, 2017 03:53 pm
   PM  Quote  Reply 
14th Post
AdrianL
Member
 

Joined: Friday May 2nd, 2008
Location: West Sussex, UK
Posts: 64
Status: 
Offline

  back to top

Thank you for your help. I was looking in the wrong place to change the name and see the responses though in my defence if I click on UCM02 in the left pane and then click on Name under the UCM properties, the help at the bottom suggests a right click will allow seeing references.

Re the second problem, saving the configuration and re-loading triggers the dialog about writing to EEPROM and clicking YES works OK. It's only when the dialog is triggered by a download to Comfort that the error message appears.



 Current time is 06:24 am
Comfort Automation/ Security System Forums > Third Party (interfacing to Comfort) > Zwave > UCM/Zwave Firmware > Problem programming a response to access a second UCM/Z-Wave
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems