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

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5498
  • 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: 180
    • 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: 5498
  • 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: 378
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
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 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

lvikstro

  • First post!
  • Posts: 1
    • View Profile
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: 378
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
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 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

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: 378
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
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 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

coley

  • Guru
  • ****
  • Posts: 477
    • 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: 378
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
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 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

coley

  • Guru
  • ****
  • Posts: 477
    • 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: 378
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
Re: Status / overview page?
« Reply #41 on: January 17, 2013, 02:33:49 pm »
Done...

And link is updated in first post...
Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1074
  • hrumpf!
    • View Profile
    • La Smarthomes - SoCal smarthome site
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
Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius

brononius

  • Guru
  • ****
  • Posts: 378
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog (runs on ... linuxmce server)
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 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1074
  • hrumpf!
    • View Profile
    • La Smarthomes - SoCal smarthome site
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
Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius