4.3.2 / 4.3.3 / 4.3.4 Beta Feedback

General support for the Pi-Star System
VE3RD
Posts: 130
Joined: Thu Oct 11, 2018 7:21 pm

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by VE3RD »

Just an FYI -
NextionDriver as installed on 4.3.2
/etc/mmdvmhost

[Nextion]
Port=/dev/ttyAMA0
Brightness=50
DisplayClock=1
UTC=0
ScreenLayout=0
IdleBrightness=20

/// No NextionDriver Section - Needs to be added

NextionDriver as required by TGIFSpot Hotspots

[Nextion]
Port=/dev/ttyNextionDriver
Brightness=99
DisplayClock=1
UTC=0
ScreenLayout=4
IdleBrightness=99
DisplayTempInFahrenheit=1

[NextionDriver]
Port=/dev/ttyUSB0
SendUserDataMask=0b01011111
LogLevel=2
DataFilesPath=/usr/local/etc/
GroupsFile=groups.txt
GroupsFileSrc=https://www.pistar.uk/downloads/groups.txt
DMRidFile=stripped2.csv
#DMRidFileSrc=https://www.pistar.uk/downloads/nextionUsers.csv ////script download from radioid.net
DMRidDelimiter=,
DMRidId=1
DMRidCall=2
DMRidName=3
DMRidX1=5
DMRidX2=6
DMRidX3=7
RemoveDim=1
SleepWhenInactive=0
ShowModesStatus=0
WaitForLan=0
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by MW0MWZ »

VE3RD wrote: Fri Apr 11, 2025 8:33 pm /// No NextionDriver Section - Needs to be added
Dashboard does it first time you apply any config changes...
Andy

73 de MW0MWZ
http://pistar.uk
VE3RD
Posts: 130
Joined: Thu Oct 11, 2018 7:21 pm

Re: 4.3.2 Beta Feedback

Post by VE3RD »

MW0MWZ wrote: Fri Apr 11, 2025 8:12 pm
VE3RD wrote:Just installing the NextionDriver is only part of the process.
Might be worth adjusting it to check if NextionDriver exits, unit is loaded etc - alot of this is done already now.
VE3RD wrote:I created a script that will adjust several fields in the configuration
These too have been updated, the config page will add much of this stuff for you these days.
VE3RD wrote:The script also installs BC for temperature calculations and installs a firewall rule for the screen
A firewall rule for the screen? - since you're well into the realm of custom there, yeah I'd keep that in your script for sure.
Yes, we have a custom curl command that goes directly to the sever to take a hotspot off onto a non propagating TG to emulate DISCONNECT
This functions regardless of activity on the hotspot/radio

_________________________

Thank you Andy

I just went through the install of 4.3.2 for the third time(my choice - just to see things)
I was not aware of what you had added regarding the Nextion Driver
We had a protocol for building up a hotspot from a fresh flashed sdcard, that bypassed your setup routine
I will arrange to have this protocol changed and
I will go back and modify my script to only fine tune a few of the parameters like

SendUserDataMask=0b11111111
turn on all Modes data transfer from pi-star, The default is only DMR

Port=/dev/ttyUSB0
We use the TTL Adapter

DMRidFile=stripped2.csv
we use a direct daily dump from radioid.net

RemoveDim=0
We allow a choice on our screens to use either Driving Dimmer or Our multi option onboard screen dimmer

SleepWhenInactive=0
we don't want the screen to go blank
We control that from the screen as well

------------------------------------------------------

My script gives the user a choice
TITLE="Second Level Menu - Continue"
MENU="Choose your Screen-to-Pi Interface"

OPTIONS=(1 "USB to TTL Interface"
2 "GPIO Pins"
3 "Quit")

It would solve a lot of our issues if you could provide that choice in the pi-star configuration screen
Then we could do away completely with our script and do the rest from the screen

Phil VE3RD
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: 4.3.2 Beta Feedback

Post by MW0MWZ »

VE3RD wrote: Fri Apr 11, 2025 10:05 pm
MENU="Choose your Screen-to-Pi Interface"

OPTIONS=(1 "USB to TTL Interface"
2 "GPIO Pins"
3 "Quit")

It would solve a lot of our issues if you could provide that choice in the pi-star configuration screen
Then we could do away completely with our script and do the rest from the screen

