Can't figure out how to make a Bitcoin (or all Altcoin) Live Price Ticker on a Raspberry Pi...
I consider myself pretty above normal in Windows knowledge, Linux however, I may as well be a 90 year old grandmother trying to figure out how to go to a web page... :( I have the Pi, and every single part required, including the exact LCD screen used in this tutorial: http://www.youtube.com/watch?v=gUmHynSbGuY That same link even includes a step by step guide on how to set it up, yet sure enough, I just can't figure it out.. All my life I've been better suited learning things with Video Tutorials rather then written ones, and for the life of me I cannot find a Video Tutorial on this matter anywhere! Any help, advice, link to a video, or even creation of a video would be extremely appreciated! I shall return the favor to you in any way I possibly can!
I'm not sure if many of you use conky but for the few that do I hope you'll enjoy this little script to monitor BTC prices. Here's how it looks. Apologies for the shitty image, its set up on a raspberry pi atm
#!/usbin/python3 import requests mycoin = #Enter how much BTC you own here, eg 'mycoin = 0.267567823' investment = #Enter how much you spent total eg 'investment = 632' url = "https://www.bitstamp.net/api/v2/tickebtcgbp/" #Replace "btcgbp" with your local fiat, supported values found here: https://www.bitstamp.net/api/ data = requests.get(url).json() print('%s%s' % ("BTC:".ljust(15),data[u'last'].rjust(0))) last = float(data['last']) mycoinfiat = mycoin * last net = mycoinfiat - investment totalfiat = format(mycoinfiat, '.2f') totalnet = format(net, '.2f') print("My Coin: " + totalfiat) print("Loss/Gain: " + totalnet)
Once in Raspi-config there are a few steps. You'll need to 1) expand the file system, 2) enable SSH, 3) auto boot to desktop and 4) change the internationalisation options. I left the account as pi for mine since this will only be a local device with no outside access. However, most places recommend you change the account/password from default for security reasons.
OPTIONAL: I found for the monitor I used, I had to enable overscan in order for the image to fill the screen.
STRONGLY ENCOURAGED: It's probably best to set a static IP address for the Pi. You have two options to do this. You can either set a dhcp reservation on the router or modify the /etc/network/interfaces file on the Pi itself. In ther interfaces file, you'll need to modify the line that says:
iface eth0 inet dhcp
to something like the below (with the data filled out). A good set of instructions are here:
You will need a program called unclutter to remove the mouse cursor during the display
sudo apt-get install unclutter
At this point, you will want to disable the screen saver. Head to /etc/xdg/lxsession/LXDE-pi/autostart and you'll want to comment out (add a #) to the line that says
and you'll want to add these lines to the bottom of the file
@xset s off @xset -dpms @xset s noblank @sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium-browseDefault/Preferences
OPTIONAL: I decided to have my Pi turn on/off the hdmi on a regular schedule (I don't need the dashboard during the night hours). Follow this guide to create the files. He has the path to where the files are to be saved at the top of each file. Modify the /etc/cron.d/raspi-monitor-scheduler to your preferences. I have mine turn on at 6am, off at 8:30am, on at 5pm, and off at 11pm during the weekdays.
Create a folder in your home pi directory for the html files for your dashboard.
sudo mkdir /home/pi/html/
Finally create a new desktop file to tell the Pi to automatically load Chromium upon boot:
IMPORTANT: I pointed Chromium to load a file that I called Dashboard.html. It's your call on what you want to name the file, but make sure you point it to the right one.
Step 2: Set up the HTML File to Display
This is entirely your choice to what you want to display (and how). I included a calendar, news widget, stock ticker, to do list, traffic, and weather. There are a lot of ways to do this, and I'd even encourage borrowing from the magic mirror project. But, I'll provide links for my approach.
I built it as a main page (Dashboard.html) with the page elements being pulled through via iframes. I found it easier to align and space things this way since I was combining so many different elements.
I only added a few elements in the html heading to add a background image (vs. white) and to have the webpage "auto-refresh". Since I am only interacting via ssh, it was easier than writing a script to hit f5 or leaving the page completely static.
My Folder structure looks like
Background.png - I used this as my background. I just searched for something that I liked that is 1920 x 1080.
News - I used Feed Grabbr for my news feed. Their service is free if you have 1 widget with <3 RSS feeds. My minor gripes is that they only refresh every 9h for the free service (which, frankly, is totally fair) and its only one format unless you pay (again, totally fair).
Map - I used Google Maps to show a local map with traffic. The most difficult process here is that you need to create an API key to pull the data. As long as you have 25k requests/day or less, the service is free.
Stocks - I used Trading View for coming up with a stock widget. I used a single tab with a few stocks that I follow (+ the VIX, S&P 500, and the 10yr Treasury). It seems to have a fairly comprehensive reach of data (from FRED, to bitcoin, to futures/forex). I personally ignored the chart since I won't be interacting with the board.
To Do - I used FeedWind to come up with a short RSS widget that pulls in my to do list from Remember the Milk. I decided on this one since it was free and fairly customizable.
Weather - I decided to use Forecast.io for a weather widget.
Calendar - I used this link for a google calendar embed. Personally, I took off everything but the time zone in the headings. I really don't like the "baby blue" and am looking at replacing this one next.
To wrap it up, my html code looks like the below. I fiddled with the sizing, but I'm sure someone can come up with a more elegant solution.
top section bottom section - -
FINAL Comments. This project probably took me 1h to set up the pi. And 4ish hours stumbling around to get the dashboard set up. My only real outlay was a monitor mount and a new monitor. Best of luck! EDIT Here is the link for the current version of the dashboard. I removed the traffic for the weekend, but this is the dashboard. I have some formatting I really want to do (headings et al), but this should be a decent start. I have also included the color scheme I used.
I am trying to set up the price ticker from the following link: https://www.reddit.com/Bitcoin/comments/4mziom/i_got_a_nice_cheap_display_for_my_raspberry_pi/ i got the LCD screen working and i am trying to run the script. but to bad it only shows me the 3 dots with a big euro. http://imgur.com/a/jyxCL Can someone tell me what i am doing wrong? Link to script: http://pastebin.com/RyYFWBUR Code to run the script: sudo apt-get install matchbox x11-xserver-utils unclutter midori vi presentation.sh #!/bin/sh unclutter & matchbox-window-manager & : xset -dpms xset s off while true; do /usbin/midori -e Fullscreen -a /home/pi/Desktop/RyYFWBUR22.html done chmod 755 presentation.sh sudo vi /etc/rc.local su -l pi -c "xinit /home/pi/presentation.sh" sudo dpkg-reconfigure x11-common set to "anybody" when i try to reconfigure to anybody i keep getting this error: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults i tried different installs but i keep getting this error. hopefully somebody can help me out.
Hello fellow Shibes! First time posting here! I just built a programmable display to use as a Dogecoin & Bitcoin ticker for quick glances! I wanted to share it with you guys and see what you thought of it. It's made from a RaspberryPi and a VFD display running a simple Python script, so it can actually display just about anything. It also has a motion sensor so the VFD (Vacuum Fluorescent Display) goes to sleep after a set amount of time after I leave the room. I'm throwing around the idea of refining it a bit and selling them through kickstarter or my website which currently has more info on how this was made. How many of you would be interested in something like this? The price point would probably be between 85k Doge (~$50) and 165k (~$100) Doge at current prices. Of course everything would be open source so you could build your own too :) Programmable Display
Okay this is indirectly related to Bitcoin, but it seems like there's a lot of tech savy Bitcoin people here anyways. I want to build a simple LED ticker to show the current price of bitcoin via wifi. Maybe just two color LEDs red and green for price changes. Do I want an Arduino to do this or a Raspberry PI or something else all together?
[Request] Details on an easy to use/pre-compiled Rasberry Pi Bitcoin Price Ticker
I've been searching but can't seem to find an easy to use/pre-compiled Bitcoin Price Ticker for my Raspberry Pi. I'm not a Linux expert that's why I'm finding this difficult to do. It will be displayed on a simple USB LCD Screen, which is making it even harder. Thank you in advance for any help or pointers.
Previous Multi cryptocurrencies price Ticker using Raspberry Pi and 3.5” LCD Display. Next Bitcoin, Ethereum price Monitoring on your raspberry Pi. About The Author. Cédric Walter. I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source ... Blockchain & Bitcoin: an introduction. A Passive Cooling for Raspberry Pi 4. Share: Rate: Previous Bitcoin And Ethereum price Ticker using Raspberry Pi and Display-O-Tron. Next Cryptocurrencies Graph price using a Raspberry Pi and 3.5” LCD Display. About The Author. Cédric Walter. I worked with various Insurances companies across Switzerland on online applications handling billion premium ... The Bitcoin price ticker was created and shared earlier this week by Aaron from Aaron's Creations on YouTube. The price ticker is built on top of a Raspberry Pi 3 B+. It checks for current Bitcoin ... Bitcoin Bar's enclosure consists of an interlocking box which is laser cut from 5mm MDF. The Front Panel has two slots: one for the LED Display & the other for the Acrylic Diffuser. The Back Panel has a hole for the power supplies USB cable which is plugged into the Raspberry Pi. The Bottom Panel has 4 holes to which the Raspberry Pi is mounted ... Display the current Bitcoin price on a Raspberry Pi Zero with Scroll pHAT - robertclarkson/RaspberryPiBitcoinTicker
Raspberry Pi Bitcoin Ticker - Well Tempered Hacker - YouTube
LED Bitcoin Price Ticker - Raspberry Pi - Duration: 0:09. BittyBot 1,695 views. 0:09. Python Programming Tutorial - How to Make a Stock Screener - Duration: 14:24. sentdex Recommended for you. 14 ... My take on making a Bitcoin/Litecoin ticker using a Raspberry Pi and a $30 LCD screen from eBay. Check out the completely how-to along with all the files you... Here, I show you how to make a really, really simple bitcoin price ticker, using a little bit of electronics and a few lines of python! Watch your money incr... Buy Raspberry Pi 4 Model B 4GB: https://amzn.to/2tlBfGW How to Setup a Raspberry Pi 4 Bitcoin Mining Rig w/ Bitmain AntMiner U3: https://youtu.be/dPWTSytzN7g... You can find the code at this link -- http://photochirp.com/r-pi/raspberry-pi-bitcoin-monitor-oled-ticker/ This bitcoin price monitor and ticker, monitors th...