Hello I would like to know if you can connect an lcd to the gateway, print in the lcd the value of a sensor connected to a node so that both the value on the domoticz lcd controller and the lcd. Do you give me an example? thank you all
Do some debug on the node and on gateway and check if data is actually sent from the node and received by gateway. Also use wait instead of sleep if you are using it as a repeater and relay actuator.
After filding around a lot with the MySensor2.0 lib and spending my whole weekend, when I could not get things going I finally switched back to MySensors1.5.4. After that I made quick progress and my node was on network. Here is the link below of a working Dimmer node.
MySensors AC 220v Dimmer with Domoticz – 01:42— S Kumar
@hek
Oh, I didn't know I needed to use both.
Well I tried a million combinations after seemingly reading everything on the subject, and I still couldn't get {int + char + int} converted into a char[] using strcpy and strcat
for some reason my brain is just not wrapping itself around the concept today... maybe I'll come back to it tomorrow.
In the mean time, I tried the following and it worked.
char buf[20];
sprintf(buf, "%d.%d", Alarm1_Time_Local[0], Alarm1_Time_Local[1]);
send(MySensors_MSG_Alarm1_Time.set(buf), true);
I've read that using sprintf increases the size of your sketch... but for now I'm fine with it, since it works and I can move on to being creative and productive.. lol
I had to get domoticz beta version to get scene/group available, can't remember what version I had previously.
Anyway group is exactly what I wanted ....