@martinbean I ref Redis or Pusher. Would they not be libraries? Laravel is a framework, I know. I am not too sharp. I try, but all these words about technology just confuse me. I will never find work in the tech space. Thanks for letting me better understand my limitations.
Yep, I solved it using ROS. Rather use ROS vs Laravel Echo since ROS does async multi node communicate natively where with Echo, we would need another 3rd party library (Redis or Pusher). Hate using libraries when it may not be needed. (BTW we chose Laravel and jQuery because 5.5 has a 5 year LTS and jQuery just works and easy to pick up as we scale. Vue, Angular and others are just moving too fast. Been on projects where so much time is lost with versioning hell).
I recommend playing with ROS and ROSlibjs. The ROS architecture is incredible.
Back to the solution: How we have it set up is nice - we just make a service call with the userID and a ROS topic gets updated with the userID. All the other computers listen in on the ROS topic, grabs the userID and logs them in. When the user moves away from the robot within a certain distance, they are logged out. Simple, happy robot.
I am creating touch interfaces to control industrial robots. The a single robot is managed by 3 touchscreens. There are two PI 7" touchscreen interfaces on the side of the robot, and a central 10" touchscreen on an ATOM (the server) based computer running ROS (http://www.ros.org/). I am using ROSbridge (http://wiki.ros.org/rosbridge_suite) to communicate with ROS topics and serivices via websockets perfectly. I have chosen Laravel and Jquery as the primary tech under Chrome and everything is working great. Very responsive! The robots are very happy :) As it is now, the user needs to authenticate (We call it binding) with the robot on the side panels. When the user does we want all the touchscreens/computers to become active (we call it 'awake') (2 PI computers and 1 ATOM computer). What @Snapey mentioned is basically where I was heading - may try to use ROSbridge through websockets to send the token through a ROS topic. But not sure if the token will be valid when it leaves the ATOM computer. This is not a web application by any means. It is a highly closed system and does not speak to the web in anyway. I just rather build interfaces using web tech VS QT. Who wouldn't ;)
I have two computers each with their own touchscreen for authentication. When a user authenticates on one computer it also authenticates on the other computer and updates the screens asynchronously to the authenticated view. What is the best way to do this? The user story: As a user I need to login into a system using a single sign on on one computer but have all computers on the network become 'awake' when I log in.
I am using jQuery, Laravel 5.5 and ROS
danaia started a new conversation Update/Refresh Multiple Views On Multiple Monitors - Tips?
I have 3 displays connected to one main PC. I have a Laravel app running on the main PC with a 10" touch screen display working perfectly. The Laravel app is being served via Docker on the PC. I also have 2 Raspberry Pis with touchscreens which I need to update/refresh based on events from the 10" display. What is the best way to do this (event/listener or broadcast - I am not sure)? I am using Laravel 5.5 and jQuery. Not using Vue. As an FYI, I am not able to subscribe to any cloud service since this will be a closed system. (I am building factory robots BTW :)