python3 and nextion.py

General support for the Pi-Star System
Post Reply
KN2TOD
Posts: 315
Joined: Sun Nov 11, 2018 6:36 pm

python3 and nextion.py

Post by KN2TOD »

How is this supposed to work? What am missing here?

Code: Select all

╔═pi-star@pi-star-pi5(rw)═[/usr/local/etc]
╚═$: sudo python3 /usr/local/bin/Nextion/nextion.py /usr/local/bin/Nextion/MISC/NX3224T024-SV5BYP-DUPLEX-L3-DMRver2_2.tft /dev/ttyAMA0 NX3224T024
Trying with baudrate: 2400...
Trying with baudrate: 4800...
Trying with baudrate: 9600...
Trying with baudrate: 19200...
Trying with baudrate: 38400...
Trying with baudrate: 57600...
Trying with baudrate: 115200...
Trying with baudrate: 230400...
Could not find baudrate
I'm assuming that this version of nextion.py (under Bookworm in Pi-Star 4.3.0) is supposed to allow me to update a Nextion display's firmware while it's still attached to the HAT - in situ, correct? (Currently, it's a pain disassembling, unplugging, inserting a microSD, etc. just to make a firmware change!)

Do I need to stop the NextionDriver and MMDVMHost tasks first? Or is there a config setting or parameter somewhere that's missing or incorrect?
Post Reply