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
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...
Damm I am trying to get this working with a Arduino pro mini ,,but no luck wanted to use it in the car ..
How do you wire the NRF24L01+ ???
N-Channel Mosfet s ??? model number please any help much appreciated
I have tried mosfets >>>irf510n
@gohan
Yes, they are/were.
Alas, case solved... I have lost a line of code somehow. Which in this case meant that
presentation was done correctly but these "missing values" were never actually sent,
thereby keepin Domoticz from accepting them (seems every parameter to be recognized
must actually have been sent once).
Anyway, sorry for bothering You and thanks again,
Christoph
I have created a topic in the forum before, with tcpdump examples.
http://www.domoticz.com/forum/viewtopic.php?f=6&t=6112
But the problem is still there, hopefully soon fix.
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
@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