Copy Real Sensor data directly to Virtual Sensor

Moderator: leecollings

Post Reply
k4mrat
Posts: 1
Joined: Saturday 06 April 2019 12:28
Target OS: -
Domoticz version:
Contact:

Copy Real Sensor data directly to Virtual Sensor

Post by k4mrat »

Hey!
New user and really noob at Domoticz.
I pipe a bunch of 433 devices from Domoticz (RFLink) to my Homey. I have a problem with a bunch of sensors showing up wrong in Homey, and this seems to be a problem with that app.

But, I can workaround this if I could just figure out how to copy my real sensor values to a Virtual Sensor and display the Virtual Sensor in Homey, because the Virtual Sensor displays correctly but without any data in them.

I’ve tried using parts of different LUA-scripts copying WU to Virtual Sensors but I just can’t get anything I do to work.

If anyone could show me how to copy, for example, all data from IDX70 (real) to IDX71 (Virtual) I would be forever grateful! It’s primarily Temp and Hum that’s interesting, since Rain sensors seems to work as they should.
kimot
Posts: 105
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: Copy Real Sensor data directly to Virtual Sensor

Post by kimot »

Use DZVents with triger on device status.

But different sensors have got different methods for getting and setting data, so answer cannot be universal.
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest