Copy value from Rfxcom sensor to virtual sensor

Post Reply
cozmo
Posts: 3
Joined: Wednesday 15 March 2017 10:41
Target OS: Linux
Domoticz version:
Contact:

Copy value from Rfxcom sensor to virtual sensor

Post by cozmo » Wednesday 15 March 2017 11:07

First forum post - Migrating from Switchking to Domoticz :)

I have a modified Viking temperature sensor (lets call it modViking) which actually measures the amount of light. It shows up in Domoticz (via Rfxcom) as a temperature sensor. Everytime it changes value, I want to copy its value to a virtual sensor (which is defined as a solar sensor named "outsideLUX"). I thought this should be easy in Blockly, but since I am new to this I am missing something.

In Blockly I am thinking:

if modified modViking # how to express this in Blockly?
do set outsideLux = modViking

Any hints appreciated :-)

--domotics-noob :roll:

cozmo
Posts: 3
Joined: Wednesday 15 March 2017 10:41
Target OS: Linux
Domoticz version:
Contact:

Re: Copy value from Rfxcom sensor to virtual sensor

Post by cozmo » Wednesday 15 March 2017 15:24

Figured out how to do this with LUA, so no biggie how to blockly this.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests