IPS 7.0 und IPSLibrary

Das hat geholfen, vielen Dank. Damit konnte ich die Updates der Module durchführen. Allerdings ist die auskommentierte Zeile immer noch drin. Muss man dieses Skript anders updaten?

So tief stecke ich da nicht drin. Aber das würde ich ignorieren.

Danke Alexandro,

aber irgendwie hab ich ein komisches Verhalten von dem ganzen. Bis es den Status „OK“ in der Übersicht bekommen hab musste ich 3 mal installieren. Nachdem dann endlich das OK da war, hab ich im Web eine komplett vertauschte Anordnung vorgefunden. Die TOP Bereiche waren unten und die Button oben bei jedem Rolladen, auch war keine Ordnung mehr von der Anzeige der Beschattungselemente, Reihenfolge Device 1- x in der Menüleiste diese wurde irgendwie aufgebaut. Szenarien und Profile gehn gar nicht mehr.

Wenigstens geht die Ansteuerung über die Library wieder, die Ansteuerung über das Bordmittel Rolladensteuerung (Lagacy) ist ja eine Katastrophe sowie auch die Positionierung der Rollläden)

Obwohl die Instanz zur Ansteuerung verwendet, wird geht dies über IPSShadowing viel zuverlässiger.

Vieleicht hat jemand eine Idee zu dem beschriebenen Problem.

Danke Gruß Dirk

Servus Dirk,

die Library funktioniert ja jetzt wieder. Für alles weitere solltest im richtigen Unterforum um Hilfe suchen. Ich habe das Modul schon vor längerem gegen das Blind Modul von bumaas getauscht und bin super happy damit.

VG Alex

Gibt es für nicht ganz versierte, die jetzt dummerweise auf V7 sind eine kurze Anleitung wie das mit den IPSLogger gefixt werden kann? Ich hab jetzt einzelne Punkte in diesem Thread probiert aber immer noch kein Erfolg. Danke vielmals.

Dies ist die elementare Stelle. Danach den Dienst neu starten. Dann sollte sich der Rest über die Library updaten lassen.

Hat jemand das Modul Busbahninfo im Einsatz ?
Habe dieses nach dem Update auf 7.1 neu installiert und nun wird die Webseite /user/BusBahnInfo/0.html nicht mehr mit den Infos der Haltestellen aktualisiert, jedoch werden die Variablen für die Haltestellen neu angelegt und auch aktualisiert.
Auch finde ich keine Installationsanweisungen mehr auf der Webseite von IPSLibrary

Zu dem Modul gibt es hier einen Thread:

Vielleicht kann @1007 dazu etwas sagen. Ich vermute, dass der geänderte Pfad zum user Verzeichnis die Ursache ist.

Ich seh mir das an, aber ohne jetzt schon mal reingeschaut habe sehe ich das genau so.

Hallo,

ich hab jetzt auch vor dem Upgrade auf 7.4 die IPS Library aktualisiert.
So weit, so gut, es funktioniert auch alles, nur kommt bei der Verwaltungsübersicht der IPS Library nun folgende Fehlermeldung:

Hat jemand eine Idee?

Mir sagt weder der Pfad, noch die Datei „IPSModuleManagerGUI.php“ etwas.

Kannst du mal den Inhalt der Datei posten?

Der Ordner /webfront/user/… wurde ersetzt durch /user/…
Im Script muessten die Zeile fuer die Version ab 7 ersetzt werden.
Ersetze mal bitte zum schnellem Testen die angehaenget Datei in
scripts\IPSLibrary\app\modules\Informationen\BusBahnInfo

busbahninforefresh.ips.zip (6,4 KB)

Ja, siehe unten, in zeile 159 steht „default“ :

<?php 
	/**
	 * This file is part of the IPSLibrary.
	 *
	 * The IPSLibrary is free software: you can redistribute it and/or modify
	 * it under the terms of the GNU General Public License as published
	 * by the Free Software Foundation, either version 3 of the License, or
	 * (at your option) any later version.
	 *
	 * The IPSLibrary is distributed in the hope that it will be useful,
	 * but WITHOUT ANY WARRANTY; without even the implied warranty of
	 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
	 * GNU General Public License for more details.
	 *
	 * You should have received a copy of the GNU General Public License
	 * along with the IPSLibrary. If not, see http://www.gnu.org/licenses/gpl.txt.
	 */

	/**@addtogroup ipscam
	 * @{
	 *
	 * @file          IPSCam_Camera.php
	 * @author        Andreas Brauneis
	 * @version
	 *   Version 2.50.1, 10.09.2012<br/>
	 *
	 * File kann in das WebFront bzw. MobileFront eingebunden und ermöglicht den Zugriff auf Kameras
	 *location.reload();
	 */

	/** @}*/
