I have started work on integrating a web view in panel.xml so it can be used on OR consoles.
At this stage, the idea is not to integrate a full web browser but to point it at a given page to display information like a video feed, a dynamic image (e.g. consumption data updated from a server), ...
Currently the element looks like this in the panel.xml
<absolute left="80" top="58" width="640" height="240">
<web id="6" src="http://192.168.1.117/control/faststream.jpg?stream=full&fps=8.0" username="admin" password="meinsm"/>
</absolute>
A web tag, embedded in a positioning element. Attributes are the URL and potentially a username/password if content is protected with basic authentication.
Any comments, requirements, ideas are welcomed.
Comments (83)
Apr 18, 2011
pierce maher says:
Hi Eric I read your post some time and had the following question. There are s...Hi Eric
I read your post some time and had the following question.
There are several applications which use a web interface which I would like to use with Openremote.
I currently use squeezebox as my music server. This is an open source music server which can use PC's or Logitech hardware to
play the music. There is an iPhone application called iPeng which acts as a remote for Squeezebox server.
it has a web interface and can be accessed by
1) Install the iPeng Plugin on your Squeezebox Server
2) Create an url object with http://<yourserver>:9000/iPeng
You can then controll the music server using this web page.
Would it be possable to switch from Openremote to this web page and back again.
This would allow you to access this controller direct from Openremote
Apr 19, 2011
Eric Bariaux says:
There is even no need to switch, the web page is embedded as part of the screen,...There is even no need to switch, the web page is embedded as part of the screen, so you can have both a web view and other controls on the same screen.
So all sites working with Safari on the iPhone/iPad should work fine in this web view.
The only thing is that it does not have navigation buttons or the URL bar. URL is fixed in the configuration (panel.xml) and all navigation must occur using the links in the page.
Navigation and control of URL could be added later I believe but this would mean a bit more thought is required on "scripting/action" on the client side.
Apr 19, 2011
pierce maher says:
Hi Eric Is this available now to test? PierceHi Eric
Is this available now to test?
Pierce
Apr 20, 2011
Eric Bariaux says:
The iOS console that supports this is available in this branch : https://openrem...The iOS console that supports this is available in this branch : https://openremote.svn.sourceforge.net/svnroot/openremote/workspace/ebariaux/iPad_Console_2_0_0_Betas_Linphone
There is no integration at this point in the designer, so you need to manually edit the panel.xml, repackage as a zip file and upload to controller to test.
Eric
Apr 21, 2011
Juha Lindfors says:
Looks good to me, I like the <web> element. Have pinged Andrew Ball for h...Looks good to me, I like the <web> element.
Have pinged Andrew Ball for his attention to this development to keep Android in sync (after a few other tasks first) – please keep us updated here on development and if there's anything at a solution level (obviously not code) that might be useful for knowledge-transfer from iOS to Android.
Apr 22, 2011
pierce maher says:
Hi Eric do you have an example on how the panel.xml should be edite to. If you...Hi Eric
do you have an example on how the panel.xml should be edite to.
If you could supply this It would help
Pierce
Apr 22, 2011
Eric Bariaux says:
The web tag takes the following format: <web id="xxx" src="your url" usern...The web tag takes the following format:
You would only include the username/password if the URL you're trying to reach requires basic authentication.
The web tag can appear anywhere a button, image, switch ... or other widget appear.
Eric
Apr 22, 2011
pierce maher says:
Hi Eric do you have an example on how the panel.xml should be edite to. If you...Hi Eric
do you have an example on how the panel.xml should be edite to.
If you could supply this It would help
Pierce
Apr 25, 2011
pierce maher says:
Hi Eric Can you give me some help on setting this up. I download from https://o...Hi Eric
Can you give me some help on setting this up.
I download from https://openremote.svn.sourceforge.net/svnroot/openremote/workspace/ebariaux/iPad_Console_2_0_0_Betas_Linphone/
where should I put this once downloaded?
Do I need to re build the controler?
If I want to have a button linked to a web page how should it be coded in the XML.
If you can help on the above it would help
Regards
Pierce
Apr 26, 2011
Eric Bariaux says:
Hello Pierce, The code I linked to is the console code for iOS. You need to com...Hello Pierce,
The code I linked to is the console code for iOS. You need to compile that project and install on your device (iPad/iPhone).
For this, you need a Mac with the iOS dev tools and be a registered developer.
If this is not your case, then the easiest thing is to send me your UDID (eric [at] openremote [dot] org) and I can create a specific build for you.
For the controller, you can use the "standard" one, there is nothing specific for this feature.
There is no interaction at this time with the <web> element on the console. So if you want a button to navigate to this web page, put the <web> element on a screen and use the normal navigation mechanism from OR to navigate to that page. You'll also want a "normal" OR button to navigate away from that page.
Eric
May 05, 2011
Andrew Ball says:
What sort of behavior do we want if the web server involved has an invalid SSL c...What sort of behavior do we want if the web server involved has an invalid SSL certificate? The default for the Android WebView widget is to cancel the request, although I believe I can also ignore the SSL error on Android 2.2 and above at least.
May 10, 2011
Juha Lindfors says:
Let's use the default behavior if we can indicate with the UI widget somehow why...Let's use the default behavior if we can indicate with the UI widget somehow why the content is not being presented (visually indicate error condition, the actual description of the error may need to show up elsewhere).
IgnoreSSLError could also be a valid attribute to the <web> element which at least puts the responsibility to the user to ignore security related errors. Not sure if it applies to iOS panels the same but at least it would be valid on Android.
May 26, 2011
Juha Lindfors says:
So Andrew is voting for "IgnoreSSLError" optional attribute in the schema, I'm f...So Andrew is voting for "IgnoreSSLError" optional attribute in the schema, I'm fine with it too.
Eric, any comments?
May 27, 2011
Eric Bariaux says:
I'm fine with adding this as an optional attribute to the schema. I'm not sure I...I'm fine with adding this as an optional attribute to the schema.
I'm not sure I'll be able to honor it on iOS though, as I don't know the behaviour of the web view in case of invalid certificate, I would need to test.
May 27, 2011
Juha Lindfors says:
Alright, we could document it as "Android-only" in the schema until and unless c...Alright, we could document it as "Android-only" in the schema until and unless confirmed on iOS.
May 10, 2011
Andrew Ball says:
I've been working on this for the Android console in the following branch in Sub...I've been working on this for the Android console in the following branch in Subversion: https://openremote.svn.sourceforge.net/svnroot/openremote/workspace/andrewball/Android_Console_2_0_0_Betas_web_element (build instructions at http://openremote.org/display/docs/Building+OpenRemote+Android+2.0+Console )
My implementation should be fairly functional at this point.
Here's the panel.xml I've been using:
May 19, 2011
Eric Bariaux says:
I did add one feature to this yesterday, I made the web element a "sensory" one,...I did add one feature to this yesterday, I made the web element a "sensory" one, meaning a sensor can be linked to it. When it is, the value of the sensor is used to update the URL.
At this stage, the username/password can't be updated, so the ones provided in the XML are always applied to any further request.
May 23, 2011
Andrew Ball says:
Eric, would you give an example panel.xml for linking the URL to a sensor value?...Eric, would you give an example panel.xml for linking the URL to a sensor value? Perhaps relevant bits of controller.xml as well?
Thanks,
Andrew
May 25, 2011
Eric Bariaux says:
On the panel.xml side, the web element just references the sensor, like this ...On the panel.xml side, the web element just references the sensor, like this
On the controller.xml side, this can be any custom sensor, so something along those lines would do
<sensors> <sensor id = "10011" name = "temperature" type = "custom"> <include type="command" ref="9999"/> </sensor> </sensors>The string returned by the sensor is used "as is" as the URL to load.
In the iOS code, I keep track of the last value and only reload if the sensor value is really different.
This is because, on iOS at least, a change notification is posted each time a sensor returns from its polling (even if the value did not change), and the polling can happen at high frequency.
Nov 02, 2011
Rui Costa says:
This is working on Android? Can you explain in detail how I can do it? I would l...This is working on Android? Can you explain in detail how I can do it? I would like to show on Openremote 4 IP cameras. I think the only way is with web panel, right? Anyone is implementing another way?
Nov 02, 2011
Rui Costa says:
This is working on Android? Can you explain in detail how I can do it? I would l...This is working on Android? Can you explain in detail how I can do it? I would like to show on Openremote 4 IP cameras. I think the only way is with web panel, right? Anyone is implementing another way?
Dec 01, 2011
Mario says:
I tried in controller.xml <sensor id="833" name="test" type="custom"> ...I tried in controller.xml
<sensor id="833" name="test" type="custom">
<include type="command" ref="892" />
</sensor>
an on panel side the following
<web id="825" src="http://www.google.com?width=580&height=360">
<link type="sensor" ref="833" />
</web>
There is only a wite page.
Any ideas?
Dec 07, 2011
Mario says:
Works! For Testing I always use the webconsole. After reading in Jira I checked,...Works! For Testing I always use the webconsole. After reading in Jira I checked, that it is not supported yet. In my Android Emulator everything works fine. Thanks for the awesome feature.
Dec 22, 2011
Rui Costa says:
Good news. I will try it.Good news. I will try it.
Feb 29, 2012
Alexander Schwithal says:
Does anyone know if the web element is supported under the current version of th...Does anyone know if the web element is supported under the current version of the webconsole?
Thanks and good evening
Mar 04, 2012
Juha Lindfors says:
No, not yet.No, not yet.
Jul 30, 2012
milillicuti says:
Hello Eric Any news of the implementation of a web panel in the Designer ? At f...Hello Eric
Any news of the implementation of a web panel in the Designer ?
At first we just need to have to possibility to set position, size and a link. This would be a very great news because today this is a big lack.
Thnks
Jul 30, 2012
Eric Bariaux says:
It'll be included in the next version (2.14). The branch where this feature shou...It'll be included in the next version (2.14).
The branch where this feature should have no (the less) issue is workspace/ebariaux/Designer_2_14_0_Markab_MODELER-271
Will keep you posted on when 2.14 will be pushed on-line, still have a few things to iron out before that, but should be a matter of a few weeks.
Jul 31, 2012
milillicuti says:
Great !Great !
Jul 31, 2012
milillicuti says:
Thank you very much. I hope it is going to be released soonThank you very much. I hope it is going to be released soon
Sep 14, 2012
yann philippe says:
Any News about that? Juha, what's the release plan?Any News about that?
Juha, what's the release plan?
Sep 15, 2012
Juha Lindfors says:
I'll deploy a 2.14 preview version online as soon as I get the last patches to 2...I'll deploy a 2.14 preview version online as soon as I get the last patches to 2.13.x verified and released.
Sep 21, 2012
Juha Lindfors says:
You can now test a developer preview at http://composer.openremote.org/preview.You can now test a developer preview at http://composer.openremote.org/preview.
Sep 24, 2012
Kenneth Stridh says:
Hi. I tried the new preview version. Everything worked fine, but next time I lo...Hi.
I tried the new preview version. Everything worked fine, but next time I logged in (in UI Designer) most of my sensors had been replaced with someone else's sensors.
Do you have the possibility to restore my sensors?
My account name is "kenta"
Sep 24, 2012
Administrator says:
Do you have more specifics which sensors need to be restored? I logged into you...Do you have more specifics which sensors need to be restored?
I logged into your account, and most sensors there have names in swedish so I assume they're yours?
Sep 24, 2012
Kenneth Stridh says:
Excuse the lack of explanation. Yes, in the building modeler everything looks f...Excuse the lack of explanation.
Yes, in the building modeler everything looks fine (there can I find all my sensors). The problem is in the UI Desigener. There are all my Labels linked to someone else's sensors.
Sep 25, 2012
Juha Lindfors says:
Hey sorry for the delay, I got distracted by other things and then forgot I was ...Hey sorry for the delay, I got distracted by other things and then forgot I was working on this.
I've restored a previously saved panels on your account – this one looks like the UI is bound to the correct sensors.
I had some issues with restoring the backup from 22nd, so you've been restored to the copy made on 16th. Hope this works – I can try to troubleshoot the 22nd backup if necessary, not sure what the issue there was.
BTW, I like your panel designs – would it be ok to use them as screenshots to promote OpenRemote?
Sep 25, 2012
Kenneth Stridh says:
Thanks, Juha! Now everything works fine again. My problem occurred before the 2...Thanks, Juha!
Now everything works fine again. My problem occurred before the 22nd so the copy from the 16th was certainly the right choice.
Of course, you may use screenshots from my design if you like (even if I don't think there is much to show yet. Maybe two pages are finished the rest are under construction).
Mar 14
Kenneth Stridh says:
Hi Juha. Now, something similar happened again. My panel with my whole disign i...Hi Juha.
Now, something similar happened again.
My panel with my whole disign is gone and has been replaced by a test panel from another account I have (kenta2).
In the building modeler everything looks fine this time too.
Are you able to restore my panel? (I do not know exactly when this happened).
My account name is "kenta".
Mar 17
Juha Lindfors says:
Will check.Will check.
Mar 20
Kenneth Stridh says:
Have you had time to look after my missing design? Thanks in advance.Have you had time to look after my missing design?
Thanks in advance.
Mar 20
Administrator says:
The last backup seems to be dated November 9th, is that correct?The last backup seems to be dated November 9th, is that correct?
Mar 20
Kenneth Stridh says:
I've really built a lot on my design since Nov. 9. Last time I saved and synced...I've really built a lot on my design since Nov. 9.
Last time I saved and synced my design was the 21 February.
Please tell me you can find a more recent backup.
Mar 20
Juha Lindfors says:
Hmm that would be strange. Do send me an openremote.zip from your controller if ...Hmm that would be strange. Do send me an openremote.zip from your controller if you've saved it. I'll try to dig more but the usual location for backups doesn't have anything from your account since Nov 9th. There was another user who also claimed to have saved yet there were no backups left on the server. Strange.
Mar 20
Juha Lindfors says:
Ok, I see you've migrated to 2.14 preview. I do have a backup of your Feb 21st s...Ok, I see you've migrated to 2.14 preview. I do have a backup of your Feb 21st save there.
Mar 20
Juha Lindfors says:
Restore complete.Restore complete.
Mar 21
Kenneth Stridh says:
Phew! I was a little scared for a while Thank you very much.Phew! I was a little scared for a while
Thank you very much.
Sep 26, 2012
Andy Mommerency says:
The idea is absolutely great! Unfortunately when I add a WebView panel and sync ...The idea is absolutely great! Unfortunately when I add a WebView panel and sync to the controller, the OpenRemote app on my Android tablet crashes and cannot start anymore:
Sorry! The application OpenRemote (process org.openremote.android.console) has stopped unexpectedly. Please try again.
it's an Archos Arnova 10 G2 with openremote installed from android market 3.4.4 (and android market installed trough arctools).
When I remove the WebView panel and then sync again, I can start the app.
On my iPad 1 it works perfect, but that one runs version 2.1 of the OpenRemote app while for the Android only version 2.0.0 beta 2 seems available.
Maybe I need an alternate app to use WebView on the Android tablet?
Sep 26, 2012
Richard Turner says:
I've now added web element support to the Web Console, although not officially r...I've now added web element support to the Web Console, although not officially released it is available from the link below: -
http://multimation.co.uk:8080/controller/webconsole.war
You could always give this a try.
Rich
Oct 26, 2012
Nejc Šmid says:
Hi Richard. Few weeks ago I tested your web console and web element works fine...Hi Richard.
Few weeks ago I tested your web console and web element works fine. Then I tested new web console release, but I realized that web element is not supported. I would ask you for your version of web console (http://multimation.co.uk:8080/controller/webconsole.war - now here is new version and web element doesn't work).
Thanks.
Regards,
Nejc
Oct 27, 2012
Richard Turner says:
Hi Nejc, I've just tested the web element on web console version 7001 (which is...Hi Nejc,
I've just tested the web element on web console version 7001 (which is what is available at |http://multimation.co.uk:8080/controller/webconsole.war|) and the web element is working fine for me; can you please be more specific about your problem.
Rich
Oct 28, 2012
Nejc Šmid says:
Hi Rich, I tested it and web element works but when I want to display rrd4j gra...Hi Rich,
I tested it and web element works but when I want to display rrd4j graph a problem occurs. Actually I realize that it works on Debian web browser Epiphany, but when I tested it on Opera, Firefox, Explorer and Chrome it didn't work. I also find one more bug. In this web browsers (on Epiphany it works) I can't type custom controller url (webconsole settings - in the input field, the cursor doesn't show).
Thanks in advance.
Regards,
Nejc
Oct 28, 2012
Richard Turner says:
Does the RRD4J url require username and password? Regarding input fields, altho...Does the RRD4J url require username and password?
Regarding input fields, although the cursor doesn't show you should be able to type in the fields once you click inside the box.
Rich
Oct 28, 2012
Nejc Šmid says:
No, RRD4J doesn't require username and password. I just link web view with my gr...No, RRD4J doesn't require username and password. I just link web view with my graph sensor (it is actually just url address like: http://192.168.1.149:8080/controller/graph?name=graf1&start=20121012-21-42&end=20121012-22-00&width=1200&height=500). If I type this url direct in browser (any) the graph shows.
Regarding input fields, even if I click inside the box the cursor doesn't show and I can't type my url.
Regards,
Nejc
Oct 28, 2012
Richard Turner says:
Are you using the r7001 (does it say build: 7001 at the bottom of the slide out ...Are you using the r7001 (does it say build: 7001 at the bottom of the slide out toolbar on the left of the screen?), if not please download this later version and see if you can type: -
http://multimation.co.uk:8080/controller/webconsole.war
Oct 28, 2012
Nejc Šmid says:
I tried this one and on my central compute where openremote (debian) runs, it wo...I tried this one and on my central compute where openremote (debian) runs, it works very nice. On anther commuter (windows) in my lan, input box now is working, but when I press on url address (then should my panels display)just loading (loading panel). I found these errors on may controller:
ERROR [HTTP-Thread-1]: Error in handling REST API response: null
java.lang.NullPointerException
at org.openremote.controller.rest.support.json.JSONFormatter.format(JSONFormatter.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translate(JSONTranslator.java:124)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:58)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:53)
at org.openremote.controller.rest.RESTAPI.sendResponse(RESTAPI.java:157)
at org.openremote.controller.rest.ListPanelIDs.handleRequest(ListPanelIDs.java:87)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:125)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
ERROR [HTTP-Thread-2]: failed to extract panel.xml for panel : No such Panel :NAME =
org.openremote.controller.exception.NoSuchPanelException: No such Panel :NAME =
at org.openremote.controller.service.impl.ProfileServiceImpl.getProfileDocumentByPanelName(ProfileServiceImpl.java:192)
at org.openremote.controller.service.impl.ProfileServiceImpl.getProfileByPanelName(ProfileServiceImpl.java:91)
at org.openremote.controller.rest.FindPanelByID.handleRequest(FindPanelByID.java:81)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:125)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
ERROR [HTTP-Thread-2]: Error in handling REST API response: null
java.lang.NullPointerException
at org.openremote.controller.rest.support.json.JSONFormatter.format(JSONFormatter.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translate(JSONTranslator.java:124)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:68)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:58)
at org.openremote.controller.rest.support.json.JSONTranslator.translateXMLToJSON(JSONTranslator.java:53)
at org.openremote.controller.rest.RESTAPI.sendResponse(RESTAPI.java:157)
at org.openremote.controller.rest.ListPanelIDs.handleRequest(ListPanelIDs.java:87)
at org.openremote.controller.rest.RESTAPI.doPost(RESTAPI.java:125)
at org.openremote.controller.rest.RESTAPI.doGet(RESTAPI.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilter(JSONCallbackFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Nov 02, 2012
Nejc Šmid says:
Hi Richard. Do you have any solution for this problem? Thanks in advance. Re...Hi Richard.
Do you have any solution for this problem?
Thanks in advance.
Regards,
Nejc
Nov 02, 2012
Richard Turner says:
Hi Nejc, Apologies for not getting back. Lots of work on the web console again ...Hi Nejc,
Apologies for not getting back. Lots of work on the web console again so can you try downloading the latest r7041 version using the same link as before and report back if you are still having issues.
When you load in the new version please press Ctrl+Shift+R several times when loading the page for the first time and make sure that it says "Build: 7041" along the bottom of the Settings toolbar.
Rich
Nov 02, 2012
Nejc Šmid says:
Thanks for your response. I really appreciate your effort to develop web panel ...Thanks for your response. I really appreciate your effort to develop web panel
great work. But I regret to report that in this version the same problems appeared. I also have one comment to slider look (in this version, slider demission is very strange - too big).
Thanks for all.
Regards,
Nejc
Nov 02, 2012
Richard Turner says:
Hi Nejc, Glad you can make use of the Web Console and thanks for the feedback. ...Hi Nejc,
Glad you can make use of the Web Console and thanks for the feedback.
Sliders now support the use of images and I am aware of a sizing issue when not using images in Firefox (Chrome is OK).
Can you still not type in the input fields? Because I've tried Chrome, Firefox and IE9 and I can type in all of them.
Rich
Nov 02, 2012
Nejc Šmid says:
Input box now is working, but when I press on url address (then should my panels...Input box now is working, but when I press on url address (then should my panels display) just loading - I can't enter (loading controller or loading panel if i type panel name). It happens if I tried it on anther commuter (windows) in my lan, on my central compute where openremote (debian) runs, it works.
Regarding sliders: I will try with image.
Regards,
Nejc
Nov 02, 2012
Richard Turner says:
It sounds like a network issue specific to your setup; ensure you can access the...It sounds like a network issue specific to your setup; ensure you can access the controller synchronisation page from the other computer in your LAN also. If you are using security you will need a patched version of the controller but without security you should be fine (provided you have no network issues).
Rich
Nov 02, 2012
Nejc Šmid says:
I can access to synchronization page and I also can sync. I don't use security (...I can access to synchronization page and I also can sync. I don't use security (ssl). I use controller 2.0.1 and on it I can find errors which I have described in the publication 28. 10. Webconsole which is available at http://sourceforge.net/projects/openremote/files/For%20Developers/WebConsole%20%28Developer%20Releases%29/, works fine on computers in my lan.
Nejc
Nov 02, 2012
Richard Turner says:
There is an issue in the controller log that you pasted that might be causing yo...There is an issue in the controller log that you pasted that might be causing your problem; can you please email me your panel.xml and controller.xml files to richard [at] openremote [dot] org
Oct 01, 2012
Alexander Schwithal says:
Hi Juha, thanks a lot adding the web panel to the designer. However, I would lik...Hi Juha,
thanks a lot adding the web panel to the designer. However, I would like to report some issues that I ran into. First thing is that I was able to add the web element under the "preview version". When I went back later to the the regular designer as well as the "staging" one, all my panels disappeared. The weired thing is that they are still there when I log in to the preview version? Any ideas on that?
Next thing is that my Android app (latest release from Android-Play) crashes since I added the web element. When I remove it again, the app works fine. Also, when I use the webconsole from Rich (http://multimation.co.uk:8080/controller/webconsole.war) the web element works fine. By the way, thanks Rich for doing that, great work.
Apperently Andy has experienced the samme problems (see below).I already checked the generated panel.xml but could not figure out anything suspicious. Do you have an idea what the problem might be?
Thanks in advance!
Alex
Oct 01, 2012
Juha Lindfors says:
thanks a lot adding the web panel to the designer. However, I would like to rep...Yes, it means the web element is not backwards compatible to older versions of the designer app. And to be safe, you don't want to be switching between the two or you'll lose those panels. The error handling between two incompatible versions is badly managed indeed but not sure if we'll find the time to do anything about it right now.
Oct 01, 2012
Juha Lindfors says:
Next thing is that my Android app (latest release from Android-Play) crashes si...Can you install the APK from here instead and see if it has the same issue? http://sourceforge.net/projects/openremote/files/For%20Developers/OpenRemote-2.0-Android_SNAPSHOT_20111012.apk/download
Have not looked at what's on the Android Play market in eons.
Oct 01, 2012
Alexander Schwithal says:
Great, thanks. That did it. The Android Play market currently provides the beta2...Great, thanks. That did it. The Android Play market currently provides the beta2 version that crashes when using the web element. Your beta 3 version works! Thanks!
Alex
Oct 03, 2012
Alexander Schwithal says:
Hi Juha, I noticed that the web element on the android beta3 version always ha...Hi Juha,
I noticed that the web element on the android beta3 version always has the same screen size, no matter what has been configured in the designer. Is that a bug or a feature?
Cheers,
Alex
Oct 05, 2012
Juha Lindfors says:
I don't know, sounds like a bug. Are you able to provide a patch?I don't know, sounds like a bug. Are you able to provide a patch?
Oct 26, 2012
Nejc Šmid says:
Hi Alex, Do you still have the web console from Rich? If you have it, I would a...Hi Alex,
Do you still have the web console from Rich? If you have it, I would ask you to send it to my mail(nejc[afna]europe[dot]com).
Thanks in advance.
Regards,
Nejc
Oct 20, 2012
Nejc Šmid says:
Hi Juha. Why this preview is no longer available? I was just in the middle of m...Hi Juha.
Why this preview is no longer available? I was just in the middle of making my graph.
Regards,
Nejc
Oct 20, 2012
yann philippe says:
I confirm, same issue. The preview isno more available ... Preparing a new versi...I confirm, same issue.
The preview isno more available ... Preparing a new version?
Oct 20, 2012
Administrator says:
Need to buy more server resources. Will be making the for-pay Designer availabl...Need to buy more server resources.
Will be making the for-pay Designer available soon where we can afford to throw more resources on it.
Oct 20, 2012
Nejc Šmid says:
The designer 2.14-PREVIEW is again available Thanks guys. Regards, NejcThe designer 2.14-PREVIEW is again available
Thanks guys.
Regards,
Nejc
Sep 27, 2012
milillicuti says:
Hey and thank for the html panels implementation ! There is a problem when i tr...Hey and thank for the html panels implementation !
There is a problem when i try to display Cosm graphics. I add the url, login and password but is doesn't work. When i open the panel.xml, login = "" and password = "" have the same value, the "password" one. But no problem if no pw is needed.
Another thing : offline sync (with openremote.zip file) doesn't seem to work and configuration reload fails each time (OR is installed on my Synology NAS)
Best regards
Mili
Sep 28, 2012
Eric Bariaux says:
panel.xml generated for the web element is indeed wrong, that's a bug. Thanks fo...panel.xml generated for the web element is indeed wrong, that's a bug.
Thanks for catching and reporting.
Eric
Sep 28, 2012
milillicuti says:
You are welcome. Thanks for your work. And thanks to cyberfilou from TLD forum f...You are welcome. Thanks for your work.
And thanks to cyberfilou from TLD forum for the information.
Nov 09, 2012
Mario says:
Is there a downloadable Version of webconsole that is supporting the Web-element...Is there a downloadable Version of webconsole that is supporting the Web-element? The actual Final and Alpha Releases on Sourceforge don't. The url of Rich is offline
Nov 09, 2012
Richard Turner says:
Hey Mario, My server is offline at the moment but I've uploaded a build from to...Hey Mario,
My server is offline at the moment but I've uploaded a build from today to dropbox: -
https://dl.dropbox.com/s/0xghxxl2cq2twkk/webconsole.war?dl=1
Give that a try
Rich
Nov 09, 2012
Mario says:
Hello Richard, The error No such Panel :NAME = appears and the loading page in ...Hello Richard,
The error No such Panel :NAME = appears and the loading page in de webconsole is shown.
Nov 09, 2012
Richard Turner says:
The Error message in the controller console window can be ignored; if the loadin...The Error message in the controller console window can be ignored; if the loading message is staying on the screen can you make sure to do a full refresh (press Ctrl+Shift+R a few times....once doesn't seem to always be enough). On the Settings toolbar pull out on the left of the screen it should say the build number along the bottom (Build: 7066 I believe), just check that this is the case.
If you still get the loading screen but no panel then please email me your controller zip file so I can try it.
Rich
Jan 10
Mario says:
Still have the problem that the webview is not working. I'm currently using the ...Still have the problem that the webview is not working. I'm currently using the OpenRemote-Controller-2.0.0_SNAPSHOT_20110611 Version, Richards webconsole Version (Thread Nov 09) and the Preview Designer for adding the Webview. In the actual configuration after selecting the panel is:
Console Error: Panel definition is not correct
This is my test panel.xml
<?xml version="1.0" encoding="UTF-8"?>
<openremote xmlns="http://www.openremote.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openremote.org http://www.openremote.org/schemas/panel.xsd">
<panels>
<panel id="87" name="panel3">
<include type="group" ref="88" />
</panel>
<panel id="99" name="panel4">
<include type="group" ref="100" />
</panel>
</panels>
<screens>
<screen id="89" name="Starting Screen">
<absolute left="7" top="2" width="303" height="416">
<web id="119" src="www.google.de" username="" password="" />
</absolute>
<absolute left="241" top="435" width="52" height="11">
<button id="115" name="Button" hasControlCommand="true" />
</absolute>
</screen>
<screen id="104" name="Uebersicht">
<background fillScreen="true">
<image src="floorplanKopie1316032919722.jpg" />
</background>
<grid left="137" top="143" width="640" height="20" rows="1" cols="5">
<cell x="0" y="0" rowspan="1" colspan="1">
<button id="106" name="Esszimmer" />
</cell>
<cell x="1" y="0" rowspan="1" colspan="1">
<button id="107" name="Kueche" />
</cell>
<cell x="2" y="0" rowspan="1" colspan="1">
<button id="108" name="Flur" />
</cell>
<cell x="3" y="0" rowspan="1" colspan="1">
<button id="109" name="Bad" />
</cell>
<cell x="4" y="0" rowspan="1" colspan="1">
<button id="110" name="Button" />
</cell>
<cell x="4" y="0" rowspan="1" colspan="1">
<button id="111" name="Buero" />
</cell>
</grid>
<absolute left="363" top="65" width="200" height="50">
<label id="105" fontSize="14" color="#FFFFFF" text="Erdgeschoss Wohnzimmer" />
</absolute>
<absolute left="375" top="228" width="150" height="50">
<web id="117" src="www.google.de" username="" password="" />
</absolute>
</screen>
</screens>
<groups>
<group id="88" name="Default Group">
<include type="screen" ref="89" />
</group>
<group id="100" name="Default Group">
<include type="screen" ref="104" />
</group>
</groups>
</openremote>
Any hints?