Code Monkey home page Code Monkey logo

eo1's Introduction

Electric Objects Lives! Replacement APK

Getting started

Requirements

  • You need a way to connect a keyboard and mouse to your EO1. I got one of these -- https://www.amazon.com/gp/product/B01C6032G0/ -- and connected my USB keyboard to it, then my USB mouse to the keyboard.
  • Flickr API key: Once you've signed up for Flickr, go here, to create an "app". Once you walk through the short wizard, your key will look like a series of numbers and letters. You will want the public key.
  • Flickr User ID: Your user ID is in the URL bar when viewing your photos. For example it is bolded in the following URL: https://www.flickr.com/photos/ 193118297@N04 / โ€” you only need the User ID, not the entire URL. If you have a custom name in your URL there are other methods to get the userID, described here.
  • Upon setting up the app, it'll ask for these two pieces of info. You can either type them in on the setup dialog, or put them into a file (the User ID, followed by a carriage return, followed by your Public API key). Name this file "config.txt" and copy it to your EO1's "Downloads" folder. (An easy way to do this is to email yourself the file then log into your email and download it using the EO1's web browser [described below]).

Setup

  • Upload some EO art to your Flickr account. There's a good collection here: https://github.com/crushallhumans/eo1-iframe/tree/main/eo1_caches/mp4s -- MP4 videos and still images are supported.
  • Once you boot up your EO1 and it hangs on the "Getting Art" dialog, hit WINDOWS + B to open a web browser
  • You need to tell your EO1 to allow side-loading. Swipe down on the top right and go to Settings > Security. In there make sure "Unknown Sources" is checked.
  • Go back to the browser and go to this URL: https://github.com/spalt/EO1/releases/download/0.0.8/EO1.apk (you may need to use the mirror, by clicking here)
  • When it finishes, install the file by pulling down the notification bar and clicking it, then agreeing to the prompts.
  • Restart/power cycle your EO1
  • Because this APK is designated as a "Home screen replacement", when it boots, it will ask if you want to load the Electric Object app, or the EO1 app. Select EO1 and choose "Always".
  • The first time the EO1 is run you will need to specify the information above. Click OK to save and continue. To get back to the configuration screen later, push C on your connected keyboard
  • You can now unplug your mouse and keyboard and hang your EO1 back on the wall!
  • See "Partner App" below for instructions on installing the companion app on your Android device.

New in 0.0.8

  • Fixes custom tag ocassionally losing value (take 2)
  • Fixes random dimming during static photo or video display
  • Better error recovery during media download
  • Adds retreiving additional media after #500 -- app will cycle through "pages" of responses from the Flickr API
  • Adds video media caching and auto-cache cleanup: video art will be cached and not re-downloaded when possible

New in 0.0.7

Device app:

  • Fixes the custom tag and other settings ocassionally losing values, especially when coming back from quiet hours.

New in 0.0.6

Device app:

  • Fixes brightness being reset upon coming back from quiet hours

Partner app:

  • No changes

New in 0.0.5

Device app:

  • Checkbox allows you to disable auto-brightness and set it manually

Partner app:

  • Gear icon at top right lets you send new values for brightness, start/end quiet hour, and slideshow interval direct to the device (see 0.0.3 for instructions on installing the partner app)

New in 0.0.4

Device app:

  • Fixes quiet hours after midnight
  • Fixes image and video pushing via partner app when original resolution is not available
  • Better handling of bad/no network scenarios

Partner app:

  • Handles intents from Flickr app in a better way (you must upgrade the partner app if you update to 0.0.4 on the device)

Partner App

  • A "Partner App" (for Android) runs on your phone or mobile device and allows you to push images or video directly from the Flickr Android App using the share icon, assuming you are running on the same network as your EO1 device. Running the Partner App from the Start menu of your phone allows you to skip to the next item in the current slideshow or resume the slideshow after sharing an individual item. You can also update the current Tag (original Tag will be restored next time the device restarts), adjust brightness and change your slideshow interval.
  • To install, you must allow "Unknown Sources" on your device.
  • Point your device web browser to https://github.com/spalt/EO1/releases/download/0.0.6/EO1-Partner.apk and follow the prompts to install. You may need to agree to several warnings.

New in 0.0.2

  • Fixed: low resolution images
  • New: Specify slideshow interval in minutes
  • New: Specify showing your gallery, public gallery (items tagged "ElectricObjectsLives"), or specific tag
  • New: auto-brightness based on light sensor reading
  • New: quiet hours (screen will dim and not display images during this period)
  • New: Top button will dim/un-dim screen
  • New: Space will advance slideshow manually
  • New: C opens Config screen
  • More goodies coming soon :)

Art/Contact

eo1's People

Contributors

chrisdrackett avatar hellbox avatar spalt avatar wasauce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

eo1's Issues

Apk download stuck in queued state

PXL_20230901_082934044.jpg

First of all, thank you for giving me hope to revive eo1.

I got the USB adapter and connected it to the mouse. Used it to connect to wifi.

Then, using the keyboard shortcut, I opened the browser and opened the GitHub URL.

When clicked on apk link, it says starting download but queued in the background.

Any suggestions? Please help.

Dev instructions

I'm a dev but haven't ever worked with android. That being said, I'm willing to try and put in some work on this app. It might be nice to have some instructions to getting started, especially as I'm sure this is an older version of android and things might be a bit different?

