There is an error I see on these pages I do not see on the normal HS pages:
Announcement
Collapse
No announcement yet.
Web page builder for Homeseer 3 & Homeseer 4
Collapse
This is a sticky topic.
X
X
-
If I use Chrome (regret) it displays with the same issue, but the source also shows the issue:<td class='tablecelldevice' align='left' Valign='middle' width='160'>Family Room</td> <td style='width: 1px; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px;'></td> <td class='tablecelldevice' align='left' Valign='middle' width=''> <span style='white-space:nowrap; vertical-align:middle;'><span style='white-space:nowrap; display:-moz-inline-box; display:inline-block; vertical-align:middle; '><img src='images/HomeSeer/status/Thermometer-70.png' height='32' ></span><span style='white-space:nowrap; display:-moz-inline-box; display:inline-block; vertical-align:middle; padding:3px;'>65.3 °F</span></span></td> <td style='width: 1px; padding-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px;'></td> <td class='tablecelldevice' Valign='middle' align='left'> Today 8:13:19</td> <tr height=1px> <tr height=1px>
Comment
-
Originally posted by jon00 View PostThat is a Homeseer stylesheet; nothing to do with Web builder.
I was referring to my device viewer and documenter anyway...
Try this. Rather than:
[Device,244]
Try
Code:[Device,244] {replace, "°","°"}
Except this is not a solution that works for me as it is not only the degree symbol that fails, anything like this fails.
I have weather reports as well as air quality that use arrows and such, they both fail:
and I have no idea what they will display and no control over what they display.
This was working before going to HS4...
could the custom.css be the issue?
I am so clueless when it comes to .css stuff
Comment
-
Originally posted by jon00 View PostThe issue is due to page encoding.
See if this makes any difference.
Under [Settings]
Add/append
HeadData = <meta charset='utf-8'>
Then refresh the page.
Are you on Linux or Windows?
found it - it worked!!
thanks a million, this was bugging the crap out of me, and pissing off the wife
Comment
-
Hi Jon,
I just loaded today's HS4 Beta Release 4.2.17.2 (Windows 11) and it no longer runs Webpage Builder. I get only a blank web page. I get this error in the log. I checked to see that required files are still in the correct locations. The other HS4 pages work fine.
Error in Main Block 2: System.InvalidCastException: Conversion from string "Error" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDoub le(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (String Value) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Symbols.Container.Inv okeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.Object LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGe t(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) at scriptcode3.VBWrapper.Main(Object MyData)
I copied your default qv.ini and Buildpage.vb files into HS4 and they ran OK. So I thought the problem was in one of my files. I tracked this down to a problem in my qv.ini file. I had a duplicate entry for a pair of JSON entries:
JSONRefresh2556on=/JSON?request=controldevicebylabel&ref=2556&label=On
JSONRefresh2556off=/JSON?request=controldevicebylabel&ref=2556&label=Off
These pairs existed twice. When I deleted one pair, then everything worked again. I thought it was strange that the duplicate pair only threw the error after the upgrade to beta 4.2.17.2
Maybe this will help others who encounter the same problem. Thanks for all you to!
-Rick
Comment
-
Jon,
I have three questions:
Can I have more than three columns under a section?
Instead of left, middle,right? (I am guessing no because of the labels)
I have two distinct .ini setups, the top section is the only difference, all of the columns and data are the same.
I tried to use appending to add a common .ini file that I could reference from each, but I could not get it to work.
What is the magic needed here?
lastly;
I have this line:
Code:Column1Heading1=Current Conditions          Time to open Windows: [device,860] [clock,1]
I cannot find a way to remove the ']' from the end of the clock, any ideas?
Is there a cleaner way to space this out?
thanks!
Scott
Comment
-
1> I thought this was the case, just wanted to confirm.
2> I think this function works differently than what I need.
I have tried a lot of combinations, and I get a blank screen a lot.
I am looking to only edit a single .ini to change the items displayed. Right now I edit two for the two different displays I use.
3> cool, this worked.
thanks,
Scott
Comment
Comment