<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/</id><updated>2020-02-27T15:33:20.988000Z</updated><subtitle>Recent posts to webvisu on localhost?</subtitle><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#aefb" rel="alternate"/><published>2020-02-27T15:33:20.988000Z</published><updated>2020-02-27T15:33:20.988000Z</updated><author><name>johan76swart</name><uri>https://forge.codesys.com/u/johan76swart/</uri></author><id>https://forge.codesys.comf323cb1f3fe326d7c202a3e7a42b15ce8e7fa0ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have done this successfully using the latest jessie image and kweb browser. I used kweb in a kiosk mode on the Raspberry Pi 7" display to mimic a HMI.&lt;br/&gt;
kweb is a minimalist browser at is well suited for the job. The display has been on for weeks now without any problems.&lt;/p&gt;
&lt;p&gt;I can formulate the steps I took to get it working and post it if anybody is interested.&lt;/p&gt;
&lt;p&gt;So these are the steps I took to get the webvisu on a localhost working.&lt;br/&gt;
I used the Raspbian jessie lite image from &lt;a class="" href="https://www.raspberrypi.org/downloads/raspbian/" rel="nofollow"&gt;https://www.raspberrypi.org/downloads/raspbian/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Flashed it to a sd card.&lt;/p&gt;
&lt;p&gt;I then installed Openbox and its Xorg dependencies. Then follow the instructions found here &lt;a class="" href="https://www.raspberrypi.org/forums/viewtopic.php?t=40860" rel="nofollow"&gt;https://www.raspberrypi.org/forums/viewtopic.php?t=40860&lt;/a&gt; to install the kweb browser.&lt;/p&gt;
&lt;p&gt;Kweb will work straight from the command line but if your visualization is bigger or smaller than the screen you will run into some problems. Openbox will manage the window size and fit it to your screen. &lt;/p&gt;
&lt;p&gt;I then created a sh script to start Openbox and Kweb, then load the webvisu.htm into the browser.&lt;/p&gt;
&lt;p&gt;#!/bin/sh&lt;br/&gt;
su pi&lt;br/&gt;
cd /home/pi&lt;br/&gt;
xset s off&lt;br/&gt;
xset -dpms&lt;br/&gt;
xset s noblank&lt;br/&gt;
openbox &amp;amp;&lt;br/&gt;
kweb -JCKF+-zbhrqfpoklgtjneduwxyavcsmi:#=?! &lt;a class="" href="http://127.0.0.1:8080/webvisu.htm" rel="nofollow"&gt;http://127.0.0.1:8080/webvisu.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The xset functions in the script is to stop the screen blanking if you run in kiosk mode.&lt;br/&gt;
Next you will need to add the following line to the /etc/rc.local file.&lt;/p&gt;
&lt;p&gt;xint /home/pi/load_your_script.sh -- -nocursor&lt;/p&gt;
&lt;p&gt;As long as your visualization name is the same for different projects it will start automatically after you download and start the runtime app.&lt;br/&gt;
You can also check out the manual for using &lt;span&gt;[url]&lt;/span&gt;kweb at &lt;a class="" href="http://steinerdatenbank.de/software/kweb_manual.pdf" rel="nofollow"&gt;http://steinerdatenbank.de/software/kweb_manual.pdf&lt;/a&gt;&lt;span&gt;[/url]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps.  &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Johan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#75cd" rel="alternate"/><published>2020-02-27T15:33:20.295000Z</published><updated>2020-02-27T15:33:20.295000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com3187891062325c73331fa21991422603c3a4606c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; andreas.sauerwein2&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Google stopped generating armhf binaries of Chromium. That's why you cannot install chromium by apt-get. &lt;/p&gt;
&lt;p&gt;The guys from Ubuntu are generating armhf binaries of chromium. But I'm not sure how long. &lt;br/&gt;
Midori would be a goold alternative. It supports html5 is lightweight, fast and runs on the RPI.&lt;br/&gt;
Unfortunately not supported by the codesys webvisu. &lt;/p&gt;
&lt;p&gt;Midori is also availabe for PC. The webvisu ist working running midori on Windows...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#b2b9" rel="alternate"/><published>2020-02-27T15:33:18.349000Z</published><updated>2020-02-27T15:33:18.349000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com77fea1a3fbff4cb9474f4b18982975be74f178d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;are you sure?&lt;br/&gt;
Could not find anything in their release notes of Jessie that they have removed it.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://downloads.raspberrypi.org/raspbian/release_notes.txt" rel="nofollow"&gt;http://downloads.raspberrypi.org/raspbi ... _notes.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2016-03-18:&lt;br/&gt;
  * updated firmware and kernel (&lt;a class="" href="https://github.com/raspberrypi/firmware/commit/951799bbcd795ddf27769d14acf4813fdcbe53dc" rel="nofollow"&gt;https://github.com/raspberrypi/firmware ... 3fdcbe53dc&lt;/a&gt;)&lt;br/&gt;
  * use serial0 in cmdline.txt&lt;br/&gt;
  * wpa_supplicant.conf country default to GB (allows use of channels 12 and 13)&lt;br/&gt;
2016-02-26:&lt;br/&gt;
  * Support added for Pi 3, including Wifi and Bluetooth&lt;br/&gt;
  * Option to set wifi country code added to raspi-config&lt;/p&gt;
&lt;p&gt;so who is that: "They say we should use Midori instead"?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#510d" rel="alternate"/><published>2020-02-27T15:33:17.643000Z</published><updated>2020-02-27T15:33:17.643000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comb9567089059847d12c9bdd8ccb9d3004c717974c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; andreas.sauerwein2&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Raspbian Jessie image does not support chromium. They say we should use Midori instead. But unfortunately Midori does not work with the Codesys Visualisation. &lt;br/&gt;
Will it be supported in the future ? &lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#f1d4" rel="alternate"/><published>2020-02-27T15:33:16.936000Z</published><updated>2020-02-27T15:33:16.936000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com82617e573bbf2f40bbf983b1109d3abff6fc9ad9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;at the moment to use the webvisu on the local browser on the pi is possible by using Chromium.&lt;br/&gt;
Check the following link:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://lokir.wordpress.com/2012/09/16/raspberry-pi-kiosk-mode-with-chromium/" rel="nofollow"&gt;http://lokir.wordpress.com/2012/09/16/r ... -chromium/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#8485" rel="alternate"/><published>2020-02-27T15:33:14.989000Z</published><updated>2020-02-27T15:33:14.989000Z</updated><author><name>RollTide-96</name><uri>https://forge.codesys.com/u/rolltide-96/</uri></author><id>https://forge.codesys.comdb085a6adf0dc87fdab4b7ddc6c7dff43c4f13f6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;I downloaded the Codesys Image in December '14 along with the most recent Epiphany version.  I have the application working on my Pi and I can see/operate the web visualization from my phone, _ and PC.  But I too am having issues seeing the visualization on the localhost.&lt;/p&gt;
&lt;p&gt;When I try to access the web visualization, I see this notification, which makes me think I have settings correct to view it:&lt;/p&gt;
&lt;p&gt;But then after a few seconds (10-15), I get this error.  The web visualization tries to reload a few times, then stops.&lt;/p&gt;
&lt;p&gt;I am using the Epiphany version that is available from these instructions: &lt;a class="" href="http://www.raspberrypi.org/web-browser-released/" rel="nofollow"&gt;http://www.raspberrypi.org/web-browser-released/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is there something I am missing?  I'm not sure how to troubleshoot this.  I have lots of Codesys experience, but am new to Raspberry Pi.&lt;/p&gt;
&lt;p&gt;Thanks for the help!&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: LoadingWebvisualization.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=908"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: WebVisuError.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=907"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#bbdd" rel="alternate"/><published>2020-02-27T15:33:14.301000Z</published><updated>2020-02-27T15:33:14.301000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com27124964b86e60e857555239c073f683a0700124</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi nOrM,&lt;/p&gt;
&lt;p&gt;you need a browser with html5 support: one posibility is to use the Epiphany Web Browser (probably others are avialable):&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://raspberrypi.collabora.com/web.html" rel="nofollow"&gt;http://raspberrypi.collabora.com/web.html&lt;/a&gt;&lt;br/&gt;
1. Add deb &lt;a class="" href="http://raspberrypi.collabora.com" rel="nofollow"&gt;http://raspberrypi.collabora.com&lt;/a&gt; wheezy web to /etc/apt/sources.list&lt;br/&gt;
2. sudo apt-get update; sudo apt-get dist-upgrade&lt;br/&gt;
3. sudo apt-get install epiphany-browser&lt;/p&gt;
&lt;p&gt;Start the browser from the applications menu, “Internet”, “Epiphany Web Browser”&lt;/p&gt;
&lt;p&gt;BR &lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Epiphany.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=533"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>webvisu on localhost?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e99441f4e1/?limit=25#6bb3" rel="alternate"/><published>2020-02-27T15:33:12.347000Z</published><updated>2020-02-27T15:33:12.347000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.comed7f563e81864a048b8bff5c6282e5f116db9978</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have successfully got a project running on my Pi (ver B).&lt;br/&gt;
I can also see the webvisu from a connected computer using a static IP that I setup in the Pi.&lt;/p&gt;
&lt;p&gt;However, I haven't found a way to see the webvisu on the PI itself with either of the built in web browsers, Midori or NetSurf.&lt;/p&gt;
&lt;p&gt;Is this possible using a more mainstream browser like Firefox or Chrome?  &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
nOrM&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>