Date   
Re: Dashboard Installation php error on installation of 5 or 7

John K1IF
 

buster light

Re: Dashboard Installation php error on installation of 5 or 7

Steve N4IRS
 

What OS version are you trying to install on?

On 5/27/2020 9:45 AM, John K1IF via groups.io wrote:
I'm trying to install the Dashboard and using the set-by-step instructions and get to step 5 where php must be installed but keep receiving the following errors when I try to install 5 or 7:

Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-cgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-common' has no installation candidate
E: Package 'php5-cgi' has no installation candidate
E: Package 'php5' has no installation candidate

same thing if I try installing 7


Dashboard Installation php error on installation of 5 or 7

John K1IF
 

I'm trying to install the Dashboard and using the set-by-step instructions and get to step 5 where php must be installed but keep receiving the following errors when I try to install 5 or 7:

Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-cgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-common' has no installation candidate
E: Package 'php5-cgi' has no installation candidate
E: Package 'php5' has no installation candidate

same thing if I try installing 7

Re: Will Nextion Screen work with dvswitch?

John K1IF
 

Jason

Can you email the .HMI file


Thanks John

Re: Will Nextion Screen work with dvswitch?

Jason Turning
 


Thanks Steve for the update to get it working. I'm enjoying the current functionality as I can look over to see who is transmitting when in my shack.

Jason - WY7JT


On Tue, May 26, 2020 at 9:49 AM Steve N4IRS <szingman@...> wrote:
These things may be looked at some time in the future. Maybe when the dashboard gets addressed.  We have a pretty big Todo list. (moving target).

Steve N4IRS

Sent by smoke signal (AT&T)

Re: Will Nextion Screen work with dvswitch?

John K1IF
 

understood Steve thanks for getting it going!

Re: Will Nextion Screen work with dvswitch?

Steve N4IRS
 

These things may be looked at some time in the future. Maybe when the dashboard gets addressed.  We have a pretty big Todo list. (moving target).

Steve N4IRS

Sent by smoke signal (AT&T)


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Jason Turning <cturning1@...>
Sent: Tuesday, May 26, 2020 11:45:14 AM
To: main@dvswitch.groups.io <main@dvswitch.groups.io>
Subject: Re: [DVSwitch] Will Nextion Screen work with dvswitch?
 
I'm seeing the same thing. I just tried to add RFModeHang to the ini, but it doesn't seem to pick it up. I think some of this needs to be enabled with MMDVM_Bridge. 

Jason - WY7JT

On Tue, May 26, 2020 at 9:40 AM John K1IF via groups.io <izzy_y2k=yahoo.com@groups.io> wrote:
This is when I invoked from B menu the INFO but when I transmit, it does not show my info on my Nextion also it does not go to idle page after time expired when no signals are received. not sure why but i guess it is just how the dvswitch program sends info? (not sure) I would like to verify with other running if same for them too.


K1IF John

Re: Will Nextion Screen work with dvswitch?

Jason Turning
 

I'm seeing the same thing. I just tried to add RFModeHang to the ini, but it doesn't seem to pick it up. I think some of this needs to be enabled with MMDVM_Bridge. 

Jason - WY7JT

On Tue, May 26, 2020 at 9:40 AM John K1IF via groups.io <izzy_y2k=yahoo.com@groups.io> wrote:
This is when I invoked from B menu the INFO but when I transmit, it does not show my info on my Nextion also it does not go to idle page after time expired when no signals are received. not sure why but i guess it is just how the dvswitch program sends info? (not sure) I would like to verify with other running if same for them too.


K1IF John

Re: Will Nextion Screen work with dvswitch?

John K1IF
 

This is when I invoked from B menu the INFO but when I transmit, it does not show my info on my Nextion also it does not go to idle page after time expired when no signals are received. not sure why but i guess it is just how the dvswitch program sends info? (not sure) I would like to verify with other running if same for them too.


K1IF John

Re: Will Nextion Screen work with dvswitch?

Jason Turning
 

My picture was receiving. It's not picking up when I transmit at the moment. 

Jason - WY7JT

On Tue, May 26, 2020 at 8:31 AM 정성환 <ds5hvm@...> wrote:
Hi Jason,

Is this picture in transmitting your signal or receiving signal from others?

Re: Will Nextion Screen work with dvswitch?

