mice
I am currently using a Raspberry Pi 3 B+ running OpenPLC runtime with basic inputs and outputs as a start. I am using ScadaBR as a HMI device to monitor the inputs and outputs from the OpenPLC runtime and also taking data of the i/os.

My Windows 10 machine, raspberry pi and ScadaBR is connected to a common wifi/network. I was wondering is there anyway to monitor and take data offsite (different network) as i planning to leave the Raspberry Pi on site to take data.
Reply 0 0
thiagoralves
As long as the ScadaBR and the Raspberry Pi are on the same network you will be fine
Reply 0 0
mice
1. Can ScadaBR run on the Raspberry Pi? The windows machine will not be onsite

2. While having the Pi and ScadaBR on the same network i was able to monitor and use the HMI. But when i want to monitor the ScadaBR using the same link on a different network, the webserver was unable to display.
Reply 0 0
thiagoralves
1. Yes. Download the Linux installer from their release page on GitHub:  https://github.com/ScadaBR/ScadaBR/releases
 
2. You must be on the same network to reach the server, unless you expose the connection to the internet, which is not recommended for security reasons.
Reply 0 0
mice
I have manage to install tomcat10 and successfully ran it using port :9090. After installing ScadaBR and using same port i was unable to connect to it and received http status 404. Ive installed and removed ScadaBR a few times but unable to resolve this issue.

[203128%2F8799027%2Fmceclip0]
Reply 0 0
thiagoralves
Have you used their supplied installer from the link I sent you above? I haven't played with ScadaBR in a while, but last time I tried it on a Raspberry Pi 4 it installed just fine just by running the installer.
Reply 0 0
mice
I did use the link you sent above to install it. After making my post and rebooting the Pi multiple times along with tomcat10 randomly ScadaBR did work and i was able to connect to it. After fiddling with ScadaBR i can confirm it ran normally and i decided to try and reboot the Pi. Unfortunately ScadaBR stopped working and i received the same 404 error as mentioned. I tried with different networks but the results are the same. Even after a fresh install of ScadaBR and it ask to launch ScadaBR still doesnt work. Is there anyway for me to check if ScadaBR is running through the terminal using systemctl status? If so how do i start, stop and restart ScadaBR.

[203128%2F8800506%2Fmceclip0]
Reply 0 0
thiagoralves
I'm not sure... Maybe you should ask that to the ScadaBR devs on their forums. I believe they will be able to help you better. I would try installing this on a fresh Raspbian image to make sure other programs are not affecting the ScadaBR installer.
Reply 0 0
mice
After reinstalling a fresh Raspbian image for the Pi, installing OpenPLC, tomcat10 and ScadaBR, i was able to connect to ScadaBR but unfortunately after restarting the Pi i encounter the same problem again. 
 
I tried searching for the ScadaBR forum and it says that service unavailable? Is the website down?
Reply 0 0
thiagoralves
Yeah, it looks like their forum is down 😞 Hopefully it is just a temporary thing.
 
Try installing just ScadaBR on a clean Raspbian (no Tomcat, no OpenPLC) and check if that works. If it does, then install OpenPLC. If it stops working, then probably the issue is with both conflicting with each other. I think that by default both ScadaBR and OpenPLC uses port 8080. You’ll have to modify one of them so they can play nice
Reply 0 0
mice
Yeah, it looks like their forum is down 😞 Hopefully it is just a temporary thing.
 
Try installing just ScadaBR on a clean Raspbian (no Tomcat, no OpenPLC) and check if that works. If it does, then install OpenPLC. If it stops working, then probably the issue is with both conflicting with each other. I think that by default both ScadaBR and OpenPLC uses port 8080. You’ll have to modify one of them so they can play nice
When installing ScadaBR i was given a prompt to choose the port for the ScadaBR which was :9090.

If im not mistaken ScadaBR requires Tomcat to run the webserver no?
 
The issue im having right now is that after a fresh install of all of the software (Raspbian, OpenPLC, Tomcat and ScadaBR in that order) I was able to boot and run OpenPLC and ScadaBR which i was able to monitor through port :9090 on ScadaBR. After the Pi is reboot, i am unable to connect to ScadaBR and shows up with an Error 404. But Tomcat is working fine. Is there a way i can monitor and start/stop/restart ScadaBR through the Pi?
Reply 0 0
thiagoralves
I'm pretty sure that ScadaBR installer installs everything that is needed. So you installing Tomcat separately might be causing issues as well. Start with a fresh image and install just ScadaBR on it (use the installer). Then reboot the Pi a couple times to make sure that the service is running fine. Once you get all of that working, install OpenPLC and see if they can both play along.
Reply 0 0
Reply