Giter Club home page Giter Club logo

luci-app-oled's Introduction

Custom openwrt luci-app feeds.

How to use

  1. Add feeds
cd openwrt/
echo "src-git natelol https://github.com/natelol/natelol.git" >> feeds.conf.default
  1. Update and Install
# Update feeds
./scripts/feeds update -a
./scripts/feeds install -a
  1. make and enjoy
make menuconfig

make package/feeds/natelol/luci-app-xxxx/compile

luci-app-oled's People

Contributors

dinggd avatar fanck0605 avatar jjm2473 avatar msylgj avatar natelol avatar potat0000 avatar unifreq 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar

luci-app-oled's Issues

关于显示大小。

希望当勾选单项时。内容的字体,能和屏保一样大,且只显示数字和后面单位即可。

OpenWrt master 运行出错

自己用 OpenWrt master 的源码编译的,无法正常启动。
是不是依赖没装全,麻烦大佬看一下。

root@OpenWrt:~# /usr/bin/oled 0 0 1 1 0 60 0 0 0 0 0 0 0 0 0 0 0 1 OPENWRT
I2C: Failed to open device |: No such file or directory
(Main)i2c-2: OOPS! Something Went Wrong

lots o forking

by any chance would you know what would cause continuous spawning of background processes over time? until memory runs out...

[sh]xN (from ip?)
[cat]xN (from netspeed?)

almost like the fp(close) dont happen at all or something...