Jason Turning
 

I used a USB to TTL serial adapter as I have a fan plugged into the GPIO pins. That dashboard project is processor intensive in its current state and would make the Pi 3B+ get pretty warm so I put a pi fan in the slot of the case. The funny thing is I've tried to buy two cases to better cool it and neither was as effective as that fan and case which keeps it about 41F. So the other cases got repurposed to other Pi projects

Jason - WY7JT

On Mon, May 25, 2020, 22:15 John K1IF via groups.io <izzy_y2k=yahoo.com@groups.io> wrote:
Jason Wy7JT
 
Are you connecting to USB or GPIO?

Re: Will Nextion Screen work with dvswitch?

정성환
 

Hi Jason,

Is this picture in transmitting your signal or receiving signal from others?

Re: Will Nextion Screen work with dvswitch?

정성환
 

Is this picture in transmitting your signal or receiving other signal?

Re: Will Nextion Screen work with dvswitch?

John K1IF
 

Jason Wy7JT
 
Are you connecting to USB or GPIO?

Re: Will Nextion Screen work with dvswitch?

Jason Turning
 


Swapped out the executable and got it working here too...Jason WY7JT 

IMG_20200525_184853.jpg

Re: Will Nextion Screen work with dvswitch?

John K1IF
 
Edited

Makes sense Steve.

After troubleshooting why my screen just sat idle I finally figured it out! I had set up Analog Bridge to use DV3000, well it was on USB0 same as Nextion.
enough said  All working now on USB

However, I am getting nothing on AMA0 and would like to enclose all in a c4labs box and not have wires sticking out from the ttl connector. I've edited the raspi-config per instx i've seen but still nothing. Any ideas?

thanks for your patience

73 K1IF

Re: Will Nextion Screen work with dvswitch?

Steve N4IRS
 

MMDVM_Bridge is typically connected and running all modes. You switch modes "presented" to DVSM by Analog_Bridge. The display is shwing all traffic MB is seeing. You can try disconnecting all other modes when using a single mode. What I mean by disconnect it to go to each mode and do a disconnect or unlink. The only connect one mode at a time.

Steve

On 5/23/20 10:33 PM, John K1IF via groups.io wrote:
It came to life 1 time and was working but there were Fusion screens popping up even though it was set on dmr bm the android was quiet but fusion screen was coming up with callsigns. i rebooted and cant get to populate screen anymore.

Last login: Sat May 23 22:12:53 2020 from 192.168.1.8
root@testdvswitch:~# cd /opt/MMDVM_Bridge
root@testdvswitch:/opt/MMDVM_Bridge# ps ax | grep MMDVM_Bridge
  514 ?        Rsl    3:59 /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
  630 pts/0    S+     0:00 grep MMDVM_Bridge
