fledge-iot / fledge

An open source platform for the Industrial Internet of Things, it acts as an edge gateway between sensor devices and cloud storage systems.
https://www.lfedge.org/projects/fledge/
Apache License 2.0
124 stars 46 forks source link

Using Fledge without GUI #1056

Open SebsterG opened 1 year ago

SebsterG commented 1 year ago

I am using Fledge on some RPIs in an industrial setting to gather data from sensors and send them to a server. These RPIs are in remote locations so to connect them I am using ssh from my terminal. Fledge works on the RPI when I have it connected to a screen and can setup the North and South via the GUI. Is there a way to setup and control Fledge on a RPI just using the terminal?

I know that its possible to pass -X with ssh to get a window, but this is too slow as of now.

I have looked through the documentation but it seems all the examples use GUI. If its in there and I have missed it please direct me.

Thanks!

MarkRiddoch commented 1 year ago

The Fledge GUI does not have to be installed on the same machine as Fledge itself. You could install it locally and then connect your browser to the local machine. You then go into settings on the GUI and set the address of the remove ,machine that is connected to via port 8081. If that port is not open you can create an ssh tunnel and connect that way. E.g. ssh -N <user>@<remote system> -L 8081:localhost:8081 If doing this then you set the address of the Fledge to be localhost in your GUI.

Hope this helps Mark