Remote control for Danfoss living connect

Discussions about existing Z-Wave device and their usage with Z-Way/Z-Cloud/Z-Box
LAN-Opfer
Posts: 98
Joined: 03 Oct 2014 13:23

Re: Remote control for Danfoss living connect

Post by LAN-Opfer »

...the bracket of Poltos Code was right - so it is

zway.devices[5].ThermostatSetpoint.data[1].val.bind
(
function()
{
zway.devices[4].ThermostatSetpoint.Set(1, this.value);
}
)

but I have also no sucess with this code :-(

Uwe
Z-Way v2.0.1-rc18 on Raspberry Pi
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Remote control for Danfoss living connect

Post by pofs »

Is the data update really coming from SRT? Check the log.
Also it is a good idea to check event type in bound function before calling set on DLC.
LAN-Opfer
Posts: 98
Joined: 03 Oct 2014 13:23

Re: Remote control for Danfoss living connect

Post by LAN-Opfer »

...I added a sensor log and could finf 2 log-files.
But it tells me nothing :oops:

Uwe
Attachments
log.rar
(1.59 KiB) Downloaded 406 times
Z-Way v2.0.1-rc18 on Raspberry Pi
LAN-Opfer
Posts: 98
Joined: 03 Oct 2014 13:23

Re: Remote control for Danfoss living connect

Post by LAN-Opfer »

...any tips, how could solve the problem?
Z-Way v2.0.1-rc18 on Raspberry Pi
LAN-Opfer
Posts: 98
Joined: 03 Oct 2014 13:23

Re: Remote control for Danfoss living connect

Post by LAN-Opfer »

now I did an update to V1.7.2. I found now the sensor logging file "SensorValueLoggingZWayVDev5049115-aced4b353f6673cac5645a919fb5a0a5":
{"deviceId":"ZWayVDev_5:0:49:1","deviceName":"Sensor 5:0:49:1","sensorData":[{"time":1413115295949,"value":21},{"time":1413115295997,"value":21},{"time":1413177901955,"value":20},{"time":1413177902004,"value":20},{"time":1413178357963,"value":19},{"time":1413178358185,"value":19},{"time":1413178921982,"value":18},{"time":1413178922026,"value":18},{"time":1413182516098,"value":19},{"time":1413182516151,"value":19},{"time":1413189692336,"value":20},{"time":1413189692390,"value":20}]}
But what I see are the not the setpoint values - I think there are the actual temperature values from the SRT321.
How could I log the setpoint values?
The script does not fit any more :-(

Uwe
Z-Way v2.0.1-rc18 on Raspberry Pi
LAN-Opfer
Posts: 98
Joined: 03 Oct 2014 13:23

Re: Remote control for Danfoss living connect

Post by LAN-Opfer »

I tried some code with Chrome, installed on my pc:
http://192.168.178.46:8083/ZWaveAPI/Run ... al.value))

the code transferred the setpointvalue from SRT321 (ID 5) to Danfoss LC (ID 4) - but only one time, as expected.

I tried
http://192.168.178.46:8083/JS/Run/zway. ... oint.Set(1, this.value);});

But I get only the Report:
function (){zway.devices[4].ThermostatSetpoint.Set(1, this.value);}

I think it's missing a little something to aim - but I could not find it :( :?:

Uwe
Z-Way v2.0.1-rc18 on Raspberry Pi
LAN-Opfer
Posts: 98
Joined: 03 Oct 2014 13:23

Re: Remote control for Danfoss living connect

Post by LAN-Opfer »

I was probably blind - I changed ThermostatSetpoint in ThermostatSetPoint (P upper case) and know it works :-)))
Z-Way v2.0.1-rc18 on Raspberry Pi
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Remote control for Danfoss living connect

Post by PoltoS »

What is in the log when you are turning the wheel on SRT??
LAN-Opfer
Posts: 98
Joined: 03 Oct 2014 13:23

Re: Remote control for Danfoss living connect

Post by LAN-Opfer »

I only could find the sensor-logging - but it is not possible to log the setpoint, only the actual value.
Your script works now - it was my mistake.
But of course I want more - I would like to make an automatic temperature reduction at certain times.
I was hoping to find here the right:
viewtopic.php?f=3419&t=20601&p=52766#p52766

Uwe
Z-Way v2.0.1-rc18 on Raspberry Pi
Karsten
Posts: 34
Joined: 09 May 2016 20:06

Re: Remote control for Danfoss living connect

Post by Karsten »

Hi,
thanks for that discussion. Had a similar issue and did some progress with the information above.
But unfortunately it still is not solved in my case.
please see viewtopic.php?f=3423&t=23233
Any help appreciated...
Post Reply