root@testdvswitch:/opt/MMDVM_Bridge# systemctl status mmdvm_bridge
? mmdvm_bridge.service - MMDVM_Bridge Service
   Loaded: loaded (/lib/systemd/system/mmdvm_bridge.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-05-23 22:00:49 EDT; 21min ago
  Process: 503 ExecStartPre=/bin/sh -c echo "Starting MMDVM_Bridge: [`date +%T.%3N`]" >> /var/log/n
 Main PID: 514 (MMDVM_Bridge)
    Tasks: 3 (limit: 2200)
   Memory: 19.7M
   CGroup: /system.slice/mmdvm_bridge.service
           └─514 /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

May 23 22:00:49 testdvswitch systemd[1]: Starting MMDVM_Bridge Service...
May 23 22:00:49 testdvswitch systemd[1]: Started MMDVM_Bridge Service.

Re: Will Nextion Screen work with dvswitch?

John K1IF
 

It came to life 1 time and was working but there were Fusion screens popping up even though it was set on dmr bm the android was quiet but fusion screen was coming up with callsigns. i rebooted and cant get to populate screen anymore.

Last login: Sat May 23 22:12:53 2020 from 192.168.1.8
root@testdvswitch:~# cd /opt/MMDVM_Bridge
root@testdvswitch:/opt/MMDVM_Bridge# ps ax | grep MMDVM_Bridge
  514 ?        Rsl    3:59 /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
  630 pts/0    S+     0:00 grep MMDVM_Bridge
root@testdvswitch:/opt/MMDVM_Bridge# systemctl status mmdvm_bridge
? mmdvm_bridge.service - MMDVM_Bridge Service
   Loaded: loaded (/lib/systemd/system/mmdvm_bridge.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-05-23 22:00:49 EDT; 21min ago
  Process: 503 ExecStartPre=/bin/sh -c echo "Starting MMDVM_Bridge: [`date +%T.%3N`]" >> /var/log/n
 Main PID: 514 (MMDVM_Bridge)
    Tasks: 3 (limit: 2200)
   Memory: 19.7M
   CGroup: /system.slice/mmdvm_bridge.service
           └─514 /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

May 23 22:00:49 testdvswitch systemd[1]: Starting MMDVM_Bridge Service...
May 23 22:00:49 testdvswitch systemd[1]: Started MMDVM_Bridge Service.

Re: Will Nextion Screen work with dvswitch?

Steve N4IRS
 

I forgot:
make MMDVM_Bridge executable:
chmod +x MMDVM_Bridge

Steve

On 5/23/20 6:54 PM, John K1IF via groups.io wrote:
sorry to be a pain...
 not sure Ive done this correctly.
I went to github and found the file MMDVM_Bridge.armhf I placed the file in /op/MMDVM_Bridge/  
I then renamed the MMDVM_Bridge to MMDVM_Bridge.OLD and renamed the armhf to MMDVM_Bridge

I tried with AMA0 after hooking up to GPIO
also with ttl to usb converter and changed to USB0 still getting nothing after rebooting each way,

thanks John

Re: Will Nextion Screen work with dvswitch?

Steve N4IRS
 

is MMDVM_Bridge executable?
root@dvswitch-server:/opt/MMDVM_Bridge# ls -la MMDVM_Bridge
-rwxr-xr-x 1 root root 3930476 May 23 19:33 MMDVM_Bridge

Is MMDVM_Bridge running?

root@dvswitch-server:/opt/MMDVM_Bridge# systemctl status mmdvm_bridge
● mmdvm_bridge.service - MMDVM_Bridge Service
   Loaded: loaded (/lib/systemd/system/mmdvm_bridge.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-05-23 19:35:39 EDT; 53s ago
  Process: 12839 ExecStartPre=/bin/sh -c echo "Starting MMDVM_Bridge: [`date +%T.%3N`]" >> /var/log/netcheck (code=exited, status=0/SUCCESS)
 Main PID: 12841 (MMDVM_Bridge)
    Tasks: 3 (limit: 2200)
   Memory: 15.3M
   CGroup: /system.slice/mmdvm_bridge.service
           └─12841 /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

May 23 19:35:39 dvswitch-server systemd[1]: Starting MMDVM_Bridge Service...
May 23 19:35:39 dvswitch-server systemd[1]: Started MMDVM_Bridge Service.

Or, look at it another way:
root@dvswitch-server:/opt/MMDVM_Bridge# ps ax | grep MMDVM_Bridge
12511 pts/1    S+     0:00 tail -f /var/log/mmdvm/MMDVM_Bridge-2020-05-23.log
12841 ?        Ssl    0:07 /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

From MMDVM_Bridge.ini

General]
Display=Nextion

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

From the log:

I: 2020-05-23 23:35:39.299 Display Parameters
I: 2020-05-23 23:35:39.299     Type: Nextion
I: 2020-05-23 23:35:39.299     Port: /dev/ttyUSB0
I: 2020-05-23 23:35:39.299     Brightness: 50
I: 2020-05-23 23:35:39.299     Clock Display: yes
I: 2020-05-23 23:35:39.299     Display UTC: no
I: 2020-05-23 23:35:39.299     Idle Brightness: 20
I: 2020-05-23 23:35:39.299     Screen Layout: G4KLX (Default)



On 5/23/20 6:54 PM, John K1IF via groups.io wrote:
sorry to be a pain...
 not sure Ive done this correctly.
I went to github and found the file MMDVM_Bridge.armhf I placed the file in /op/MMDVM_Bridge/  
I then renamed the MMDVM_Bridge to MMDVM_Bridge.OLD and renamed the armhf to MMDVM_Bridge

I tried with AMA0 after hooking up to GPIO
also with ttl to usb converter and changed to USB0 still getting nothing after rebooting each way,

thanks John