Exetel Dashboard Widget

All other technical assistance queries (General technical issues, IPv6. P2P, News groups, etc)
Tamar
Posts: 47
Joined: Sat Feb 05, 2005 8:37 pm

Re: Exetel Dashboard Widget

Post by Tamar » Sun Jun 27, 2010 1:58 pm

ForumAdmin wrote:Is this something that is solid enough to be added to the User facilities for anyone to download?
Sure I guess, it will be stable at least until the next bug gets reported :)

SBOB
Posts: 10
Joined: Sat Jan 12, 2008 9:32 pm
Location: Newcastle

Re: Exetel Dashboard Widget

Post by SBOB » Tue Mar 29, 2011 8:00 pm

Hi,
any chance this widget will be updated to deal with
1) plans such as the OCV200 plan where there is no peak/offpeak but a single total for downloads?
2)Changes in billing month start dates with the new billing date changes?


Its a great widget but with these recent changes (especially 2), its not showing the right info...

Tamar
Posts: 47
Joined: Sat Feb 05, 2005 8:37 pm

Re: Exetel Dashboard Widget

Post by Tamar » Tue Mar 29, 2011 10:45 pm

I don't have one of those plans, so hard for me to make changes to accommodate them. Can't make any promises, but you could try sending me your usage data from the following page and I can see if it's possible or not.
https://www.exetel.com.au/members/usage ... m,password
EDIT: wrong link, try this one: https://www.exetel.com.au/members/usage ... m,password

User avatar
Dazzled
Volunteer Site Admin
Posts: 5997
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: Exetel Dashboard Widget

Post by Dazzled » Tue Mar 29, 2011 11:08 pm

Hi Tamar. The format may change, but at present the relevant OCV parts look like this, the same as before:

Code: Select all

    
<PlanDetails>
      <PlanName>OCV10</PlanName>
      <LineSpeed>10000</LineSpeed>
      <PeakTimeDownloadInMB>10000</PeakTimeDownloadInMB>
      <OffpeakTimeDownloadInMB>0</OffpeakTimeDownloadInMB>
      <PeakShaping>NO</PeakShaping>
      <OffpeakShaping>NO</OffpeakShaping>
      <PlanPrice>$50.00</PlanPrice>
      <ExtraDownloadPerGB>$1.00</ExtraDownloadPerGB>
</PlanDetails>
and

Code: Select all

    
<CurrentMonthUsage>
      <PeakDownload>1534.34</PeakDownload>
      <PeakUpload>97.04</PeakUpload>
      <OffpeakDownload>52.31</OffpeakDownload>
      <OffpeakUpload>4.86</OffpeakUpload>
      <UpdateDatetime>2011-03-28 11:21:20 AEDST</UpdateDatetime>
</CurrentMonthUsage>
You will have to add peak and off-peak usage (floating point) to get the total usage. The only indicator that this is required is *CV* as the PlanName, which isn't ideal.

The billing date problem is more complex, and there is pressure to handle it better in the XML. My present method is to convert all dates to epoch form and compute the month fraction (seconds/seconds) from that. A minor problem in the shell, but unsatisfactory really.

SBOB
Posts: 10
Joined: Sat Jan 12, 2008 9:32 pm
Location: Newcastle

Re: Exetel Dashboard Widget

Post by SBOB » Wed Mar 30, 2011 7:26 am

Here are the details for the OCV200 plan... the summing of peak and offpeak should be simple enough...
going by the above explanation on the billing date perhaps thats in the too hard basket, though it means the totals at the start and end of the months is wrong

Code: Select all

<PlanDetails>
      <PlanName>OCV200</PlanName>
      <LineSpeed>200000</LineSpeed>
      <PeakTimeDownloadInMB>200000</PeakTimeDownloadInMB>
      <OffpeakTimeDownloadInMB>0</OffpeakTimeDownloadInMB>
      <PeakShaping>NO</PeakShaping>
      <OffpeakShaping>NO</OffpeakShaping>
      <PlanPrice>$60.00</PlanPrice>
      <ExtraDownloadPerGB>$1.00</ExtraDownloadPerGB>
    </PlanDetails>

Code: Select all

    <CurrentMonthUsage>
      <PeakDownload>70007.31</PeakDownload>
      <PeakUpload>58745.61</PeakUpload>
      <OffpeakDownload>122122.41</OffpeakDownload>
      <OffpeakUpload>55740.87</OffpeakUpload>
      <UpdateDatetime>2011-03-30 07:05:51 AEDST</UpdateDatetime>
    </CurrentMonthUsage>

simon2e
Posts: 1
Joined: Fri Oct 30, 2009 2:04 pm
Location: Melbourne

Re: Exetel Dashboard Widget

Post by simon2e » Fri Dec 02, 2011 2:49 pm

Hello Tamar,

First - many thanks for your excellent widget, I'm a longish term user and have been very impressed with your commitment to tracking changes over time.

Having said that, I've just found that with the recent plan changes I'm now getting incorrect results in terms of usage. I learned this when my offspring pushed us over the limit and into shaping recently, but the widget only showed about 50% utilisation at the time.

Following your advice to another poster above, I've attached the exetel data response. Please let me know if there's anything I can do to assist, and if you ever do get sick of maintaining the widget I have no doubt there are others like myself who would be willing to share the load.

Thanks again, Simon.
Attachments
Exetel-plan-usage.txt.zip
results of plan usage query to exetel server
(1.51 KiB) Downloaded 66 times

Tamar
Posts: 47
Joined: Sat Feb 05, 2005 8:37 pm

Re: Exetel Dashboard Widget

Post by Tamar » Sun Dec 04, 2011 1:48 pm

Test version attached, which adds together peak and off-peak usage. If this seems satisfactory I will push it out as a broader update.

Can't do much about billing month start dates, as the day of month doesn't seem to be provided in the usage xml (yes this could be input by the user, but this seems inelegant when Exetel just needs to add it to the xml).
Attachments
Exetel Meter.zip
(224.22 KiB) Downloaded 67 times

Tamar
Posts: 47
Joined: Sat Feb 05, 2005 8:37 pm

Re: Exetel Dashboard Widget

Post by Tamar » Sun Jan 01, 2012 12:34 pm

Tamar wrote:Can't do much about billing month start dates, as the day of month doesn't seem to be provided in the usage xml (yes this could be input by the user, but this seems inelegant when Exetel just needs to add it to the xml).
New test version, now using the first day reported under daily usage as the billing month start date. This is not strictly the same as the true billing date, but is hopefully reasonably accurate.
Attachments
Exetel Meter.zip
(224.46 KiB) Downloaded 99 times

danehc
Posts: 1
Joined: Tue Jan 17, 2012 1:55 pm
Location: Sydney

Re: Exetel Dashboard Widget

Post by danehc » Tue Jan 17, 2012 1:58 pm

Hi, thanks for the test version - seems to work well and is a great help.

Post Reply