I verified a variable named Voltage DOES get created and is set on the Vera arduino node device if I create MyMessage with:
MyMessage voltageMsg(255, V_VOLTAGE);
and send value with:
send(voltageMsg.set(12.1, 1));
@mfalkvidd said in Return value of bool send(MyMessage &msg, const bool ack = false);:
@bilbolodz just to check: are you sure there are no repeaters or other gateways within range?
I've to check more thoroughly but rather not.
I think that @Yveaux refers to my generic threshold library (github). It really makes it easy to add sensors and reporting their values to the gateway.
@Joe13, I am new to DzVents too ... but it is a great opportunity to learn
Have a look into the Domoticz installation folder, can't remember now exactly where but there is a sub-folder with interesting examples, when you start reading these examples you may have a better overall understanding of how DzVents works.
Their wiki is also very usefull:
https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting
Have fun @Joe13 ...