PLEASE READ BEFORE POSTING:

If you are willing to offer some compensation for a new feature or bug fix, you can use the Help Wanted forum. Start a new topic for each new feature idea, and when someone someone decides to do it, please edit the Roadmap Wiki which lists active work.
LinuxMCE Forums
May 26, 2013, 09:00:04 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 2 [3] 4
  Print  
Author Topic: Status / overview page?  (Read 5014 times)
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« 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 » Logged
polly
Veteran
***
Posts: 145


View Profile
« 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
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« 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
Logged
brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« 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/
Logged

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
« 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
Logged
brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« 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 » Logged

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: 662



View Profile WWW
« Reply #36 on: January 15, 2013, 04:35:36 am »

I get a 404 error also
Logged

brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« Reply #37 on: January 15, 2013, 07:44:45 am »

grrrr,

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


(and now, update my restore procedure...)
Logged

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: 430


View Profile
« 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.
Logged

brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« 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:
tar -zxvf status.zip
Logged

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: 430


View Profile
« Reply #40 on: January 17, 2013, 02:24:35 pm »

Give it a try with:
Code:
tar -zxvf status.zip

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

-Coley.
Logged

brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« Reply #41 on: January 17, 2013, 02:33:49 pm »

Done...

And link is updated in first post...
Logged

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
wants to work for LinuxMCE
**
Posts: 823


hrumpf!


View Profile WWW
« 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
Logged

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: 360


Trying to keep it simple and centralized...


View Profile WWW
« Reply #43 on: February 15, 2013, 07:39:07 am »

And why shouldn't I give a damn?  Angry


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...
Logged

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
wants to work for LinuxMCE
**
Posts: 823


hrumpf!


View Profile WWW
« Reply #44 on: February 16, 2013, 03:41:40 am »

And why shouldn't I give a damn?  Angry


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
Logged

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
Pages: 1 2 [3] 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!