infinite loading?

After putting in my username and password I just see a loading indicator with my IP displayed at the bottom of the screen. I get the same no matter what photo option I chose.

The stats for my app on flickr also shows 0 calls, but I've double and triple checked the key

Brightness setting reverts after waking from Quiet Hours

Having set the brightness last night, I awoke to find it back to 100%. Yet, it seems like the setting is still correct in the partner app.

Maybe there needs to be an existence check for the brightness setting prior to re-enabling the display?

Current settings:

2023-09-07_08-41-20AM

Device Webpage

Not 100% sure how feasible this is, but I currently have an android phone that I use exclusively for interacting with the app. I'm curious if basically the same functionality could be achieved by having the device host essentially the same thing as a website. This way you could just navigate to the devices's IP and set an image or change settings.

Random Dimming

Even with latest update, I still experience random dimming (it just comes and goes). Pressing the side button restores brightness for awhile. Don't know if this is software or hardware issue. If it's just me experiencing this, must be hardware issue.

Otherwise a great app.

ability to use private media

I would like to display images of my family on the EO1, but don't want to add or make these images public. It would be great if we could access via the API private photos. I assume this would require auth-ing to the API

public tag and `electricobjectslives` don't feel like good long term solutions

For one, if someone knows your tag or the electricobjectslives tag they will be able to display whatever they want on your display. I've already seen nudity on the electricobjectslives tag and while I don't personally care, I'm sure many users would not be happy with those images (or something worse) showing up on their display.

I personally think the ideal solution is something that uses only a users own media, ideally private. For me, being able to specify a tag that I use on my own private media on flickr would be ideal.

ability to pick a single piece of media to show

It would be nice to be able to show just a single piece or media or a small collection of media. I wonder if its possible via setting up something like a "Live" album and having the app show whatever is in this album

Dark spot at the top center

After launching the app, a dark spot appears at the top of screen, horizontally centered, like if one of the led backlighting the screen was turned off.

It remains even when switching to another app (e.g. firefox) or when the app crashes, but disappears when the EO1 is rebooted.

tag resetting multiple times a day

I only show a single image at a time so I've had my slideshow number very large (in the thousands, I forget the exact number). This works, but I have an issue where the frame will dim to the point the image isn't visible. I got curious and recently turned the slideshow timer down to just 5 as a test. I found that at this value my display does not dim anymore (yay!)

However, now I have a new issue. For some reason after a unknown amount of time (probably around an hour or so?) my frame will switch from my tag with a single image to showing the public EO feed. I still haven't figured out why this happens, but I figured it was worth an issue!

Flickr Failure

Successfully downloaded and installed via mirror. When configuring I get a Flickr failure: Check API error. API is entered correctly. Created a different API and tried with that - same result.

Any thoughts on what I am doing wrong? Thanks

EO1 - Black Screen on Boot

So I got the app installed.

I initially got the wrong Flickr UserId - I used User Name instead - so I got a bunch of random art which wasn't mine.

So I replaced it with my valid UserId.

Now, when I restart the EO1, I get the "Electric Object" shapes for a bit, then the screen goes black.

All command keys, etc I try don't work - "C", Windows-B (browser), etc, etc. No affect. Ctrl-Alt-Delete appears to "restart" the device, but I don't even get the EO shapes.

I fear it's bricked. Any suggestions?

EO2 Option to use Google Slides Embedded URL to avoid Flickr public image issue

Firstly thanks very much for all your efforts in keeping these frames relevant.

I previously used the Electric Objects web login to point my frames to Google Slides embedded URLs. I made slideshows including realistic looking photo frames, and multi-picture frames (slides) etc, and that worked great. When I powered on the EO2s, they'd boot up and access the URLs then the slideshow would start.
Here's a link to how that works in Google Slides, the Electric Objects website is obviously gone but it had an option to display a URL, which I don't think was available on the apps.
https://support.braincert.com/kb/article/198/creating-a-google-slides-embed-url-a-detailed-step-by-step-guide

Would it be possible to have this option built into your APK? This would get around the 'public' image issue on Flickr.

Thanks again for your time.

Issues when using custom tag

I'm trying to use a custom tag to pick media to display on my display. The issue I'm currently running into is that after tying in a tag and selecting "save" I'm getting the electricobjectslives feed. I'm not sure what I'm doing wrong, but no matter what I do the tag ends up as an empty string so the code defaults to electricobjectslives.

Stuck on opening a web browser

Hi!

Thank you very much for your work and instructions to get the EO1 functional again. I greatly appreciate it.

I have been working to try to follow the steps outlined in the README.

I get to "Getting Art" dialog, hit WINDOWS + B to open a web browser and I am stuck.

I have tried multiple different keyboards (windows and mac keyboards) and I have tried hitting the keys at different moments in the booting process vs what I think is the stuck part of "getting art". Do you have any tips?

Below are screenshots of where I am trying to hit "WINDOWS + B" and running into the problem. Is the issue that I am not actually at the "Getting Art" screen and I am stuck because the EO1 cannot connect to the wifi?

Is there a more exhaustive list of keyboard shortcuts I can try to bring something up?

IMG_2394

IMG_2392

IMG_2390

IMG_2391

Thank you again!

Thank you!

Thank you, random internet person (aka Dan), for resuscitating my Electric Object and giving it life again. Your work is appreciated ๐Ÿ™

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.