?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
		<meta http-equiv="Pragma" content="no-cache">
		<meta http-equiv="Expires" content="0">

		<link rel="stylesheet" type="text/css" href="/user/IPSModuleManagerGUI/IPSModuleManagerGUI.css" />'

		<script type="text/javascript" src="jquery.min.js"></script>

		<script type="text/javascript" charset="ISO-8859-1" >
			function trigger_button(action, module, info) {
				var id         = $(this).attr("id");

				$.ajax({type: "POST",
						url: "/user/IPSModuleManagerGUI/IPSModuleManagerGUI_Receiver.php",
						data: "id="+id+"&action="+action+"&module="+module+"&info="+info});
			}

			function trigger_button2(action, module, info) {
				var id                    = $(this).attr("id");
				var WFC10Enabled          = $("#WFC10Enabled").is(':checked');
				var WFC10TabPaneExclusive = $("#WFC10TabPaneExclusive").is(':checked');
				var WFC10Path             = $("#WFC10Path").val();
				var WFC10ID               = $("#WFC10ID").val();
				var WFC10TabPaneParent    = $("#WFC10TabPaneParent").val();
				var WFC10TabPaneItem      = $("#WFC10TabPaneItem").val();
				var WFC10TabPaneIcon      = $("#WFC10TabPaneIcon").val();
				var WFC10TabPaneName      = $("#WFC10TabPaneName").val();
				var WFC10TabPaneOrder     = $("#WFC10TabPaneOrder").val();
				var WFC10TabItem          = $("#WFC10TabItem").val();
				var WFC10TabIcon          = $("#WFC10TabIcon").val();
				var WFC10TabName          = $("#WFC10TabName").val();
				var WFC10TabOrder         = $("#WFC10TabOrder").val();
	
				var MobileEnabled         = $("#MobileEnabled").is(':checked');
				var MobilePath            = $("#MobilePath").val();
				var MobilePathIcon        = $("#MobilePathIcon").val();
				var MobilePathOrder       = $("#MobilePathOrder").val();
				var MobileName            = $("#MobileName").val();
				var MobileIcon            = $("#MobileIcon").val();
				var MobileOrder           = $("#MobileOrder").val();

				$.ajax({type: "POST",
						url: "/user/IPSModuleManagerGUI/IPSModuleManagerGUI_Receiver.php",
						contentType:"application/x-www-form-urlencoded; charset=ISO-8859-1",
						data: "id="+encodeURIComponent(id)
						       +"&action="+encodeURIComponent(action)
						       +"&module="+encodeURIComponent(module)
						       +"&info="+encodeURIComponent(info)+
						       +"&WFC10Enabled="+encodeURIComponent(WFC10Enabled)
						       +"&WFC10TabPaneExclusive="+encodeURIComponent(WFC10TabPaneExclusive)
						       +"&WFC10Path="+encodeURIComponent(WFC10Path)
						       +"&WFC10ID="+encodeURIComponent(WFC10ID)
						       +"&WFC10TabPaneParent="+encodeURIComponent(WFC10TabPaneParent)
						       +"&WFC10TabPaneItem="+encodeURIComponent(WFC10TabPaneItem)
						       +"&WFC10TabPaneIcon="+encodeURIComponent(WFC10TabPaneIcon)
						       +"&WFC10TabPaneName="+encodeURIComponent(WFC10TabPaneName)
						       +"&WFC10TabPaneOrder="+encodeURIComponent(WFC10TabPaneOrder)
						       +"&WFC10TabItem="+encodeURIComponent(WFC10TabItem)
						       +"&WFC10TabIcon="+encodeURIComponent(WFC10TabIcon)
						       +"&WFC10TabName="+encodeURIComponent(WFC10TabName)
						       +"&WFC10TabOrder="+encodeURIComponent(WFC10TabOrder)
						       +"&MobileEnabled="+encodeURIComponent(MobileEnabled)
						       +"&MobilePath="+encodeURIComponent(MobilePath)
						       +"&MobilePathIcon="+encodeURIComponent(MobilePathIcon)
						       +"&MobilePathOrder="+encodeURIComponent(MobilePathOrder)
						       +"&MobileName="+encodeURIComponent(MobileName)
						       +"&MobileIcon="+encodeURIComponent(MobileIcon)
						       +"&MobileOrder="+encodeURIComponent(MobileOrder)
						});
						
			}


		</script>

	</head>
	<body >
		<a href="#" onClick=trigger_button('Refresh','','')>Refresh</a> |
		<a href="#" onClick=trigger_button('Overview','','')>&Uuml;bersicht</a> |
		<a href="#" onClick=trigger_button('Logs','','')>Log File's</a> |
		<a href="#" onClick=trigger_button('Updates','','')>Update's</a> |
		<a href="#" onClick=trigger_button('NewModule','','')>Neues Modul</a>
		<?php
			IPSUtils_Include ("IPSModuleManagerGUI.inc.php", "IPSLibrary::app::modules::IPSModuleManagerGUI");

			$baseId  = IPSUtil_ObjectIDByPath('Program.IPSLibrary.data.modules.IPSModuleManagerGUI');
			$action  = GetValue(IPS_GetObjectIDByIdent(IPSMMG_VAR_ACTION, $baseId));
			$module  = GetValue(IPS_GetObjectIDByIdent(IPSMMG_VAR_MODULE, $baseId));
			$info    = GetValue(IPS_GetObjectIDByIdent(IPSMMG_VAR_INFO,   $baseId));

			$processing = !IPSModuleManagerGUI_GetLock();
			if (!$processing) {
				IPSModuleManagerGUI_ReleaseLock();
			} else {
				echo '| Processing ...';
			}
		?>
		<BR>
		<BR>
		<?php
			switch($action) {
				case IPSMMG_ACTION_OVERVIEW:
					include 'IPSModuleManagerGUI_Overview.php';
					break;
				case IPSMMG_ACTION_UPDATES:
					include 'IPSModuleManagerGUI_Updates.php';
					break;
				case IPSMMG_ACTION_MODULE:
					include 'IPSModuleManagerGUI_Module.php';
					break;
				case IPSMMG_ACTION_WIZARD:
					include 'IPSModuleManagerGUI_Wizard.php';
					break;
				case IPSMMG_ACTION_LOGS:
					include 'IPSModuleManagerGUI_Logs.php';
					break;
				case IPSMMG_ACTION_LOGFILE:
					include 'IPSModuleManagerGUI_LogFile.php';
					break;
				case IPSMMG_ACTION_NEWMODULE:
					include 'IPSModuleManagerGUI_NewModule.php';
					break;
				default:
					trigger_error('Unknown Action '.$action);
			}
		?>

	</body>
