Enable offline mode
We need to add a new item in the settings, something like "enable offline mode". By default if there is no connection, it will be offered to select wifi network (using resin wifi), but if this option is enabled, assets will just start to be displayed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi @vpetersson !
I will interested by this feature because I would like to use Screenly OSE as a complete standalone solution (no Internet connected) and managed only by mobile devices. So this feature should propose to enable and configure an access-point (hidden or not / SSID / passphrase / security type / IP range).
Thanks!
@ParrainNN It's not that simple. You can't have the Pi operate like that without adding additional hardware (namely an RTC). Because of this, we have not pursued this path. In "offline" mode as instructed here, you'd still net a network connection to connect to an NTP server to set the time.
@ParrainNN The offline feature you describe is exactly what I'm after. RTC hardware is cheap and easy to attach and the current time could be updated when a device (ie Mobile) connects to the AP. I've been updating Screenly OSE by using the Wifi Hotspot function on my mobile then connecting with a second device to upload new content. I would love to work my own fork, but unfortunately my grasp of python far to limited. Maybe one day!
Some times you don't need the exact time. In my case i want to play a video on a exhibition stand. it is just a loop of videos and pictures. the exact time is not important.
in my opinion there is no need for an offline option. Just display the asset list after 3 minutes.
In theory, you can do this by setting the start date from 1979 and onwards (i.e. beginning of UNIX time).
In theory, you can do this by setting the start date from 1979 and onwards (i.e. beginning of UNIX time).
yes, but the assets wont start, because it is waiting for a network connection.
We need to understand better what is causing this and if it is in the system or in the Screenly stack. If the former, there might be just some configuration option.
OK I try to explain it better.
When Screenly starts, it want to have a network connection. if there is no network connection it starts a resin.io AP. Then waits endless till a connection is established. No assets are played till a connection is present.
The demanded "offline mode" is nothing but to start playing the assets whether there is a connection to a wifi or not. In a previous version this works without any further configuration.
I don't understand why it needs a connection to update the playlist when you add assets.
Ideally, if no connection is found it should have two options:
-
local areal network (without internet access)
-
offline mode (reads the local assets or check for usb drives, mount it and play all the compatible files)
In both modes it would be great having a way to setup the time manually, eliminating the need for a network connection.
I'd love to help somehow but my python skills are nearly non-existent
I'm currently trying to do the same thing with Screenly OSE for work. I'm trying to make a scrolling task list on a TV mounted above my desk so that my team can keep track of tasks that need to be completed with out prompting me or my manager. We're in a semi-secure space so I can't get an outside internet connection, and I can't connect it to a corporate connection. I currently have a wireless router connected on my desk and I can connect from my mobile to the player through the wireless router and update files, as well as updating the files with a thumb drive, but the files won't play either way without an NTP server.
I'm currently trying to do the same thing with Screenly OSE for work. I'm trying to make a scrolling task list on a TV mounted above my desk so that my team can keep track of tasks that need to be completed with out prompting me or my manager. We're in a semi-secure space so I can't get an outside internet connection, and I can't connect it to a corporate connection. I currently have a wireless router connected on my desk and I can connect from my mobile to the player through the wireless router and update files, as well as updating the files with a thumb drive, but the files won't play either way without an NTP server.
You'll need either an NTP server or an RTC device HAT for the Raspberry Pi. There's no other workaround that I'm aware of.
if there is no need for the time then there should be a workaround. I work in a secure environment. no wifi, no Bluetooth. if you want government/military contracts you will need to be able to operate in secure environments, meaning no internet.
if there is no need for the time then there should be a workaround
Well....it's digital signage. Scheduling of assets is a very core feature in this category of products. To make an analogy, try running cron or systemd-timer without a functioning clock.
if there is no need for the time then there should be a workaround
Well....it's digital signage. Scheduling of assets is a very core feature in this category of products.
There are applications where time does not matter. In my case, I want to display a video or pictures in a certain order at a fair. In a continuous loop. I only need a network connection once to upload the data. Unfortunately there is not always internet or wifi. It is enough to wait two minutes after the request for a network connection and then simply display the assets.
@vpetersson , i'm sorry but you are still focusing on the scheduling aspect of Screenly with our request. Scheduling isn't the problem. Some of us use RTC, some others don't (and use a workaround by setting their assets with a old starting date/time ie 1970 and before).
We would just like to use Screenly without Internet connection and to have the ability to configure the Raspberry as a permanent "stand alone/local" Wi-Fi Hot-Spot, with DHCP server, so that we can use the Screenly GUI from mobile devices for instance.
Respectfully. ParrainNN.
@vpetersson , i'm sorry but you are still focusing on the scheduling aspect of Screenly with our request. Scheduling isn't the problem. Some of us use RTC, some others don't (and use a workaround by setting their assets with a old starting date/time ie 1970 and before).
We would just like to use Screenly without Internet connection and to have the ability to configure the Raspberry as a permanent "stand alone/local" Wi-Fi Hot-Spot, with DHCP server, so that we can use the Screenly GUI from mobile devices for instance.
Respectfully. ParrainNN.
That's a lot of work (in particular for an edge case). That said, we're happy to receive a pull request that addresses this.