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
EventGhostPlus
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="wawa79" data-source="post: 1042349" data-attributes="member: 85529"><p>Hello,</p><p></p><p>This plugin gives me endless ideas to extend possible interactions of MP with HomeSeer-based automation system. Catching MP messages in EG allows HomeSeer to know what I am doing in MP and sending messages from EG to MP allows visual notification from HomeSeer when MP is On.</p><p></p><p>But I have an issue with the Mediaportal Message Sender: when the message contains characters such as é è ô, they are replaced by ? in the message popup in Mediaportal. I suppose it is a character-set issue.</p><p>My search for a work-around with a Python script ( mystring.encode('????') or mystring.decode('????') or escaping the string sequence was unsuccessful! I just managed to freeze MP with my tests.</p><p></p><p>Could you help me to fix the issue?</p><p></p><p>By the way, i also wrote a simple macro in Eventghost to dismiss any displaying popup message in MP when a second message is received (basically it sends an "OK" command when a popup is already displayed). </p><p>Because HomeSeer notifies me for various events (such as garage doors opening/opened/closed), dismissing previous popup is really useful to avoid popup accumulation in MP</p><p>The macro works fine but could be replaced by an additional parameter to force popup replacement or not: idea for your next release!</p><p></p><p>[CODE]<?xml version="1.0" encoding="UTF-8" ?></p><p><EventGhost Version="1582"></p><p> <Folder Name="MP messaging" Expanded="True"></p><p> <Macro Name="not displaying message" Expanded="True"></p><p> <Event Name="TCP.MediaPortal.Message.Closed" /></p><p> <Action></p><p> EventGhost.DisableItem(XmlIdLink(52))</p><p> </Action></p><p> </Macro></p><p> <Macro Name="displaying message"></p><p> <Event Name="TCP.MediaPortal.Message.Displaying" /></p><p> <Action></p><p> EventGhost.EnableItem(XmlIdLink(52))</p><p> </Action></p><p> </Macro></p><p> <Macro Name="Send message to MP" id="49" Expanded="True"></p><p> <Event Name="Main.HomeSeer.MPMessage" /></p><p> <Action Name="Dismiss existing message" id="52" Enabled="False"></p><p> MPMessageSender.SendRemoteButton(u'Ok')</p><p> </Action></p><p> <Action></p><p> MPMessageSender.SendMessage(u'EventGhostPlus Message', u'This message overrides previously displayed message', u'', 60, u'')</p><p> </Action></p><p> </Macro></p><p> </Folder></p><p></EventGhost>[/CODE]</p></blockquote><p></p>
[QUOTE="wawa79, post: 1042349, member: 85529"] Hello, This plugin gives me endless ideas to extend possible interactions of MP with HomeSeer-based automation system. Catching MP messages in EG allows HomeSeer to know what I am doing in MP and sending messages from EG to MP allows visual notification from HomeSeer when MP is On. But I have an issue with the Mediaportal Message Sender: when the message contains characters such as é è ô, they are replaced by ? in the message popup in Mediaportal. I suppose it is a character-set issue. My search for a work-around with a Python script ( mystring.encode('????') or mystring.decode('????') or escaping the string sequence was unsuccessful! I just managed to freeze MP with my tests. Could you help me to fix the issue? By the way, i also wrote a simple macro in Eventghost to dismiss any displaying popup message in MP when a second message is received (basically it sends an "OK" command when a popup is already displayed). Because HomeSeer notifies me for various events (such as garage doors opening/opened/closed), dismissing previous popup is really useful to avoid popup accumulation in MP The macro works fine but could be replaced by an additional parameter to force popup replacement or not: idea for your next release! [CODE]<?xml version="1.0" encoding="UTF-8" ?> <EventGhost Version="1582"> <Folder Name="MP messaging" Expanded="True"> <Macro Name="not displaying message" Expanded="True"> <Event Name="TCP.MediaPortal.Message.Closed" /> <Action> EventGhost.DisableItem(XmlIdLink(52)) </Action> </Macro> <Macro Name="displaying message"> <Event Name="TCP.MediaPortal.Message.Displaying" /> <Action> EventGhost.EnableItem(XmlIdLink(52)) </Action> </Macro> <Macro Name="Send message to MP" id="49" Expanded="True"> <Event Name="Main.HomeSeer.MPMessage" /> <Action Name="Dismiss existing message" id="52" Enabled="False"> MPMessageSender.SendRemoteButton(u'Ok') </Action> <Action> MPMessageSender.SendMessage(u'EventGhostPlus Message', u'This message overrides previously displayed message', u'', 60, u'') </Action> </Macro> </Folder> </EventGhost>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
EventGhostPlus
Contact us
RSS
Top
Bottom