</html>



Ok. Der Fehler kommt in Zeile 160:

					trigger_error('Unknown Action '.$action);

Ich kann nur spekulieren: $action ist unerwartet leer.

Action wir aus der gleichnamigen Variablen geholt:

Die müsste nach meiner Theorie bei dir leer sein. Warum auch immer.

Schreibe da mal „Overview“ rein. Ich kann mir vorstellen, dass das schon hilft.

Interessants Phänomen, ich habe nachgeschaut und da stand bereits „Overview“ drinnen.
Hab danach die IPS Library übers Webfrontend aufgerufen und jetzt funktioniert plötzlich alles wieder.
Danke jedenfalls.

Ich habe zur Zeit folgende Fehlermeldungen (immer zur gleichen Zeit um 03:23:10):

22.06.2024, 03:23:10 | ScriptEngine         | Result for Event 34212
Process Repsoitory https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSModuleManager in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSModuleManagerGUI in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSLogger in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSComponent in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSMessageHandler in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSEDIP in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing AudioMax in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSHomematic in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing NetPlayer in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing Entertainment in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSWeatherForcastAT in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSTwilight in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSLight in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSWatering in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSShadowing in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSCam in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSPowerControl in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
   Processing IPSHighcharts in https://raw.githubusercontent.com/brownson/IPSLibrary/Development/
Process Repsoitory https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSModuleManager in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSModuleManagerGUI in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSLogger in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSComponent in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSMessageHandler in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSEDIP in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing AudioMax in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSHomematic in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing NetPlayer in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing Entertainment in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSWeatherForcastAT in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSTwilight in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSLight in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSWatering in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSShadowing in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSCam in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSPowerControl in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
   Processing IPSHighcharts in https://raw.githubusercontent.com/mcs-51/IPSLibrary/Development/
Process Repsoitory https://raw.githubusercontent.com/1007/IPS1007Library/master/
   Processing Plugwise in https://raw.githubusercontent.com/1007/IPS1007Library/master/
   Processing BusBahnInfo in https://raw.githubusercontent.com/1007/IPS1007Library/master/
   Processing WithingsInfo in https://raw.githubusercontent.com/1007/IPS1007Library/master/
   Processing GeofencyInfo in https://raw.githubusercontent.com/1007/IPS1007Library/master/
Process Repsoitory https://raw.githubusercontent.com/jokide/jokideIPSLibrary/master/
   Processing IPSSonos in https://raw.githubusercontent.com/jokide/jokideIPSLibrary/master/

Ausserdem erhalte ich auch immer wieder folgende Fehlermeldung:

22.06.2024, 08:00:00 | EventManager         | Ereignis #38087 hat keine Aktion definiert, wird jedoch aus Kompatibilitätsgründen das Skript starten!

dies betrifft wohl das folgende Objekt/Ereignis.

Leider bin ich nicht daraus schlau geworden… :slight_smile: Kann ich dies irgendwie korrigieren?

Danke schon mal
Martin

Die „Fehlermeldung“ ist aber nur eine Info die vermutlich durch eine Änderung in 7.x kam.

Ralf

Stimmt, diese Meldungen werden als „Warnung“ angezeigt. Bin mir nur nicht sicher, was ich damit anfangen soll…

Fuehre mal folgendes Script aus :

$id = 38087;
IPS_SetEventAction($id, '{7938A5A2-0981-5FE0-BE6C-8AA610D654EB}', []);


1 „Gefällt mir“

:+1:Danke, hat soweit geklappt.

Betreffend der anderen „Warnmeldung“ ==> einfach ignorieren (was mir zwar nicht so gefällt… :slight_smile: )