[App] libText D/E/F/H
Re: [App] libText D/E/F/H
when the issue occurs i get no screen output, and it is only happening with font 0. but with simpliest options it is working fine. Unfortunately the log is removed after reboot...
Re: [App] libText D/E/F/H
You have enough time to catch log between injection and crash, but not sure it will tell anything interesting anyway. You tried using FB arg?
I do NOT receive any PM. Please use forum.
Re: [App] libText D/E/F/H
yes. i didn't see any difference.
what do you mean with "enough time between injection and crash"? as soon as the event, that causes a crash, is sent my connection is gone! so how shall i catch the log?
what do you mean with "enough time between injection and crash"? as soon as the event, that causes a crash, is sent my connection is gone! so how shall i catch the log?
Re: [App] libText D/E/F/H
Not true, you have enough time to:astrakid wrote:as soon as the event, that causes a crash, is sent my connection is gone!
Code: Select all
cat /dtv/Text.log
I do NOT receive any PM. Please use forum.
Re: [App] libText D/E/F/H
Watchdog is disabled. And there is no time to display the log-content, because my ssh connection is killed immediately. So how shall I cat it? I tried to perform a "tail -f" on Alert.txt, but because the log is not appended to the file, it doesn't show anything (tested with call libAlert-injection).
Re: [App] libText D/E/F/H
zoelechat
Thx for the lib!I've use it to show the data from Arduino DIY weather station. Works flawlessly
Thx for the lib!I've use it to show the data from Arduino DIY weather station. Works flawlessly
SpoilerShow
Re: [App] libText D/E/F/H
Hehe, always interesting to be aware of such original usage
I do NOT receive any PM. Please use forum.
Re: [App] libText D/E/F/H
Wow, i`m very interested in details. Do you have any link? Schematics, sketch etc description?bugnotme wrote:zoelechat
Thx for the lib!I've use it to show the data from Arduino DIY weather station. Works flawlessly
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: [App] libText D/E/F/H
Here is a component list:
Arduino
BMP280 (temperature + pressure) - indoor sensor
Si7021 (temperature + humidity) - outdoor sensor
ENC28J60 - network
There are tons of examples how to connect it together and make it work.
In my case Arduino is listening on 80 port for "GET /?now" request. Then generates a response in format like:
I've wrote a simple bash script that make request to Arduino every N seconds, parses response and finally calls libText.
Something like that...
Arduino
BMP280 (temperature + pressure) - indoor sensor
Si7021 (temperature + humidity) - outdoor sensor
ENC28J60 - network
There are tons of examples how to connect it together and make it work.
In my case Arduino is listening on 80 port for "GET /?now" request. Then generates a response in format like:
Code: Select all
[indoor_temp];[outdoor_temp];[humidity];[pressure];
SpoilerShow
Code: Select all
#!/bin/sh
url="http://192.168.0.200:80/?now"
while true; do
result=$(wget --tries=5 --timeout=5 -qO- ${url})
temp=$(echo $result | cut -d \; -f 1 | sed -r "s/(.*\..).*/\\1/")
press=$(echo $result | cut -d \; -f 4 | sed -r "s/(.*\..).*/\\1/")
humi=$(echo $result | cut -d \; -f 3)
if [ -z $(echo $temp | grep '-') ]; then
temp=+$temp
fi
cmdline="samyGOso -d -A -B -l /mtd_rwcommon/libText.so TEXT:'${temp} ${humi}% \\${press}mm ' FONT:1 CENTER:3 FB"
eval $cmdline
sleep 30
done