Copy value from Rfxcom sensor to virtual sensor
Posted: Wednesday 15 March 2017 10: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

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
