Read the statement by Michael Teeuw here.
MMM-GroveGestures /  Python script is terminated
- 
 @Egnos 
 By spec, PAJ7620’s MAX i2c speed is 400Kbit/s (400,000) But sometimes Raspberry PI i2c cannot handle fast devices.Have you tried testing the sensor? cd ~/MagicMirror/modules/MMM-GroveGestures/py python gesture_print.pyAnd there could be other possible causes; - Pins are not stably connected
- Too long cabling, > 30cm. The signal would be weaker or noisy.
- I2C frequency is still too high. Set slower (lesser number than your trials)
- I2C Bus overloaded, if you are connecting other i2c connections. (maybe more than 3 or 4s)
 
- 
 @MMRIZE said in MMM-GroveGestures / Python script is terminated: Have you tried testing the sensor? Yes, and also when appear [GESTURE] Python script is terminated. It will restart soon.the gesture works well.@MMRIZE said in MMM-GroveGestures / Python script is terminated: Pins are not stably connected I exclude it. @MMRIZE said in MMM-GroveGestures / Python script is terminated: Too long cabling, > 30cm. The signal would be weaker or noisy. It will surely be longer, 40 or 50 cm @MMRIZE said in MMM-GroveGestures / Python script is terminated: I2C frequency is still too high. Set slower (lesser number than your trials) I tried all speeds, maybe with 32000 seems better. 
 From this value (32000) do I go down or up?@MMRIZE said in MMM-GroveGestures / Python script is terminated: I2C Bus overloaded, if you are connecting other i2c connections. (maybe more than 3 or 4s) 
 I exclude it. I have only Paj7620 and PIR sensor on GPIO…I’m sure with the old version v2.23 of MM I always had the error messages but the gesture sensor always worked, with the new version v2.24.0 of MM sometimes the sensor stops working and I have to redo this procedure 
 https://github.com/MMRIZE/MMM-GroveGestures#install-hw@MMRIZE Thanks for your precious advises. 
- 
 @Egnos said in MMM-GroveGestures / Python script is terminated: Too long cabling, > 30cm. The signal would be weaker or noisy. It will surely be longer, 40 or 50 cm Hopefully not, over 30cm long cabling could be the issue. (You wrote 40~50cm, is it right?) 
- 
 @MMRIZE Yes, from the GPIO to the sensor there will be about 40/45 cm… 
- 
 @Egnos 
 40~45cm seems somewhat too long. Could you build it shorter? or use a lower frequency than usual case.
 Ref. these;
- 
 @MMRIZE The path of the sensor cables (Yellow, red, white and black) is this: Maybe I could shorten the wires a bit… Thanks for the links. 
- 
 @Egnos Maybe Sparkfun Midpoint and Endpoint to give you ample length. They tout over 100’ with those devices. 
- 
 @ankonaskiff17 said in MMM-GroveGestures / Python script is terminated: Endpoint Hi @ankonaskiff17, wich one of these? 
 https://www.sparkfun.com/categories/304?page=1
- 
 @Egnos 
 There are several “I2C Extenders” (Or “Active Terminator”)I haven’t tried this kind of thing, but it is worth researching. 
- 
 @Egnos You want what is called a Midpoint which is  
 Also need an Endpoint which is this I whipped this together in double quick time so pardon the lack of tidiness. 
 For reference sake I focused on a couple of BME688’s to give you sort of a benchmark.
 First is screenshot showing both BME’s running. Had to do jumper on one to get a second address 0x76 and 0x77
 


