Dashboard in iFrame ?

General support for the Pi-Star System
Post Reply
VA7WPN
Posts: 20
Joined: Sun May 13, 2018 3:51 am

Dashboard in iFrame ?

Post by VA7WPN » Mon May 21, 2018 6:38 am

Good evening,

I am trying to get my PiStar Dashboard to show up in my clubs website, as an iframe. That way the members dont leave the site, and everything seems to be one flowing system / content.

I can access my dashboard from outside of my repeater location, without an issue. HOW EVER, within the iFrame it does not show.

Any idea if this may be because of the dashboard its self?

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

Re: Dashboard in iFrame ?

Post by MW0MWZ » Mon May 21, 2018 7:37 pm

It is - the dashboard has some on-board security measures that stop it loading in an iFrame.

You can call the individual pages and load your own CSS, this would be a better idea from most respects.
Andy

73 de MW0MWZ
http://pistar.uk

VA7WPN
Posts: 20
Joined: Sun May 13, 2018 3:51 am

Re: Dashboard in iFrame ?

Post by VA7WPN » Tue May 22, 2018 12:54 am

Thanks a Ton, I was just hoping to pull some of the statu's from it. So, I will try that method first.

Thank you again,

VA7WPN

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

Re: Dashboard in iFrame ?

Post by MW0MWZ » Tue May 22, 2018 12:47 pm

If you want some specific pointers - ask away, nothing is a dumb question.
Andy

73 de MW0MWZ
http://pistar.uk

AF6FB
Posts: 5
Joined: Thu Apr 12, 2018 1:42 am

Re: Dashboard in iFrame ?

Post by AF6FB » Thu Jul 30, 2020 4:27 pm

I know this is an old thread. I would like to explore it again.

I ran into this issue trying to create a method of monitoring multiple hotspots. I have two currently and will probably add a third. I was hoping to have a quick dashboard I could open to see the status of all.

In another usage scenario, I belong to a club with two MMDVM repeaters and we are adding two more. It would be nice if it was easier to monitor these as well.

Since I can't put the dashboard into an iframe, what is the recommended manner to monitor multiple Pi-Star based systems?

For example, the new ones we are installing will be P25 only. It would be nice to see some last heard data and the currently connected reflector for each system.

Is there an API available for collecting info from Pi-Star? What do you recommend?

Michael AF6FB

KN2TOD
Posts: 92
Joined: Sun Nov 11, 2018 6:36 pm

Re: Dashboard in iFrame ?

Post by KN2TOD » Thu Jul 30, 2020 9:58 pm

Have you taken a look at some of the work done here? Maybe there are some ideas there you could use to develop the kind of display you want:

(Edit. moderator) links removed.
This project isnt supported within these pages. It's developer has chosen not to make the changes to work with current releases, and as a 3rd party solution we cannot offer support here.
Last edited by M1DNS on Thu Jul 30, 2020 9:58 pm, edited 1 time in total.
Reason: Removed url. pistar mobile dashboard.

AF6FB
Posts: 5
Joined: Thu Apr 12, 2018 1:42 am

Re: Dashboard in iFrame ?

Post by AF6FB » Fri Jul 31, 2020 1:22 pm

Thanks guys.
W1KMC your are correct, i want to monitor multiple devices on single screen. Mostly for our admins, but it would be the same for our members.

I was hoping MW0MWZ would chime in, maybe there is a better solution than iframes. I started this way because I do this with AllStar so I can monitor different nodes during our net.

Michael AF6FB

User avatar
VK7HSE
Posts: 205
Joined: Sun Apr 15, 2018 6:35 pm
Contact:

Re: Dashboard in iFrame ?

Post by VK7HSE » Sat Aug 01, 2020 2:22 am

Firstly is your club website running over https? If so you can't place a http iframe within secured (https) content. So you can't have a mixture of http/https as this was considered a security risk several years ago.

So you'll need to either implement https on your pistar systems (something that has been requested several times in the past) and then the iframe should work.

Sent from my Pixel 4 XL using Tapatalk


Post Reply