##### [root@dca632 /usbstick/_OLED 57°]# uci show oled
oled.@oled[0]=oled
oled.@oled[0].drawline='0'
oled.@oled[0].drawrect='0'
oled.@oled[0].fillrect='0'
oled.@oled[0].drawcircle='0'
oled.@oled[0].drawroundrect='0'
oled.@oled[0].fillroundrect='0'
oled.@oled[0].drawtriangle='0'
oled.@oled[0].filltriangle='0'
oled.@oled[0].displaybitmap='0'
oled.@oled[0].displayinvertnormal='0'
oled.@oled[0].date='1'
oled.@oled[0].netspeed='1'
oled.@oled[0].lanip='1'
oled.@oled[0].cpufreq='1'
oled.@oled[0].cputemp='1'
oled.@oled[0].time='60'
oled.@oled[0].enable='1'
oled.@oled[0].autoswitch='0'
oled.@oled[0].scroll='0'
oled.@oled[0].netsource='eth0'
oled.@oled[0].drawbitmapeg='0'
oled.@oled[0].from='0'
oled.@oled[0].to='1440'
oled.@oled[0].text='ratburger'
[root@dca632 /usbstick 58�°]# ps www | grep -E '(\[cat|\[sh)'
17796 root         0 Z    [sh]
17801 root         0 Z    [cat]
17802 root         0 Z    [cat]
17806 root         0 Z    [sh]
17811 root         0 Z    [cat]
17812 root         0 Z    [cat]
17816 root         0 Z    [sh]
17821 root         0 Z    [cat]
17822 root         0 Z    [cat]
17826 root         0 Z    [sh]
17831 root         0 Z    [cat]
17832 root         0 Z    [cat]
17844 root         0 Z    [sh]
17849 root         0 Z    [cat]
17850 root         0 Z    [cat]
17855 root         0 Z    [sh]
17860 root         0 Z    [cat]
17861 root         0 Z    [cat]
17869 root         0 Z    [sh]
17874 root         0 Z    [cat]
17875 root         0 Z    [cat]
17883 root         0 Z    [sh]
17888 root         0 Z    [cat]
17889 root         0 Z    [cat]
17901 root         0 Z    [sh]
17906 root         0 Z    [cat]
17907 root         0 Z    [cat]
17911 root         0 Z    [sh]
17916 root         0 Z    [cat]
17917 root         0 Z    [cat]
17921 root         0 Z    [sh]
17926 root         0 Z    [cat]
17927 root         0 Z    [cat]
17931 root         0 Z    [sh]
17936 root         0 Z    [cat]
17937 root         0 Z    [cat]
17941 root         0 Z    [sh]
17946 root         0 Z    [cat]
17947 root         0 Z    [cat]
17951 root         0 Z    [sh]
17956 root         0 Z    [cat]
17957 root         0 Z    [cat]
17964 root         0 Z    [sh]
17969 root         0 Z    [cat]
17970 root         0 Z    [cat]
17974 root         0 Z    [sh]
17979 root         0 Z    [cat]
17980 root         0 Z    [cat]
17984 root         0 Z    [sh]
17989 root         0 Z    [cat]
17990 root         0 Z    [cat]
17994 root         0 Z    [sh]
17999 root         0 Z    [cat]
18000 root         0 Z    [cat]
18010 root         0 Z    [sh]
18015 root         0 Z    [cat]
18016 root         0 Z    [cat]
18020 root         0 Z    [sh]
18025 root         0 Z    [cat]
18026 root         0 Z    [cat]
18030 root         0 Z    [sh]
18036 root         0 Z    [cat]
18037 root         0 Z    [cat]
18041 root         0 Z    [sh]
18046 root         0 Z    [cat]
18047 root         0 Z    [cat]
18054 root         0 Z    [sh]
18059 root         0 Z    [cat]
18060 root         0 Z    [cat]
18064 root         0 Z    [sh]
18069 root         0 Z    [cat]
18070 root         0 Z    [cat]
18074 root         0 Z    [sh]
18079 root         0 Z    [cat]
18080 root         0 Z    [cat]
18084 root         0 Z    [sh]
18089 root         0 Z    [cat]
18090 root         0 Z    [cat]
18094 root         0 Z    [sh]
18099 root         0 Z    [cat]
18100 root         0 Z    [cat]
18105 root      1248 S    grep -E (\[cat|\[sh)

[root@dca632 /usbstick 58°]# ps www | grep -E '(\[cat|\[sh)' | wc -l
205

[root@dca632 /usbstick 59°]# ps www | grep -E '(\[cat|\[sh)' | wc -l
265

[root@dca632 /usbstick 58°]# free
              total        used        free      shared  buff/cache   available
Mem:        1901640      128784     1642500       15996      130356     1597456
Swap:             0           0           0

[root@dca632 /usbstick 58°]# ps www | grep -E '(\[cat|\[sh)' | wc -l
505

[root@dca632 /usbstick 58°]#free
              total        used        free      shared  buff/cache   available
Mem:        1901640      129436     1641376       16000      130828     1596568
Swap:             0           0           0

[root@dca632 /usbstick 58°]# ps www | grep -E '(\[cat|\[sh)' | wc -l
670

[root@dca632 /usbstick 58°]#free
              total        used        free      shared  buff/cache   available
Mem:        1901640      130832     1639248       16004      131560     1594804
Swap:             0           0           0

[root@dca632 /usbstick 58°]# ps www | grep -E '(\[cat|\[sh)' | wc -l
955

关于网速

网速可不可以这样,使用ifstat用

ifstat -i eth0 -S -t > /tmp/test

将实时速度输出某一文件,然后OLED程序打开该文件,读取最后一行速度值?
该文件数据就像这样:

  Time           eth0       
HH:MM:SS   KB/s in  KB/s out

18:17:37    537.14      7.64
18:17:38     82.99      4.64
18:17:39    546.40     13.30
18:17:40    834.86     19.00

只是这样得定时清理该文件,不然会越来越大。
又或者使用openwrt自带的实时速度监测方法?

How to install this app to openwrt ?

Hi,I have try to unzip this repo to ~/openwrt/feeds/luci/application/luci-app-oled and removed ~/openwrt/tmp folder, also i have already update feeds by following commands:

./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig

Navigate to Luci ---> application----> but i can not find the selection luci-app-oled, how can i correct this issue?
or could you please show me how to add this app to openwrt ?

求大佬出手移植到armbian

由于r2s只是拿来做旁路用,用不到openwrt 屏幕太浪费了,不知道可否求大佬友情出手移植到armbian😂,实在不行的话点亮屏幕显示个时间也行吖(小白厚脸皮卖萌😊)

你好,反馈下问题

我在勾选了
启用+IP+CPU温度+CPU频率+网速后
屏幕的IP显示有问题4位数字在变动

关于屏保

屏保不建议使用他示例文件里面绘制的图形,示例图形点亮的像素非常多,一样会导致光衰,建议使用里面的那个五角星配合滚动函数或者直接使用滚动示例函数,这样的话好得多。

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.