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
Development
General Development (no feature request here!)
An idea about interoperability and scripting...
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="Clodo" data-source="post: 21319" data-attributes="member: 13653"><p>I try to explain my project.</p><p></p><p></p><p>I'm trying to develop a home-automation solution.</p><p></p><p>I have four htpc with MP installed, and each htpc control differents aspect of</p><p>home automation.</p><p></p><p>There are many device in an house that can be connected and controlled by an htpc,</p><p>In my house for example:</p><p>- An EIB bus installation to control light, sensor and motor (via RS232),</p><p>- WS3600 meteo station (via RS232)</p><p>- Denon Amplifier (via RS232)</p><p>- NEC PlasmaSync (via RS232)</p><p>- etc...</p><p></p><p>I want to implement a totally integrated system, using MP as interface, to control</p><p>all my home-automation, but i want also to contribute to this wonderful project.</p><p></p><p>For example.... the Denon Amplifier, i don't want to write a window-plugin that show some</p><p>simple command, because the selection of the commands to show for me it's a personal stuffs,</p><p>i want to write a plugin for interoperability, that allow all method</p><p>and events supported by Denon, and leave the "connection" between the IDE and the plugin to</p><p>the users directly, for example with a script like</p><p>"When i press F9, send 'Switch audio source' on Denon".</p><p>But i want also a command like "When i activate the 'close house' via eib, send 'Power off' on Denon".</p><p>So i need also remoting access between my 4 htpc in the house.</p><p></p><p>A xml web services, the interoperability solution used by 'webinterface plugin',</p><p>for me it's not the correct technique: restricted var type, http layer useless etc..</p><p></p><p>The best solution can be a normal .NET class library with all Denon functions, with method and</p><p>also events, and allow people to write script to control it using MyScript plugin, but</p><p>it's required a little bit of c# knowledge (particularry about event's handler) to use it from a generic non-devs MP users, and</p><p>i need to use net remoting (like the 'external control plugin') that add complexity.</p><p></p><p>If i understand correctly, the PVRX have the same complexity; i look the API, it's sound like a PVR-specific solutions... right?</p><p></p><p>So, i post the idea (this topic thread) to create a custom 'console like' management of method and events,</p><p>so i can create a normal .NET class library with public method and events for advanced/developers need,</p><p>and a 'console' layer for people that don't know very well c# and want to use it 'out of the box',</p><p>with a simple script or macro-style wizards that generate the scripts...</p><p></p><p></p><p></p><p>... I have the same problem with the EIB instabus, NEC PlasmaSync,</p><p>WS3600 meteo station, irrigation system, sensors, and other PIC/PLC controlled also by RS232 etc..</p><p></p><p>For each stuffs there are many open-source project, but there isn't a common unique</p><p>interface for an interoperability between system.</p><p></p><p>A stupid example, if i want to close my windows and show a notification in MP when rains,</p><p>i need the same code layers that control the meteo station, the EIB bus, and MP in the HTPC.</p><p></p><p></p><p>For me, can be a wonderful unique feature if MP can interact with different home systems</p><p>like the AMX or Creston systems (home/building-automation solutions). But there are many home electronics</p><p>that can be connected and need specific class library, so the code techique must be appreciated by many</p><p>possibile developers of this community..</p><p></p><p>so ... is the right direction? exists other better solutions?</p><p></p><p></p><p></p><p>Thanks! Specially to people that read all this post!</p></blockquote><p></p>
[QUOTE="Clodo, post: 21319, member: 13653"] I try to explain my project. I'm trying to develop a home-automation solution. I have four htpc with MP installed, and each htpc control differents aspect of home automation. There are many device in an house that can be connected and controlled by an htpc, In my house for example: - An EIB bus installation to control light, sensor and motor (via RS232), - WS3600 meteo station (via RS232) - Denon Amplifier (via RS232) - NEC PlasmaSync (via RS232) - etc... I want to implement a totally integrated system, using MP as interface, to control all my home-automation, but i want also to contribute to this wonderful project. For example.... the Denon Amplifier, i don't want to write a window-plugin that show some simple command, because the selection of the commands to show for me it's a personal stuffs, i want to write a plugin for interoperability, that allow all method and events supported by Denon, and leave the "connection" between the IDE and the plugin to the users directly, for example with a script like "When i press F9, send 'Switch audio source' on Denon". But i want also a command like "When i activate the 'close house' via eib, send 'Power off' on Denon". So i need also remoting access between my 4 htpc in the house. A xml web services, the interoperability solution used by 'webinterface plugin', for me it's not the correct technique: restricted var type, http layer useless etc.. The best solution can be a normal .NET class library with all Denon functions, with method and also events, and allow people to write script to control it using MyScript plugin, but it's required a little bit of c# knowledge (particularry about event's handler) to use it from a generic non-devs MP users, and i need to use net remoting (like the 'external control plugin') that add complexity. If i understand correctly, the PVRX have the same complexity; i look the API, it's sound like a PVR-specific solutions... right? So, i post the idea (this topic thread) to create a custom 'console like' management of method and events, so i can create a normal .NET class library with public method and events for advanced/developers need, and a 'console' layer for people that don't know very well c# and want to use it 'out of the box', with a simple script or macro-style wizards that generate the scripts... ... I have the same problem with the EIB instabus, NEC PlasmaSync, WS3600 meteo station, irrigation system, sensors, and other PIC/PLC controlled also by RS232 etc.. For each stuffs there are many open-source project, but there isn't a common unique interface for an interoperability between system. A stupid example, if i want to close my windows and show a notification in MP when rains, i need the same code layers that control the meteo station, the EIB bus, and MP in the HTPC. For me, can be a wonderful unique feature if MP can interact with different home systems like the AMX or Creston systems (home/building-automation solutions). But there are many home electronics that can be connected and need specific class library, so the code techique must be appreciated by many possibile developers of this community.. so ... is the right direction? exists other better solutions? Thanks! Specially to people that read all this post! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
An idea about interoperability and scripting...
Contact us
RSS
Top
Bottom