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
@esfnl said in RPi 3 with Domoticz and RF-link (RFXcom) 'TSP-fail':
MySensors is supported
MySensors is supported if you connect an NRF24 to the RFXCom as instructed in the link, did you ?
As explained, it can only receive information, so as you seem to have no gateway to assign node ID you will need to define your nodes as passive nodes and hard code node id :
#define MY_PASSIVE_NODE
#define MY_NODE_ID 2
#define MY_PARENT_NODE_IS_STATIC
#define MY_PARENT_NODE_ID 0
To summarize:
I have the serial gateway now attached to the RaspberryPi which is running domoticz (Beta 2.2339) and it detected the humidity node right away. Both are compiled using the Master branch. I have 4.7uF capacitors between VCC and ground, but not sure if I actually need them. I just pulled them out and it still works flawlessly. Distance is only 20cm though since it is all on my desk. The arduinos I use are Buono UNO clones which have more amp output on the 3.3V rail (200ma).
If I try to use the serial gateway from the dev branch, I need to do one fix to get it compiled:
//MySigningNone signer;
// Construct MySensors library
MySensor gw(radio);//, signer);
Otherwise it complains (Using MacOS Arduino 1.6.1). But running that code yields no results. The gateway receives (some) messages from the Humidity node but on the Humidity node all messages fail to get ACKs.
I do not know why that is. As I said, I am completely new to mysensors, so I did not have time to look deeper into the code yet.
Shall I open another thread in Troubleshooting? This is not really related to the Domiticz setup anymore...
Hi @GertSanders,
Do you happen to still have the Eagle project files from version 3 you created and shared on OSH Park? I'd like to add a set of pads for the mini smd version of the NRF24L01. If not, I'll just use the version 2 files from openhardware.io and try my best to recreate the changes you made between them.
Kind regards,
AH
@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