IPSTwilight - Dämmerungsberechung und grafische Darstellung

Hallo Leute,

werds mir bei Gelegenheit mal ansehen, muss aber vorher mal einige anderen Sachen zu Ende bringen.

Das mit dem schwarzen Hintergrund liegt wohl am Bild selbst, das muss einen transparenten Hintergrund haben …

Hi Mondphasen Fans,

meint Ihr es so?

Holt sich die Mondphase direkt.
Hintergrund wird weitgehend angepasst.

Zu finden hier via Update:


IPSUtils_Include ("IPSModuleManager.class.php","IPSLibrary::install::IPSModuleManager");
$moduleManager = new IPSModuleManager('IPSTwilight','https://raw.github.com/MCS-51/IPSLibrary/Development/');
$moduleManager->UpdateModule();  

Ja super, und wenn man das „Show Limited“ noch nach links unten über die Grafik bringt dann passen die unteren Ränder der linken und rechten Seite fast ganz überein.

Bitte updaten.

GA

Hat nichts gebracht :frowning:

Habe die Mondphase und Showlimits getauscht.
War wohl falsch.:mad:

Wo soll es genau hin?

Zu beachten ist auch die Bildschirmauslösung und Größe.
Das mag bei Dir dann simmen, aber eventuell bei vielen anderen nicht.

GA

Gesendet von meinem GT-I9100 mit Tapatalk 2

ich hab dat so jemacht

Genau, so hab ich das manuell auch gemacht und passt soweit sogar auf meinem Tablet ganz gut.

So wie gewünscht geändert.
Sieht gut aus.

Bitte updaten.

Ein Bild sagt doch mehr als 1000 Worte :cool:

Gruß

Andre

Beim update bekomme ich diese Fehlermeldung und es ändert sich nichts an der alten Darstellung. Irgendwelche Ideen warum das so ist ??

