2021-08-23 18:39:09 +00:00
|
|
|
dashboard
|
|
|
|
=========
|
|
|
|
|
|
|
|
My dashboard, for my house. Display RSS feeds and other custom bits of info via
|
2021-12-18 23:25:03 +00:00
|
|
|
direct SDL2 calls.
|
2021-08-23 18:39:09 +00:00
|
|
|
|
|
|
|
Features/TODO
|
|
|
|
=============
|
|
|
|
|
2021-12-20 01:34:58 +00:00
|
|
|
- Write straight to framebuffer (sdl2) (DONE)
|
|
|
|
- Display Weather rss feed (DONE)
|
2021-08-23 18:39:09 +00:00
|
|
|
- Display camera feed
|
|
|
|
- Display who is home
|
|
|
|
- Display network speed
|
|
|
|
- Display plex currently playing
|
2021-09-16 23:03:12 +00:00
|
|
|
- Play audio files (background music/tracks)?
|
2021-08-23 18:39:09 +00:00
|
|
|
|
|
|
|
Depends on
|
|
|
|
==========
|
|
|
|
|
|
|
|
- sdl2
|
|
|
|
- stdlib
|
|
|
|
|
|
|
|
optional dependencies
|
|
|
|
---------------------
|
|
|
|
|
2021-10-02 18:14:58 +00:00
|
|
|
- Weather/RSS
|
|
|
|
- rapidxml
|
|
|
|
- libcurl
|
2021-08-23 18:39:09 +00:00
|
|
|
|
|
|
|
Building sdl2 on rpi
|
|
|
|
--------------------
|
2021-12-18 23:25:03 +00:00
|
|
|
|
2021-08-23 18:39:09 +00:00
|
|
|
Run in this order
|
|
|
|
```
|
|
|
|
sudo apt-get install libdrm-dev libgdm-dev
|
|
|
|
```
|
|
|
|
|
|
|
|
Next downlad the SDL source tarball
|
|
|
|
|
|
|
|
```
|
|
|
|
cd sdl-src
|
|
|
|
./configure --enable-video-kmsdrm
|
|
|
|
make -j4
|
|
|
|
sudo make install
|
|
|
|
```
|
|
|
|
|
|
|
|
compile the test.cpp file provided in ./tests . There should be output on the
|
|
|
|
screen as flashing. Feel free to change the desired graphics driver in the
|
|
|
|
raspberry pi config
|
|
|
|
|
2021-09-17 02:01:40 +00:00
|
|
|
Developing your own pannels
|
|
|
|
===========================
|
|
|
|
|
|
|
|
Refer to the
|
|
|
|
[development]
|
|
|
|
(DEVELOPMENT.md)
|
|
|
|
documentation
|
2021-08-23 18:39:09 +00:00
|
|
|
Usage
|
|
|
|
=====
|
|
|
|
|
|
|
|
To compile:
|
|
|
|
|
|
|
|
`make all`
|
|
|
|
|
|
|
|
To install:
|
|
|
|
|
|
|
|
`make install`
|
|
|
|
|
|
|
|
To uninstall:
|
|
|
|
|
|
|
|
`make uninstall`
|