Normal
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 ofhome 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 controlall 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 somesimple 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 methodand events supported by Denon, and leave the "connection" between the IDE and the plugin tothe 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 andalso events, and allow people to write script to control it using MyScript plugin, butit's required a little bit of c# knowledge (particularry about event's handler) to use it from a generic non-devs MP users, andi 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 uniqueinterface 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 systemslike the AMX or Creston systems (home/building-automation solutions). But there are many home electronicsthat can be connected and need specific class library, so the code techique must be appreciated by manypossibile developers of this community..so ... is the right direction? exists other better solutions?Thanks! Specially to people that read all this post!
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!