How to start the NextionDriver?

All things relating to the Nextion Screen(s)
Post Reply
OZ1HMN
Posts: 12
Joined: Wed Jul 25, 2018 1:43 pm

How to start the NextionDriver?

Post by OZ1HMN »

Hi
After some hours of installing and manually modifying, I'm down to one issue (I hope), that the NextionDriver is not running.
How do I start this (autostart at boot)?

RPi3B+ pi-star 4.1.2 Nextion 2.4 USB connected.
Jumbo 1.4.16

br Lars
OZ1HMN
Posts: 12
Joined: Wed Jul 25, 2018 1:43 pm

Re: How to start the NextionDriver?

Post by OZ1HMN »

Some more details:

sudo NextionDriverInstaller/check_installation.sh
+ This seems to be Pi-Star
----------------------
Searching MMDVMHost ...
-----------------------
+ MMDVMHost found at /usr/local/bin/MMDVMHost
+ Searching MMDVMHost configuration file ...
+ MMDVMHost configuration file found at /etc/mmdvmhost
+ Transparent Data section found
I Serial port for Nextion is /dev/ttyNextionDriver
+ MMDVMHost is configured for NextionDriver

--------------------------
Searching NextionDriver ...
---------------------------
+ NextionDriver found at /usr/local/bin/NextionDriver
I Nextion is connected to /dev/ttyUSB0
+ Nextion seems to be connected to an active port
+ MMDVMHost is configured for NextionDriver

----------------------------
Checking active programs ...
----------------------------
+ MMDVMHost running with PID 1225
- NextionDriver not running

--------------------------------
| REPORT |
--------------------------------
+ MMDVMHost is configured for NextionDriver
+ The Nextion display must be connected to /dev/ttyUSB0
+ MMDVMHost is running
- NextionDriver is NOT running

Trying to get this working:

https://github.com/on7lds/NextionDriver ... tarting.md

But no success
OZ1HMN
Posts: 12
Joined: Wed Jul 25, 2018 1:43 pm

Re: How to start the NextionDriver?

Post by OZ1HMN »

Thanks for responding.
It is a completely new setup. After doing the initial setup and checking that YSF was working, I did run the procedure as described with git clone and install.sh, and after that i also did that check of the installation. After the first check, then MMDVMHost was not configured for NextionDriver, so I have to enter this manually in the INI file. Second issue was the NextionDriver was not running so I have tried to start it manually, and also enter all that stuff manually from the linked page.
So I guess the Nextion driver install procedure failed somehow in my installation. Did not see any errors though during installation.

The display have been updated and layout downloaded without any issue using the same USB to TTL stick as I use om the RPi.
The ON7LDS start page is displayed after RPi boot up.
setup the hotspot to work with the basic Nextion fields
So should I be able to get the display working without the driver installed?

br Lars
OZ1HMN
Posts: 12
Joined: Wed Jul 25, 2018 1:43 pm

Re: How to start the NextionDriver?

Post by OZ1HMN »

So started all over on another SD card, and without install the driver. The display works now :-)
One issue I also had before was that the USB option was not present before installation of the NextionDriver. Then it appeared.

And now after installing the NextionDriver and afterwards checking the installation, I have exactly same problem.
- MMDVMHost is NOT configured for NextionDriver
- NextionDriver is NOT running

Display however still works with my first setup as Nextion and USB0, so???
Post Reply