Parallel Port Power Control Plugin (1 Viewer)

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

Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting power settings for "Intel Graphics". I set it to Maximum Performance. I tried many other things so it could be a combination of them, but this was the last thing I did and I haven't had the problem return...
Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting...
I'm running MP1 as a client only on this: https://www.amazon.com/dp/B0DZX5DWS5?ref_=pe_123509780_1038749300_t_fed_asin_title&th=1...
Replies
5
Views
2K
maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
Replies
4
Views
1K
I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
Hi all, I'm new to MediaPortal and looking forward to using it. Just one catch and I apologize if it sounds silly - I want to run...
Replies
3
Views
2K
If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
Replies
7
Views
1K
Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
This thread is intended for skin authors, plus those advanced users who have learnt skin programming and have customised the skins...
Replies
1
Views
2K
Top Bottom