TGIF.Network

TGIF DMR Network => Report TGIF Network/System Issues => Topic started by: K2COP on September 26, 2019, 02:02:42 pm

Title: Self Care not functioning for me
Post by: K2COP on September 26, 2019, 02:02:42 pm
My options in self care disappeared to disconnect from a TG or change to a new TG.  I attempted to connect a dual slot hotspot to TGIF over the past couple days and this is when the issue started.  I understand the hotspot and web browser need to be on the same network which they are.  I have used this option many times in the past to change TG's.  Once I connected the dual slot hotspot the boxes to enter information in self care went away.  I have attached a screenshot of my self care page to illustrate what I am describing. 
Title: Re: Self Care not functioning for me
Post by: WB3IHY on September 27, 2019, 05:32:30 pm
It was down for me as well but appears to be functioning again (as of a few minutes ago).

Self-care, along with many of the other pages on the TGIF webpage, operate on server "processes." They sometimes stop working, or fail to start properly after a server reboot.

The best thing to do when you find one not functioning as expected (and, after you rule out local possibilities such as restarting your browser) is to contact one of the admins on 31665 and mention it.  Often they'll be able to go in and give the stubborn process a "kick in the pants."

Also, be aware that the server software is always under development.  The tech guys may be trying new things, ironing out bugs, and maybe even creating new ones.  Rest assured that they are doing this in an effort to make the system better, more stable, and more enjoyable for all.  But they also need to know when things aren't working, how often it occurs, and so on.  That;'s where you and I come in.  All part of the process.

73,
Joe, WB3IHY
Title: Re: Self Care not functioning for me
Post by: Km6hk on November 25, 2019, 12:45:22 pm
My options in self care disappeared to disconnect from a TG or change to a new TG.  (..)   I understand the hotspot and web browser need to be on the same network which they are.  I have used this option many times in the past to change TG's.

I have exactly this issue, it funtions on and off over the past few months.   When I first logged on to the TGIF Network  the Self Care feature finctioned flawlessly. But over the past month or two it is very hit and miss.  Sometimes it is working fine, but most time it is not.
Title: Re: Self Care not functioning for me
Post by: WB3IHY on November 26, 2019, 08:34:53 am
Personally, I've given up on using/relying upon the self-care page and devised/implemented my own system to change talkgroups by using the API.

If anyone is interested, I could provide details on how I do this.
Title: Re: Self Care not functioning for me
Post by: Km6hk on November 26, 2019, 05:56:50 pm
Personally, I've given up on using/relying upon the self-care page and devised/implemented my own system to change talkgroups by using the API.

If anyone is interested, I could provide details on how I do this.

I am very interested please leave details here or just email me to KM6HK@iCloud.com

Thanks
Title: Re: Self Care not functioning for me
Post by: WB3IHY on November 26, 2019, 08:44:20 pm
Okay, here we go.

First, a bit of background on how to use the API to switch talkgroups.  Basically, you construct a web address with the following structure:

http://tgif.network:5040/api/sessions/update/(your hotspot dmr ID)/(timeslot)/(talkgroup you want to switch the hotspot to)

For example, say my hotspot ID is 311164401, on timeslot 1, and I want to switch it to talkgroup 31665.  My web address would be:

http://tgif.network:5040/api/sessions/update/311164401/1/31665

To send a 4000 disconnect, it would be:

http://tgif.network:5040/api/sessions/update/311164401/1/4000

So, you plunk the appropriately formed address into your browser, hit "go," and voila: You're controlling your hotspot (or hotspots).   I have bookmarks in my browser to send each of my hotspots to the talkgroups I frequent.  And, in Firefox, you can open multiple bookmarks at the same time.  So, I can switch all my hotspots at the same time with a single click. 

Issue a 4000 disconnect to everything? Done.  Set my TGIF Spot to 31665, my Jumbo Spot to 777 scan, and my DVSwitch installation to the Trivia Net on 147435? Done.

Of course, the same caveat applies to doing this as self-care: Your browser must be behind the same IP as the hotspot (or spots) you're trying to control.  But self-care does NOT have to be operational for this to work.
Title: Re: Self Care not functioning for me
Post by: Km6hk on November 27, 2019, 12:59:50 am
Thanks ! I gave this a brief test run and seems. stable..  I wonder what it is in the self-care code that renders it so unreliable and unstable when the solution using the API seems readily at hand.   Hummm

Title: Re: Self Care not functioning for me
Post by: WB3IHY on November 27, 2019, 08:09:51 am
Thanks ! I gave this a brief test run and seems. stable..

You're welcome.  To give credit  where credit is due, see this post here on the forum: https://tgifnetwork.createaforum.com/hotspot-configurartion/using-the-api/msg1101/

But wait...there's more. (LOL)

Also (with an assist from K5MRE), I wrote a customized version of the "Active Talkers Page" which allows me to switch any of my hotspots to the listed talkgroups on the page using the API.  So, while the "official" page looks like this:

[attachimg=1]
Mine looks like this:

[attachimg=2]

Clicking on TGIF, JUMBO, or DVS will switch that hotspot to that talkgroup.

  I wonder what it is in the self-care code that renders it so unreliable and unstable when the solution using the API seems readily at hand.   Hummm

Without access to the source code, I can't comment definitively on that.  But I do have my suspicions.
Title: Re: Self Care not functioning for me
Post by: Km6hk on November 27, 2019, 11:30:22 am
  To give credit  where credit is due, see this post here on the forum:

But wait...there's more. (LOL)

Mine looks like this:

Without access to the source code, I can't comment definitively on that.  But I do have my suspicions.

Well, I am sure the folks working on the TGIF project have thier very good reasons for keeping most of the source under thier hat for right now. I did not even realize that there was an API until you pointed that out.   Later I did see that earlier post you reference.

Seems like, maybe, the only function in the API for now is just this one we have here for the "self-care".  But maybe there are more functions ?  Maybe a complete API library ?  hahaha.. LOL   If so, it would be nice to have documentation on all those potential "toys" that might be hidden just under the hood !!!

 ;D