Unfortunately the refresh page is displayed.
what am i doing?
My start-chromium.sh file is:
#!/bin/bash
echo "Starting chromium in 5 seconds..."
sleep 5
while :
do
chromium --noerrdialogs --kiosk http://192.168.31.144:1880/ui
done
What refresh page?
Under what circumstances are you running the script? Is this on boot or something?
If it is on boot and you rerun the script later does it work? If so then you need to make the delay longer. Have a look in /var/log/syslog to see how long after boot node-red starts up.
Hello.Thanks for your immediately response.I mean that when raspberry pi boot up i wand show my dashboard since my nodered want several seconds to service,one page displayed that show:
"This site can't be reached"
(Ip address) refused to connect
try:
-checking connection
-proxy and firewall
ERR_connection_refused
But after a few seconds, the dashboard appears .
my code is that i wrote in autostart :
As I said in my previous post you probably just need to increase delay to give node-red time to get going. If you time how long it is before it works if you keep refreshing then you will get an idea of how long you need to wait. Probably you need something like 30 seconds.
Unfortunately this solution does not work.I follow exactly the instructions and instructions of this link that i post befor but it does not go in kiosk mode at all.
My start-chromium.sh file is:
Has the longer delay fixed the unable to connect problem?
You have forgotten the port 1880 specification. With the port, that command works for me (in Ubuntu). If you type that command in manually does it work? If not then what happens?
oops.i know, when i want to write this post, i miss it.
It seems that it does not enter the file at all and the code is not executed.I delete delay,it dose not work