Page 1 of 1

Copy value from Rfxcom sensor to virtual sensor

Posted: Wednesday 15 March 2017 10:07
by cozmo
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:

Re: Copy value from Rfxcom sensor to virtual sensor

Posted: Wednesday 15 March 2017 14:24
by cozmo
Figured out how to do this with LUA, so no biggie how to blockly this.