Parallel Port Power Control Plugin (2 Viewers)

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
Hey that's great that it's working. I find SVN for meadiportal to be fairly stable these days. Would you find it usefull if I provided a .exe file that can set/trigger pins via command line so that it can be scrippted and set to run at system startup? Hey Porro where about are you from?
 

porro

Portal Member
November 4, 2006
37
0
Hi Rhys. My name is Marco and I'm italian. (sorry for my english:rolleyes: )

Make me understand, you want to make a .exe file so you can set/trigger pins without MP. You mean in this way that to recompile your plugin it's not needed every time a new version of MP it's going out.

But if you make a .exe file then it's possible to use it in MP. My idea is to watch tv and at the same time enter MP menu and set light ON or OFF (I use PC like HTPC).

You already make me a big favour editing your plugin just like I said so I don't want to abuse your patience...Make .exe only if you wish and if you have time.
 

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
Hey Marco your english is fine :). Of course turning light and subwoofer etc On/Off with in Mediaportal is the main idea but if you have the problem where bios/windows causes the pins to trun things On/Off during startup then you could use a .exe after startup to reset everything to off. (I already use a program like this but the current version only support 4 pins and dosn't support trigger mode But if you would find this program useful then I can just modify to support 8pins and trigger mode) But maybe this won't work in your situation?

In my case it's not a very big problem since I run my media pc 24hours but it's still useful to have everything automatic.
 

porro

Portal Member
November 4, 2006
37
0
Now I'm using only 4 pins so you don't have to edit your program but anyway It's not useful in my case because my eletrician made a system to turn light on/off with relays (because there are 2 or 3 manual switches for every light) so I send triggered signal to every relay of every light.
My PC set pins on for 9,7 sec on start and 0.9 sec on shutting down so I've no the problem of resetting pins. Now I'm building a scheme like picture I posted so I use pin 8 to disable pin 2,3,4,5 just for the time pin 8 is ON. Yes I know, in this way I can plug only 7 devices instead of 8 but at the moment I'm using only 4 lights.
 

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
Hey Marco,
As my only offical tester (and maybe my only user ;) ) Have you found any bugs? If not I'll submit this release to the plug-ins download page.
 

porro

Portal Member
November 4, 2006
37
0
Hi Rhys!!

It seems to work fine. There's only a thing about the screen in mediaportal:

did you set position of buttons in your .dll? Because I've each button close together even if I edit skin with MP skin editor.
I checked .xml and it's ok but when I start MP nothing is changed.
This thing is in both version you made.
Anyway it is not a big problem so don't worry because your plugin is stable.

Just in my case I've got a problem: (2 transistors get failure, maybe It's due to use tester for checking voltage); 2 realys have always 4.3 V when pins are ON and 2.7 V when pins are OFF so I think It's because of transistors. In these days I'll buy some BC547 and I hope to fix it.

Bye
 

porro

Portal Member
November 4, 2006
37
0
Yes. Now it's working but I'm waiting for electrician to plug it with lamps.
I hope he's coming soon, then I'll tell you if everything work...
Can you tell me if you set buttons positions in .dll because even if I edit skin positions are the same everytime?
 

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
Hey Porro, sorry for taking so long to get back to you havn't been on the forum for a while. yes the positions are specified in the dll, the reason being is that depending on which button is enabled will dpend on where it is. So if button 1 and 7 and 8 are enable in setup then they will all be drawn next to each other rather than having a big gap between 1 and 7, if that makes sense. there maybe a better way of doing it I think? Are you using the plug-in? is it causing problems? are the buttons overlapping?

cheers,
Rhys
 

Users who are viewing this thread

Similar threads

restarting is supported but depends on the reason why it failed. As an external tool try JDownloader.org - Official Homepage
restarting is supported but depends on the reason why it failed. As an external tool try JDownloader.org - Official Homepage
Earlier this year I changed my internet service provider from a landline (where I was consistently overcharged), to a mains-powered...
Replies
1
Views
845
I need to try MadVR, I hope my Intel NAC can manage it.
I need to try MadVR, I hope my Intel NAC can manage it.
Remember PAL DVDs of US movies and TV Shows, and how they were converted to 25 fps thus introducing a "smurf lite" pitch on the...
Replies
2
Views
597
You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
Replies
5
Views
2K
  • Sticky
Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5221] - Core: Fix...
Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
Replies
0
Views
699
Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested [2024-03-03 18:26:58,262] [Log ] [MPMain ] [DEBUG] - Main: TV service found. Checking status... [2024-03-03 18:26:58,263] [Log ] [MPMain ] [INFO ] - Main: TV service is in status Running - proceeding...
Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested...
MediaPortal 1.33 Release Written by Team-MediaPortal. We have just released MediaPortal 1.33 - Springtime / 20th Anniversary...
Replies
7
Views
2K
Top Bottom