You are not logged in.
Pages: 1
Topic closed
Hello,
I have raspberry Pi3 with orginal 7" touchscreen.
Os is Raspbian stretch lite.
My raspberry is ready for kiosk mode.
It works.
Using your "Getting started with REX and Raspberry Pi" instructions
User guide " I created the program with the entire HMI screen.
Everything succeeded and works.
I installed the HMI page as the main screen for my raspberry.
Unfortunately, the first one to login to the HMI page is login.
I tried to write an html page that automatically enters the user and password, but there were problems.
I have the answer "Bad request (404)" or a statement that can not be opened at all.
Here my html file:
"<html>
<head>
<title>Login Page</title>
<script>
function loginForm() {
document.myform.submit();
document.myform.action = "http://192.168.0.105:8008/login";
}
</script>
</head>
<body onload="loginForm()">
<form action="http://192.168.0.105:8008/hmi/index.html" name="myform" method="post">
<input type="text" name="user" value="admin">
<input type="password" name="password" value="adm1n">
<input type="submit" value="Login">
</form>
</body>
</html>"
Any ideas?
Offline
Hi abik,
glad to hear everything works for you. The easiest way is to connect a USB keyboard, enter user name and password and tick "Login permanently" and then login. Afterwards you can reopen the web browser to check that everything works. Using http://192.168.0.105:8008/hmi/index.html as the main page should then take you directly to your HMI.
Does it solve the problem for you? Let me know.
With kind regards,
Jaroslav
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Pages: 1
Topic closed