IPSModuleManager-Log-IPSFileVersionHandle2012-05-10 19:33:58.01  Set Version IPSTwilight=2.50.1.Beta.Loading
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:58.02  Create Directory C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\install\DownloadListFiles
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:58.14  Copy C:\IP-Symcon\scripts\IPSLibrary\install\DownloadListFiles\IPSTwilight_FileList.ini --> C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\install\DownloadListFiles\IPSTwilight_FileList.ini
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:58.15  Copy https://raw.github.com/MCS-51/IPSLibrary/Development/IPSLibrary/install/DownloadListFiles/IPSTwilight_FileList.ini --> C:\IP-Symcon\scripts\IPSLibrary\install\DownloadListFiles\IPSTwilight_FileList.ini
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:58.84  Create Directory C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\install\InstallationScripts
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:58.84  Copy C:\IP-Symcon\scripts\IPSLibrary\install\InstallationScripts\IPSTwilight_Installation.ips.php --> C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\install\InstallationScripts\IPSTwilight_Installation.ips.php
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:58.84  Copy https://raw.github.com/MCS-51/IPSLibrary/Development/IPSLibrary/install/InstallationScripts/IPSTwilight_Installation.ips.php --> C:\IP-Symcon\scripts\IPSLibrary\install\InstallationScripts\IPSTwilight_Installation.ips.php
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:59.65  Create Directory C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\install\InitializationFiles\Default
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:59.65  Copy C:\IP-Symcon\scripts\IPSLibrary\install\InitializationFiles\Default\IPSTwilight.ini --> C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\install\InitializationFiles\Default\IPSTwilight.ini
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:33:59.66  Copy https://raw.github.com/MCS-51/IPSLibrary/Development/IPSLibrary/install/InitializationFiles/Default/IPSTwilight.ini --> C:\IP-Symcon\scripts\IPSLibrary\install\InitializationFiles\Default\IPSTwilight.ini
IPSModuleManager-Log-IPSScriptHandler    2012-05-10 19:34:00.21  Register Script IPSTwilight.ini in Program.IPSLibrary.install.InitializationFiles (File=C:\IP-Symcon\scripts\IPSLibrary\install\InitializationFiles\IPSTwilight.ini)
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:00.21  Create Directory C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\app\modules\Weather\IPSTwilight
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:00.21  Copy C:\IP-Symcon\scripts\IPSLibrary\app\modules\Weather\IPSTwilight\IPSTwilight.ips.php --> C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\app\modules\Weather\IPSTwilight\IPSTwilight.ips.php
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:00.22  Copy https://raw.github.com/MCS-51/IPSLibrary/Development/IPSLibrary/app/modules/Weather/IPSTwilight/IPSTwilight.ips.php --> C:\IP-Symcon\scripts\IPSLibrary\app\modules\Weather\IPSTwilight\IPSTwilight.ips.php
IPSModuleManager-Log-IPSScriptHandler    2012-05-10 19:34:01.26  Register Script IPSTwilight in Program.IPSLibrary.app.modules.Weather.IPSTwilight (File=C:\IP-Symcon\scripts\IPSLibrary\app\modules\Weather\IPSTwilight\IPSTwilight.ips.php)
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:01.26  Create Directory C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\config\modules\Weather\IPSTwilight\Default
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:01.26  Copy C:\IP-Symcon\scripts\IPSLibrary\config\modules\Weather\IPSTwilight\Default\IPSTwilight_Configuration.inc.php --> C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\config\modules\Weather\IPSTwilight\Default\IPSTwilight_Configuration.inc.php
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:01.27  Copy C:\IP-Symcon\scripts\IPSLibrary\config\modules\Weather\IPSTwilight\Default\IPSTwilight_Custom.inc.php --> C:\IP-Symcon\backup\IPSLibrary_Load\IPSLibrary_2012-05-10_1933\IPSLibrary\config\modules\Weather\IPSTwilight\Default\IPSTwilight_Custom.inc.php
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:01.27  Copy https://raw.github.com/MCS-51/IPSLibrary/Development/IPSLibrary/config/modules/Weather/IPSTwilight/Default/IPSTwilight_Configuration.inc.php --> C:\IP-Symcon\scripts\IPSLibrary\config\modules\Weather\IPSTwilight\Default\IPSTwilight_Configuration.inc.php
IPSModuleManager-Log-IPSFileHandler      2012-05-10 19:34:01.93  Copy https://raw.github.com/MCS-51/IPSLibrary/Development/IPSLibrary/config/modules/Weather/IPSTwilight/Default/IPSTwilight_Custom.inc.php --> C:\IP-Symcon\scripts\IPSLibrary\config\modules\Weather\IPSTwilight\Default\IPSTwilight_Custom.inc.php
IPSModuleManager-Log-IPSScriptHandler    2012-05-10 19:34:02.59  Register Script IPSTwilight_Configuration in Program.IPSLibrary.config.modules.Weather.IPSTwilight (File=C:\IP-Symcon\scripts\IPSLibrary\config\modules\Weather\IPSTwilight\IPSTwilight_Configuration.inc.php)
IPSModuleManager-Log-IPSScriptHandler    2012-05-10 19:34:02.59  Register Script IPSTwilight_Custom in Program.IPSLibrary.config.modules.Weather.IPSTwilight (File=C:\IP-Symcon\scripts\IPSLibrary\config\modules\Weather\IPSTwilight\IPSTwilight_Custom.inc.php)
IPSModuleManager-Log-IPSFileVersionHandle2012-05-10 19:34:02.59  Set Version IPSTwilight=2.50.1.Beta.Loaded
IPSModuleManager-Log-IPSFileVersionHandle2012-05-10 19:34:02.59  Set Version IPSTwilight=2.50.1.Beta.Installing
IPSModuleManager-Log-IPSModuleManager    2012-05-10 19:34:02.64  Created Media IPSTwilight_Mond=42191, File=C:\IP-Symcon\media\IPSTwilight_Mond.jpg
 Abort Processing during Error: Datei media\IPSTwilight_Mond.jpg wurde bereits für Mediendatei IPSTwilight_Mond.jpg registriert
   Error in Script C:\IP-Symcon\scripts\IPSLibrary\install\IPSInstaller\IPSInstaller.inc.php on Line 268

