Author Topic: Status / overview page?  (Read 39116 times)

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Status / overview page?
« Reply #30 on: November 02, 2012, 03:04:15 pm »
The information here should be folded into the General Info Plugin. The various bits can be emitted as events, which can be intercepted by both the General Info Plugin, and responded to by the system to do different things.

Essentially, most of this stuff would be folded in as a data grid, with custom data grid cells, with images set for the bits inside the cells (a new screen handler in Orbiter would be needed for this.), with the normal data grid fields still set, so that not only can standard orbiter show something nice, but qOrbiter can also pick up the data.

This is going to take some learning and work for someone who does not yet understand how to make new orbiter displays/code, but it would be worth it.

-Thom
« Last Edit: November 02, 2012, 03:08:36 pm by tschak909 »

polly

  • Administrator
  • Guru
  • *****
  • Posts: 209
    • View Profile
Re: Status / overview page?
« Reply #31 on: November 02, 2012, 03:26:58 pm »
I'll see if i can work something out next week...

i assume you know howto write a plugin. Would you mind you share your knowledge?
I would like to help to write a plugin.

ochorocho

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Status / overview page?
« Reply #32 on: November 02, 2012, 03:38:08 pm »
it'll take a while. The first thing is to figure out how to get the information into a form that the plugin can parse. Examples of this could be, writing out to a text file, talking to an external shell script, etc.

-Thom

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: Status / overview page?
« Reply #33 on: December 04, 2012, 02:49:11 pm »
UPDATE: Before i ran a script to read the sunrise/-set from the log files. This wasn't best practice since it was a higher load for the system, just to get this value.
I found out that php has a command date_sunrise and date_sunset that calculs your sunrise timing. This based on your lattitude and longitude. And let these values now be in the database.

So i've update the status page:
  • first grep the latt and long from the db
  • get the offset from the timezone
  • use this with date_sunrise
  • ...

http://oniriabe.dyndns.org:1111/status/
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

lvikstro

  • Guest
Re: Status / overview page?
« Reply #34 on: January 02, 2013, 07:49:40 am »
Hello,
downloading of the scripts doesn't seem to work anymore. Would it be possible to get the files from somewhere?

"oniriabe.dyndns.org:1111/packages/status.zip" gives 404 Not Found

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: Status / overview page?
« Reply #35 on: January 02, 2013, 08:03:53 am »
My bad, should be back online...

A new package have been generated (only index and images)...



« Last Edit: January 04, 2013, 10:51:38 am by brononius »
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: Status / overview page?
« Reply #36 on: January 15, 2013, 04:35:36 am »
I get a 404 error also

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: Status / overview page?
« Reply #37 on: January 15, 2013, 07:44:45 am »
grrrr,

I'll need to add that webfolder to my restore procedure.  :-[
Should be online again...


(and now, update my restore procedure...)
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: Status / overview page?
« Reply #38 on: January 17, 2013, 01:51:34 pm »
tried to install this - the zip file is reported as invalid.
Tried on M$w and linux
Can you check?

-Coley.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: Status / overview page?
« Reply #39 on: January 17, 2013, 02:02:11 pm »
tried to install this - the zip file is reported as invalid.

Give it a try with:
Code: [Select]
tar -zxvf status.zip
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: Status / overview page?
« Reply #40 on: January 17, 2013, 02:24:35 pm »
Give it a try with:
Code: [Select]
tar -zxvf status.zip

thanks that worked - maybe rename the file to .tgz might be a hint at the archive type  ;)

-Coley.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: Status / overview page?
« Reply #41 on: January 17, 2013, 02:33:49 pm »
Done...

And link is updated in first post...
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Status / overview page?
« Reply #42 on: February 15, 2013, 01:56:45 am »
Your task, if you actually give a damn.

Find me an OPEN api for weather for your country if you live outside the united states. this is getting done now.

-golgoj4
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: Status / overview page?
« Reply #43 on: February 15, 2013, 07:39:07 am »
And why shouldn't I give a damn?  >:(


Normally, the weather part is based on the timezone.
I'm from Europe/Belgium, so this is outside the United States. And it works over here.

What's your timezone if i may ask?
This way i can change my server's timezone and have a look why it's not working for you.

ps This will not be in the next 2 weeks. I'm busy with another project that takes up all my time now... So please be patient...
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Status / overview page?
« Reply #44 on: February 16, 2013, 03:41:40 am »
And why shouldn't I give a damn?  >:(


Normally, the weather part is based on the timezone.
I'm from Europe/Belgium, so this is outside the United States. And it works over here.

What's your timezone if i may ask?
This way i can change my server's timezone and have a look why it's not working for you.

ps This will not be in the next 2 weeks. I'm busy with another project that takes up all my time now... So please be patient...

What I meant was what service are you using for europe. Im planning on rolling this functionality into the climate plugin and didnt want to ignore people outside the US.

golgoj4
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.