Closed iperniaf closed 3 years ago
Would you please tell me which problem and fixing? I've not heard of any problem with RRi4.
On mh_z19.py script, line 39, you select serial port using strict Rpi model. Rpi4 model is not listed, so it tries to use ttyAMA0 port, and the correct one is ttyS0
Weird, line 29 can't be passed because Raspberry Pi OS must have /dev/serial0 as a symbolic link. Do you use other OS?
yes, i'm using a raspberry image on a docker container running on balena etcher OS
I see!
So, the necessary fix might be as following 2.
right?
Add RPi4 definition to https://github.com/UedaTakeyuki/getrpimodel
Sorry, this was my missunderstanding, now RPi4 is in getrpimodel. So, nesessary fix might be only #2.
I welcome your pull request!
I have no permision to push my changes on a new branch
Not push directory, instead, you can make pull request.
done! I have an extrage behavior. I'm running your script with serial_console_untouched=True and main program calls "read" every 10 seconds Sometimes the scripts runs ok, but other times it returns "None" Can you imagine what's happening?
No idea, sorry.
Hi iperniaf,
I've marged issue #30 and updated it to version 3.0.2 both github and pypi. Would you please try it? thank you.
longtime no feedback
Hi, I'm using your lib with a rpbi 4 and it needs some fixes. ¿Can I contribute to the community fixing them?