Hi,

wie hast Du upgedatet?

Hast Du die IPSTwilight_Mond.jpg schon per Hand angelegt?

Update:


IPSUtils_Include ("IPSModuleManager.class.php", "IPSLibrary::install::IPSModuleManager");
$moduleManager = new IPSModuleManager('IPSTwilight','https://raw.github.com/MCS-51/IPSLibrary/Development/');
$moduleManager->UpdateModule();

Welche Version hattest Du vorher drauf?
Von mir oder brownson?

GA

Ich hatte vorher die Version von Brownson installiert und danach nur einen update mit deinen Sources gemacht. Ansonsten nichts. Muss mal im Forum schauen aber mir war nicht klar das da mehr gemacht werden muss

Es muß nicht mehr gemacht werden.

So wie Du es getan hast passt es.

Ich habe es bei mir auch nochmal rauf und runter getestet.

Bei mir schnaggelt es.

Sorry. Kann Dir nicht sagen, warum bei Dir der Fehler auftritt.

Vielleicht hat brownson noch eine Idee.

GA

Ich hänge mich mal dran.
Habe das Brownson skript installiert, und dein update.
Sehe aber kein Mond pic. Könnte da auch Hilfe gebrauchen.

Hi,

Du kannst es auch Direkt von mir installieren.


IPSUtils_Include ("IPSModuleManager.class.php", "IPSLibrary::install::IPSModuleManager");
$moduleManager = new IPSModuleManager('IPSTwilight','https://raw.github.com/MCS-51/IPSLibrary/Development/');
$moduleManager->LoadModule();
// Jetzt die IPSTwilight.ini bearbeiten
//$moduleManager->InstallModule();

Wie lautet die letzte in der Scriptausgabe nach der Installation bzw. Update.

Dort muß dieses stehen:

Set Version IPSTwilight=2.50.5.Beta

Set Version IPSTwilight=2.50.1.Beta.Loaded
Muß ich noch irgendwo was eintragen?

Ansonsten probiert mal:


IPSUtils_Include ("IPSModuleManager.class.php", "IPSLibrary::install::IPSModuleManager");
$moduleManager = new IPSModuleManager('IPSTwilight','https://raw.github.com/MCS-51/IPSLibrary/Development/');
$moduleManager->LoadModule();
// Jetzt die IPSTwilight.ini bearbeiten
$moduleManager->InstallModule(); 

Statt Update.

GA

Danke für deine Hilfe.
Leider steht am Ende:

IPSModuleManager-Log-IPSFileVersionHandle2012-05-10 21:26:10.26 Set Version IPSTwilight=2.50.1.Beta.Loaded
IPSModuleManager-Log-IPSFileVersionHandle2012-05-10 21:26:10.26 Set Version IPSTwilight=2.50.1.Beta.Installing
Abort Processing during Error: Datei media\IPSTwilight_Mond.jpg wurde bereits für Mediendatei IPSTwilight_Mond.jpg registriert
Error in Script E:\IP-Symcon\scripts\IPSLibrary\install\IPSInstaller\IPSInstaller.inc.php on Line 268

@mac106 und @BestEx.

Datet mal eure Core Komponenten ab. Vielleicht stimmt da was nicht.

GA

Ah mit dem Update hier:

$moduleManager = new IPSModuleManager('IPSTwilight','https://raw.github.com/MCS-51/IPSLibrary/Development/'); 

hat es problemlos funktioniert. Sieht super aus, vor allem, weil der Rahmen jetzt auch transparent ist. :slight_smile:

Vielen Dank.