How to connect QUIP300 to Domoticz
-
Hey gohan, thanks - basic sketch will do the job.
I faced another problem. Now i've conected one of the PIR via WemosD1 mini with ESP Easy.
And works very well.
But i would like to connect 3 more sensors.
Power supply for PIR and Wemos is different and there is only one GND pin .
Any idea how to make it? -
Hi Gohan, please see my set up i more details.
Each of PIR is conected to old/not used alarm control panel.
Now it is used as power supply. I've just ordered Arduino Nano + nRF24L01 to conect all motion sensors. I would like to use one of free port to power my node (thru voltage step down : 12V->5V)

How should i conect sensors to node? -
Ok, but if you put the nano in that location you will have the yellow cables coming back from the PIR sensors and you would have to use those to connect to digital pins of the arduino, the problem is that you need to check what is the voltage that most likely will be over 5V and you would need to find a way to lower it.
-
Yellow cable is connected to PIR's relay. And this cable i'm going to conect to digital input of arduino.
Second cable from PIR's relay will be connnected to arduino's GND pin. ( not shown on this photo).
There is no voltage on PIR's relay ( works as simple switch).
Is my understanding correct ? -
Hi GOHAN,
Finally i've build my serial gateway ( Arduino UNO + nRF24) + node (Arduino Nano + nRF24) but i failed with PIR conection to my NODE. How should i connect PIR's relay to Nano ? ( digital input + GND ) ?
Now i know that relay is normally closed ( 0, 1 state, no power on it)
I was trying to connect this way and it was working for few second ( i saw in the serial monitor , 1 , 0) but after some time NODE was sending weird data to GW.
How connect it corectlly and how to mod the sketch for more sensors? (4 pcs). ```
This is the way ?#define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) #define CHILD_ID 1 // Id of the sensor child #define DIGITAL_INPUT_SENSOR 4 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) #define CHILD_ID 2 // Id of the sensor child``` -