Announcement
Collapse
No announcement yet.
Running ASPX web pages on a RPi2/3 Zee
Collapse
X
-
The problem is a VNBC issue. Check this thread for a workaround: https://forums.homeseer.com/forum/ho...ge-compilation
-
-
Hello Everyone, ran into the aspx issue with my SEL running Mono 5.4.1.6. Since this thread is the only resource I could find regarding this issue, I wanted to let everyone know what I've found. It appears only certain versions of Mono are able to display aspx pages properly. I had to revert to Mono 5.0.1.1 in order to get them to appear properly.
If anyone is experiencing this issue on Linux (this is not specific to the Zee or SEL) please take a look at my notes. In the troubleshooting section there are instructions on how to remove Mono and towards the top there are instructions on how to install Mono 5.0.1.1.
Leave a comment:
-
Originally posted by jon00 View PostI believe the current RPi download image uses Mono 4.5.1. Why this works using a fresh build but not with an existing installation, is still a mystery.
Leave a comment:
-
I believe the current RPi download image uses Mono 4.5.1. Why this works using a fresh build but not with an existing installation, is still a mystery.
Leave a comment:
-
Originally posted by jon00 View PostGood to see somebody else has got this working! I think the key is you have to do this with a fresh RPi image. It does not seem to work retrospectively.
Leave a comment:
-
Good to see somebody else has got this working! I think the key is you have to do this with a fresh RPi image. It does not seem to work retrospectively.
Leave a comment:
-
Fresh downloaded install of my Pi2 is now working for me. . .both test.aspx and testvb.aspx. :-)
Leave a comment:
-
Originally posted by rmasonjr View PostWow, Jon - very nice!
Mine did not work, since I am still running a RPi2 that has an image with mono 3.2.8, so I still get the error.
I have an RPi3 that is ready to go - just need time to convert my events using the new Labs utility from HST.
From what I remember about this, the initial .aspx call causes compilation to occur which can take quite a while on the Pi. Once compiled, subsequent calls are very fast.
I'm hopeful this pans out - aspx support is sorely needed - we could write so many useful utils!Originally posted by jon00 View PostOK , let me know if it works on your RPi3.
I've only tested this on a RPi3 Model B. Perhaps running this very simple web page has enough speed to compile in time?
Although the RPi 2B and the RPi 3B don't seem that much different, same amount of memory and just a little bit faster 1.2 GHz V 900 Mhz, the biggest difference is that the RPi 3B is a 64 bit processor compared to the older ones which we 32 bit.
Leave a comment:
-
!!! I will give this a whirl this weekend!!!!
Sent from my iPhone using Tapatalk
Leave a comment:
-
OK , let me know if it works on your RPi3.
I've only tested this on a RPi3 Model B. Perhaps running this very simple web page has enough speed to compile in time?
Leave a comment:
-
Wow, Jon - very nice!
Mine did not work, since I am still running a RPi2 that has an image with mono 3.2.8, so I still get the error.
I have an RPi3 that is ready to go - just need time to convert my events using the new Labs utility from HST.
From what I remember about this, the initial .aspx call causes compilation to occur which can take quite a while on the Pi. Once compiled, subsequent calls are very fast.
I'm hopeful this pans out - aspx support is sorely needed - we could write so many useful utils!
Leave a comment:
-
Running ASPX web pages on a RPi2/3 Zee
There has been a long standing bug running ASPX web pages on the latest RPi builds of Homeseer. You can check this out by calling the test ASPX web page supplied with your copy of HS3.
How?
View your Device Management Page on your favorite web browser. Look at the URL and you will see that it ends with /deviceutility Change this to /test.aspx and submit the page.
When the page loads, you will most likely see the error image shown below.
I recently asked Rich about fixing this issue as this restriction severely limits the capability of the RPi. He replied that he had spent many hours trying to diagnose the problem (without success) and concluded that it was a Mono issue. He then asked me if I would take a look! Well I know very little about Linux or Mono but started to have a play anyway.
Bottom line is that I tried all sorts of things and suddenly ASPX pages started to load correctly! I really don't know what fixed the issue so I had to download a fresh RPi image of HS3 to find out!
The solution turned out to be very simple but why it works I don't really know.
Copy the supplied testvb.aspx (unzip first) to your html directory (/usr/local/HomeSeer/html) and then call testvb.aspx in your browser.
If all goes well, (after a period of time), you should see 'hello' on the screen.
Finally call test.aspx again and that page should load. All other Homeseer ASPX web pages should now work as well (I have a few to download)
Please let me know if it works for you.
FYI, Mono version on the stock build RPi2/3 image suppled by HST is 4.5.1Tags: None
Leave a comment: