home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MQTT Plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="charli181" data-source="post: 1289784" data-attributes="member: 54408"><p>tried mpe1 1.0.0.5 and the install went perfect.... awesome work thanks.</p><p></p><p></p><p>Now I have a new issue (Minor one) - when I send a message , in the MP log i see an error when I send a message through from HA.The message comes up and disappears as expected, just htis error is printed in the logs everytime a message comes through.</p><p></p><p>Mediaportal.log extract</p><p></p><p>[2022-07-02 11:46:18,932] [Error ] [57 ] [ERROR] - LoadSkin: Running on wrong thread - StackTrace: ' at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)</p><p> at System.Environment.get_StackTrace()</p><p> at MediaPortal.GUI.Library.GUIWindow.LoadSkinBool()</p><p> at MediaPortal.GUI.Library.GUIWindow.AllocResources()</p><p> at MQTTPlugin.QueueHandler.ShowQueue()</p><p> at System.Threading.ThreadHelper.ThreadStart_Context(Object state)</p><p> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</p><p> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</p><p> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)</p><p> at System.Threading.ThreadHelper.ThreadStart()'</p><p></p><p>MQTTPlugin.log extract</p><p>2/07/2022 11:46:18 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/totaltime - 217</p><p>2/07/2022 11:46:18 AM[Debug] Message with Id: 693 published.</p><p>2/07/2022 11:46:18 AM[Debug] Message 693 sended.</p><p>2/07/2022 11:46:18 AM[Debug] Message sended: 694: Mediaportal/HTPC_J3710/Player/remainingtime - 8 - 2 - True</p><p>2/07/2022 11:46:18 AM[Debug] Message with Id: 694 published.</p><p>2/07/2022 11:46:18 AM[Debug] Message 694 sended.</p><p>2/07/2022 11:46:18 AM[Debug] Message sended: 695: Mediaportal/HTPC_J3710/Player/totaltime - 217 - 2 - True</p><p>2/07/2022 11:46:18 AM[Debug] Message with Id: 695 published.</p><p>2/07/2022 11:46:18 AM[Debug] Message 695 sended.</p><p>2/07/2022 11:46:18 AM[Debug] Message received: [Mediaportal/HTPC_J3710/Command/message]: {"header":"Motion Detected - Front Yard","line1":"line1","line2":"line2","timeout":120,"image":"<a href="http://192.168.0.103:8123/api/frigate/notifications/1656725115.26113-vf2zg7/snapshot.jpg" target="_blank">http://192.168.0.103:8123/api/frigate/notifications/1656725115.26113-vf2zg7/snapshot.jpg</a>"}</p><p>2/07/2022 11:46:18 AM[Debug] Message to received...</p><p>2/07/2022 11:46:18 AM[Debug] Add Message to Queue...</p><p>2/07/2022 11:46:18 AM[Debug] Dialog is not busy, fire ShowQueue Thread</p><p>2/07/2022 11:46:18 AM[Debug] Mark message dialog busy</p><p>2/07/2022 11:46:18 AM[Debug] Number of messages in queue: 1</p><p>2/07/2022 11:46:18 AM[Debug] Message Header: Motion Detected - Front Yard</p><p>2/07/2022 11:46:18 AM[Debug] Message Line 1: line1</p><p>2/07/2022 11:46:18 AM[Debug] Message Line 2: line2</p><p>2/07/2022 11:46:18 AM[Debug] Message given image: <a href="http://someserver/api/frigate/notifications/1656725115.26113-vf2zg7/snapshot.jpg" target="_blank">http://someserver/api/frigate/notifications/1656725115.26113-vf2zg7/snapshot.jpg</a></p><p>2/07/2022 11:46:18 AM[Debug] Message processed image: C:\ProgramData\team mediaportal\mediaportal\thumbs\MQTTPlugin\MQTTPluginIcon.png</p><p>2/07/2022 11:46:18 AM[Debug] Message timeout: 120</p><p>2/07/2022 11:46:18 AM[Debug] Showing Message Dialog</p><p>2/07/2022 11:46:18 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Message/Displaying/message - Motion Detected - Front Yard</p><p>2/07/2022 11:46:18 AM[Debug] Displaying Message Trigger: Motion Detected - Front Yard</p><p>2/07/2022 11:46:18 AM[Debug] Message sended: 696: Mediaportal/HTPC_J3710/Message/Displaying/message - Motion Detected - Front Yard - 2 - True</p><p>2/07/2022 11:46:18 AM[Debug] Message with Id: 696 published.</p><p>2/07/2022 11:46:18 AM[Debug] Message 696 sended.</p><p>2/07/2022 11:46:19 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/playtime - 210</p><p>2/07/2022 11:46:19 AM[Debug] Message sended: 697: Mediaportal/HTPC_J3710/Player/playtime - 210 - 2 - True</p><p>2/07/2022 11:46:19 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/remainingtime - 8</p><p>2/07/2022 11:46:19 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/totaltime - 218</p><p>2/07/2022 11:46:19 AM[Debug] Message with Id: 697 published.</p><p>2/07/2022 11:46:19 A</p></blockquote><p></p>
[QUOTE="charli181, post: 1289784, member: 54408"] tried mpe1 1.0.0.5 and the install went perfect.... awesome work thanks. Now I have a new issue (Minor one) - when I send a message , in the MP log i see an error when I send a message through from HA.The message comes up and disappears as expected, just htis error is printed in the logs everytime a message comes through. Mediaportal.log extract [2022-07-02 11:46:18,932] [Error ] [57 ] [ERROR] - LoadSkin: Running on wrong thread - StackTrace: ' at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at MediaPortal.GUI.Library.GUIWindow.LoadSkinBool() at MediaPortal.GUI.Library.GUIWindow.AllocResources() at MQTTPlugin.QueueHandler.ShowQueue() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()' MQTTPlugin.log extract 2/07/2022 11:46:18 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/totaltime - 217 2/07/2022 11:46:18 AM[Debug] Message with Id: 693 published. 2/07/2022 11:46:18 AM[Debug] Message 693 sended. 2/07/2022 11:46:18 AM[Debug] Message sended: 694: Mediaportal/HTPC_J3710/Player/remainingtime - 8 - 2 - True 2/07/2022 11:46:18 AM[Debug] Message with Id: 694 published. 2/07/2022 11:46:18 AM[Debug] Message 694 sended. 2/07/2022 11:46:18 AM[Debug] Message sended: 695: Mediaportal/HTPC_J3710/Player/totaltime - 217 - 2 - True 2/07/2022 11:46:18 AM[Debug] Message with Id: 695 published. 2/07/2022 11:46:18 AM[Debug] Message 695 sended. 2/07/2022 11:46:18 AM[Debug] Message received: [Mediaportal/HTPC_J3710/Command/message]: {"header":"Motion Detected - Front Yard","line1":"line1","line2":"line2","timeout":120,"image":"[URL]http://192.168.0.103:8123/api/frigate/notifications/1656725115.26113-vf2zg7/snapshot.jpg[/URL]"} 2/07/2022 11:46:18 AM[Debug] Message to received... 2/07/2022 11:46:18 AM[Debug] Add Message to Queue... 2/07/2022 11:46:18 AM[Debug] Dialog is not busy, fire ShowQueue Thread 2/07/2022 11:46:18 AM[Debug] Mark message dialog busy 2/07/2022 11:46:18 AM[Debug] Number of messages in queue: 1 2/07/2022 11:46:18 AM[Debug] Message Header: Motion Detected - Front Yard 2/07/2022 11:46:18 AM[Debug] Message Line 1: line1 2/07/2022 11:46:18 AM[Debug] Message Line 2: line2 2/07/2022 11:46:18 AM[Debug] Message given image: [URL]http://someserver/api/frigate/notifications/1656725115.26113-vf2zg7/snapshot.jpg[/URL] 2/07/2022 11:46:18 AM[Debug] Message processed image: C:\ProgramData\team mediaportal\mediaportal\thumbs\MQTTPlugin\MQTTPluginIcon.png 2/07/2022 11:46:18 AM[Debug] Message timeout: 120 2/07/2022 11:46:18 AM[Debug] Showing Message Dialog 2/07/2022 11:46:18 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Message/Displaying/message - Motion Detected - Front Yard 2/07/2022 11:46:18 AM[Debug] Displaying Message Trigger: Motion Detected - Front Yard 2/07/2022 11:46:18 AM[Debug] Message sended: 696: Mediaportal/HTPC_J3710/Message/Displaying/message - Motion Detected - Front Yard - 2 - True 2/07/2022 11:46:18 AM[Debug] Message with Id: 696 published. 2/07/2022 11:46:18 AM[Debug] Message 696 sended. 2/07/2022 11:46:19 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/playtime - 210 2/07/2022 11:46:19 AM[Debug] Message sended: 697: Mediaportal/HTPC_J3710/Player/playtime - 210 - 2 - True 2/07/2022 11:46:19 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/remainingtime - 8 2/07/2022 11:46:19 AM[Debug] Message to be sent: Mediaportal/HTPC_J3710/Player/totaltime - 218 2/07/2022 11:46:19 AM[Debug] Message with Id: 697 published. 2/07/2022 11:46:19 A [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MQTT Plugin
Contact us
RSS
Top
Bottom