Phil VE3RD
Oh I see, so where I currently let the user choose /dev/ttyNextionDriver, that's not enough because the screen might not be on the modem.
I'll see what I can come up with...
Andy

73 de MW0MWZ
http://pistar.uk
sv1uy
Posts: 5
Joined: Wed Apr 11, 2018 2:45 pm

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by sv1uy »

Hi all,

I use an original MMDVM modem as a hat plugged in an RPi3B. Calibrate has never worked for me!
I set the Refresh to 1 second, then click the Start button but it never goes green. Is there a special procedure that I do not know?

73 de SV1UY
PA5WIL
Posts: 24
Joined: Sun Apr 15, 2018 10:15 am

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by PA5WIL »

Versie 4.3.3 install on the raspberry Pi 5. Only problem with the Nextion Driver. I have to set /dev/ttyUSB0 manualy in the expert mode. From the configuration it never changed and it was always modem.
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by MW0MWZ »

PA5WIL wrote: Sat Apr 12, 2025 9:58 am Versie 4.3.3 install on the raspberry Pi 5. Only problem with the Nextion Driver. I have to set /dev/ttyUSB0 manualy in the expert mode. From the configuration it never changed and it was always modem.
When I added the NextionDriver support in - I did make some assumptions for sure - and yes if you're not using modem connected displays, it is a thing you need to select - pondering how to handle that currently...
Andy

73 de MW0MWZ
http://pistar.uk
VE3RD
Posts: 130
Joined: Thu Oct 11, 2018 7:21 pm

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by VE3RD »

MW0MWZ wrote: Sat Apr 12, 2025 12:35 pm
PA5WIL wrote: Sat Apr 12, 2025 9:58 am Versie 4.3.3 install on the raspberry Pi 5. Only problem with the Nextion Driver. I have to set /dev/ttyUSB0 manualy in the expert mode. From the configuration it never changed and it was always modem.
When I added the NextionDriver support in - I did make some assumptions for sure - and yes if you're not using modem connected displays, it is a thing you need to select - pondering how to handle that currently...
Just a stray thought. The MMDVM Display type has several choices, one of which is Nextion
What about two Nextion Choices
Nextion-Modem
Nextion-TTL

or something similar

VE3RD Phil
User avatar
MW0MWZ
Site Admin
Posts: 1584
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by MW0MWZ »

VE3RD wrote: Sat Apr 12, 2025 1:46 pm
MW0MWZ wrote: Sat Apr 12, 2025 12:35 pm
PA5WIL wrote: Sat Apr 12, 2025 9:58 am Versie 4.3.3 install on the raspberry Pi 5. Only problem with the Nextion Driver. I have to set /dev/ttyUSB0 manualy in the expert mode. From the configuration it never changed and it was always modem.
When I added the NextionDriver support in - I did make some assumptions for sure - and yes if you're not using modem connected displays, it is a thing you need to select - pondering how to handle that currently...
Just a stray thought. The MMDVM Display type has several choices, one of which is Nextion
What about two Nextion Choices
Nextion-Modem
Nextion-TTL

or something similar

VE3RD Phil
Ahh you see, you fell into the trap of assuming it's always modem or ttyUSB0.... it could be ttyAMA0 or ttyUSB[some other number here]
But yes thinking about it :)
Andy

73 de MW0MWZ
http://pistar.uk
VE3RD
Posts: 130
Joined: Thu Oct 11, 2018 7:21 pm

Re: 4.3.2 / 4.3.3 Beta Feedback

Post by VE3RD »

MW0MWZ wrote: Sat Apr 12, 2025 3:11 pm Ahh you see, you fell into the trap of assuming it's always modem or ttyUSB0.... it could be ttyAMA0 or ttyUSB[some other number here]
But yes thinking about it
Ya got Me....30 lashes with a wet noodle. We only worried about the two I mentioned. I see you have a much wider AUDIENCEI and many others in the TGIF fraternity, sure hope you come up with something. Having this choice in the pi-star configurator will sure help us along. All the smaller choices we can do in the screen. I Put them in the screen some weeks back.

I thank you on behalf of myself and TGIF for your efforts on this issue and on the pi-star system itself.
4.3.3 is looking real good so far.
Post Reply