Page 1 of 1

Z-Uno: Trying to send Multi-level sensor report to Eurotronic Spirit TRV

Posted: 31 Dec 2018 03:05
by morgano1
I have just started with Z-Uno, although I have been using Z-wave for some time.

I am trying to achieve quite a simple task, but I am having trouble, and I suspect that it may not be possible at the moment with the Z-Uno.

I would like to connect a temperature sensor to the Z-Uno (e.g. DS18B20) and send the temperature reports from this to a Eurotronic Spirit TRV i.e. use the Z-Uno as an external temperature provider for the Spirit.

The Spirit can be configured to accept multi-level sensor reports by Association (rather than using its own internal sensor), although these cannot be 'endpoint encapsulated'.

As far as I can see in the docs, there doesn't appear to be a method for sending multilevel sensor messages by Association (only on/off, or dimmer commands).

Can anyone confirm this?

Also, if this is not available as a 'high-level' option, is it possible to send raw data to an address? I know the sequence of bytes that I need to send in the message, but there does not appear to be a 'raw data send' type of command either.

Any comments/observations/guidance would be greatly appreciated!

Re: Z-Uno: Trying to send Multi-level sensor report to Eurotronic Spirit TRV

Posted: 01 Jan 2019 13:03
by PoltoS
You need to set up simple Association (group #1) to Eurotronic. This will produce simple (non-channaled) reports.

Re: Z-Uno: Trying to send Multi-level sensor report to Eurotronic Spirit TRV

Posted: 25 Feb 2019 14:30
by morgano1
PoltoS wrote:
01 Jan 2019 13:03
You need to set up simple Association (group #1) to Eurotronic. This will produce simple (non-channaled) reports.
Looking at the Reference guide - there doesn't appear to be any way to send Temperature readings (Multi-level sensor) using an Association group. If I am misunderstanding something please could you elaborate?

Code: Select all

 ZUNO_SETUP_ASSOCIATIONS(ControlGroupType_1, ControlGroupType_2,...) ControlGroupType_n Type of group defines which commands will be sent to distant devices in the network. There is only three possible types available:

    ZUNO_ASSOCIATION_GROUP_SET_VALUE — send switch on/off commands (using Basic Command Class) to devices in Z-Wave network by calling zunoSendToGroupSetValueCommand()
    ZUNO_ASSOCIATION_GROUP_SET_VALUE_AND_DIM — send dimming commands (using Switch Multilevel Command Class) to devices in Z-Wave network by calling zunoSendToGroupDimmingCommand(). You can also use zunoSendToGroupSetValueCommand() for devices in this group to send switch on/off commands (using Basic Command Class).
    ZUNO_ASSOCIATION_GROUP_SCENE_CONTROL — send scene activation commands (using Scene Activation Command Class) to devices in Z-Wave network by calling zunoSendToGroupScene()
    ZUNO_ASSOCIATION_GROUP_DOORLOCK — send door lock open/close commands (using Door Lock Command Class) to devices in Z-Wave network by calling zunoSendToGroupDoorlockControl()
[/i]

Re: Z-Uno: Trying to send Multi-level sensor report to Eurotronic Spirit TRV

Posted: 26 Feb 2019 10:03
by petergebruers
I think PoltoS is trying to say this: A Z-Uno always has a group 1 - you do not need to add or change any code. So on your controller, please navigate to the Z-Uno and find the button or menu to change associations. Then add the Spirit as a "single channel association" (not "multi") to group 1 and the Z-Uno will automatically only send non-encapsulated reports. I cannot be more specific because each gateway has different menu's and screens to do that.

Re: Z-Uno: Trying to send Multi-level sensor report to Eurotronic Spirit TRV

Posted: 11 Mar 2019 17:20
by aleconakad
I find this solution a bit dangerous because associating the Spirit to Z-Uno group 1 will not only send the Multilevel_Sensor_Report to it, but also all other defined channels in your Z-uno sketch.
Please note that the Spirit supports Basic CC as follows:
0x00 Energy Save Heating
0x0F OFF No Heating. Only Frost-protection
0xF0 Full Power Heating
0xFE Manufacturer Specific
0xFF Heating Switches into comfort heating mode.

So in case your Z-uno has one Basic channel defined for other purposes (let's say to control a light or a dimmer), you might expect strange behaviors on the Spirit thermostat.

Best to have dedicated group that sends Multi-Level Sensor reports, which unfortunately not available in 2.1.4. Let's hope that this gets introduced in 2.1.5.

Re: Z-Uno: Trying to send Multi-level sensor report to Eurotronic Spirit TRV

Posted: 12 Mar 2019 23:06
by PoltoS
The thermostat is supposed to ignore the Basic Report. So it is safe.

There would be no reports group bin 2.1.5.

But as a last resort you can send any packet from Z-Uno.

Re: Z-Uno: Trying to send Multi-level sensor report to Eurotronic Spirit TRV

Posted: 13 Mar 2019 18:37
by aleconakad
Right, I've confused between BASIC_SET and BASIC_REPORT.
Thanks