Get date from Domoticz into Node
How can i take the data from a dimmer position out of Domoticz from my node, so i can use it to control a Mosfet.
I tried without luck..
request( Dimvalue, V_DIMMER );
but think its not that simple...
kind regards Rene
Request is the way to go as far as i know. You also need to implement the method handling incoming messages though to work with the answer. There are some threads about requesting values from domoticz in this forum. (Haven't read them) but imo there are some values that can't be requested from domotizc so better check that and maybe change the variable type.