Closed ezar closed 5 years ago
Can you restart pyshell when onError?
When this interrupt is appeared? This error would be happened when you try to kill the script by manual. Describe me more details what you tried, and what you expected as a result of your trial, but how it failed.
Appears after start MagicMirror. I didn't nothing with the script. When it appear, I need to restart MagicMirror because Gesture doesn't works :(
It might mean your python script has an error from start with your seeting. Check it works or not
https://github.com/eouia/MMM-GroveGestures/blob/master/README.md#installation-of-module
Did you all the steps by instructions above link? There be also an instruction how to check your script
Yes! The script works sometimes. Other times gets timeout, others error :(
Paj7620 initialize register finished.
Traceback (most recent call last):
File "gesture_print.py", line 43, in
Can we try this? (https://github.com/fivdi/i2c-bus/blob/master/doc/raspberry-pi-software-i2c.md)
Hi, I also get error. (sometimes MMM-GroveGestures stops working or even don't start working). How do you get the error log for analysis purpose? I would like to share my issue also.
I activate using config.
verbose:true
Seems that we have a more recent version
https://github.com/Seeed-Studio/grove.py/blob/master/grove/grove_gesture_sensor.py
I try it replacing to from smbus2 import SMBus
Same problem :(
Please reinit when py error :)
Do you use a RPI for test?
Of course, I tested it with RPI(RPI 3 B+)I also. Hmmmm.... I'll try recent version script in a few days. (I'm on vacation now, sorry)
Ok. I've tested my module again with newly formatted RPI from H/W installation. Environment :
My module(and py scripts) is working as expectation.
I doubt you've missed or failed something on H/W installation. Could you check again?
Especially, sudo i2cdetect -y 1
should show you 73
on the matrix of result.
If sometime work or not, It seems your GPIO(I2C) connection is not so stable. Maybe it could be H/W problem or Electricity issue.
I'm using a I2C temperature sensor without problem :(
Sorry, but I cannot find any suspicious point at this moment.
Does 'i2cdetect -y 1'
show proper address of sensor?(73
)?
Usually IOError: [Errno 121] Remote I/O error
itself occurs when a not available address is referenced. And usually it come from not installed or connected H/W. (Of course there could be other reasons... however,)
Seem solved ;) I reduce i2c speed to 10000. Regards
Nice to hear it. I haven’t thought about it. I’ll close this issue.
Seem solved ;) I reduce i2c speed to 10000. Regards
works for me as well, for anyone interest:
in terminal: sudo nano /boot/firmware/config.txt if you dont have this line in your config.txt, add it right below to the others dtparam configs dtparam=i2c_arm_baudrate=10000 ctrl + x to exit, y to confirm, and enter to save it reboot your rasp sudo reboot after the reboot, just check the file to see if it is saved correctly
Hi eouia,
Everytime appears this error, and I cannt use it :( Why?
1|MagicMir | Keyboard Interrupted 1|MagicMir | [GESTURE] Gesture script is finished.