NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 22 23 24 25 26 … 47 Next »
Web Page as a plugin?

 
  • 0 Vote(s) - 0 Average
Web Page as a plugin?
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#1
2008-12-11, 06:26 PM (This post was last modified: 2008-12-11, 06:31 PM by MixMan.)
I have purchased a USB stick that wireless can control lamps....similar to X10
http://www.telldus.se/

I have set up Abyss Web Server for .net 2 with the DeLight.aspx web page and the .Net wrappers for the driver DLL and that works fine. I can control the lamps from the web page.

I have made a DeLight plugin directory in EWA and modified a plugin XML file, so the DeLight tab show up in EWA.
The DeLight DLL files and wrapper files are in a bin directory as the DeLight programmer named it.
The lamp configuration is read from HKEY_CURRENT_USER by the DeLight DLL and should show up on the web page.

But when I drop the web page and DLLs in EWA the web page shows fine but the Lamps doesn't show. I have tested the drop the DeLight files in the Web dir and Public dir.....but I cant get the Lamps to show.
The same directory structure works fine with Abyss and IIS

I have enclosed a Zip with the DeLight files in the /web dir structure.
Any tips on how to get the web page to communicate with the DLLs and read registry configuration in EWA?
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#2
2008-12-11, 10:18 PM
I don't kow what I did, but suddenly the devices got listed.
I can now control my lighs from EWA. Very nice indeed.
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#3
2008-12-12, 12:42 AM
Glad to hear you got it working....

I would recommend moving the web\images that you created to be in web\Plugins\Delight\Images

You will need to change all the below references in deliaght.aspx

Images/*.png

to use this reference so it can find them:

Plugins/Delight/Images/*.png
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#4
2008-12-12, 02:31 AM
I got borded so I tweaked the page code and set it up to run more like a real plugin....you'll keep you tabs with this version. Only thing that doesn't work right is the highlight of the tab.

The person who coded the page did not follow standard practice and has code running within the page....so I didn't want to even try to update that part.

Just backup you delight.aspx page and your config.xml file and you can fall back if something doesn't work....but I think it should work ffine.

Let me know.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#5
2008-12-22, 07:57 PM (This post was last modified: 2008-12-22, 08:02 PM by MixMan.)
UncleJohnsBand Wrote:I got borded so I tweaked the page code and set it up to run more like a real plugin....you'll keep you tabs with this version. Only thing that doesn't work right is the highlight of the tab.

The person who coded the page did not follow standard practice and has code running within the page....so I didn't want to even try to update that part.

Just backup you delight.aspx page and your config.xml file and you can fall back if something doesn't work....but I think it should work ffine.

Let me know.


I just returned to this post and was going to ask you how to do just what you did....to integrate it. Guees if I was happy :-) Thank very much.

One thing, when I click on DeLight Tab, the text delight shows above the "header". It is this line that causes it, because when I remove the line the "header" is displayed as it should.

<%=Session["ActiveTab"] = "delight"%>

I found another asp.net control that is great. With the . Net Scheduler I can schedule when the lamps should be turned on/off. It work fine with EWA to run a command line tool for the lamps......if I use a PUT verb in the control.

This i a free control, so I think you could "integrate" it with EWA.
http://www.aspxforum.ru/default.aspx?a=nsch
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,393 2017-12-03, 12:48 AM
Last Post: snagglewest
  "Record selected" returns error web page ... softfoot 5 3,743 2016-03-26, 01:37 PM
Last Post: UncleJohnsBand
  Hy is it possible to include the System plugin into Newa tto 0 1,830 2016-02-10, 09:07 PM
Last Post: tto
  A plugin is needed to display this content (Firefox) SilverTiger 7 6,125 2015-06-03, 02:31 PM
Last Post: UncleJohnsBand
  VLC 'plugin no longer supported' in Chrome/Firefox FirstTeamOPS 2 6,989 2015-05-08, 05:39 AM
Last Post: FirstTeamOPS
  Cannot Access NEWA Log In Page wlmasonii 1 1,495 2014-05-18, 06:29 PM
Last Post: wlmasonii
  v3.1.1 Date / Time updating (statisitcs page) SFX Group 8 2,695 2013-11-25, 04:39 PM
Last Post: ACTCMS
  How to View Live with External Player instead of VLC plugin? yardern 8 6,503 2013-02-23, 05:47 PM
Last Post: yardern
  Attempting to hit login page inside local network fails wtg 8 3,495 2012-08-27, 08:57 PM
Last Post: wtg
  Manage Recordings gives error page jaakl 3 2,116 2012-02-20, 12:06 AM
Last Post: UncleJohnsBand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode