LinHES Forums
http://forum.linhes.org/

WAF question
http://forum.linhes.org/viewtopic.php?f=17&t=16212
Page 1 of 1

Author:  Too Many Secrets [ Fri Aug 24, 2007 9:42 pm ]
Post subject:  WAF question

Wife asked if I could get a low battery indication to pop-up like our Dish Network box. "Uh... I don't know..." I'm thinking Caller ID would be huge as well, but she seems interested in the battery. Anyone have low bat or CID working?

Author:  mihanson [ Fri Aug 24, 2007 9:51 pm ]
Post subject: 

Low battery? :? What battery does she want to know the status of? I'm confused....

Author:  mjl [ Fri Aug 24, 2007 10:07 pm ]
Post subject: 

Hi,

I had the same question, what battery?. My KM boxes run on AC via a simple stupid ups.

it is easy to put a message on the screen, the trick is to get the desired information to be displayed.

My

Author:  tjc [ Fri Aug 24, 2007 10:14 pm ]
Post subject: 

I'm guessing she uses a laptop as a front end? There's a utility that will let you send text to the screen called osd_cat. See /usr/local/bin/ver.sh for an example of how to use it. Then all you need is a way to tell if the battery is low, probably something like mbmon or lmsensors, and a script to poll it every 30 seconds or so and pop up an OSD alert...

Author:  Too Many Secrets [ Fri Aug 24, 2007 10:53 pm ]
Post subject: 

Oh no... so sorry. Actually the remote control battery! On the old Dish DVR it would pop-up and tell us when the battery was low and needed to be changed. I don't even know how it could tell? A low signal? But it actually worked on the RF and IR remotes! (Kinda cool in a geeky way)

Author:  thornsoft [ Fri Aug 24, 2007 11:29 pm ]
Post subject: 

Too Many Secrets wrote:
Oh no... so sorry. Actually the remote control battery!


When you click the remote, and nothing happens, the battery is low, really low. It's been in there a while.
:wink:
Seriously, save yourself the trouble and have her get you a Harmony 880 for Christmas! It's got a battery indicator on the screen. Just one more reason to love the 880. It's got a clock too! And it's got a very high WAF.

Author:  jmckeown2 [ Sat Aug 25, 2007 5:53 pm ]
Post subject: 

Too Many Secrets wrote:
Oh no... so sorry. Actually the remote control battery! On the old Dish DVR it would pop-up and tell us when the battery was low and needed to be changed. I don't even know how it could tell? A low signal? But it actually worked on the RF and IR remotes! (Kinda cool in a geeky way)


If I had to guess, It "detected" a low battery by popping up the message at a fixed interval, say 4 months. My fridge does this with its "Time to change the water filter light." It does this even though I use the bypass plug instead of a filter.
you could easily implement this in cron, and osd_cat.

It has me wondering how you REALLY detect a weakening battery versus the remote being too far away. I'm thinking the shape of each pulse might just change if the battery was running low, and the overall height of each pulse would decrease across a string of pulses. What I can't figure out is how to detect this without doing some DSP work that would be horribly overblown when compared to putting a low battery indicator on the remote.

Author:  thornsoft [ Sat Aug 25, 2007 6:20 pm ]
Post subject: 

jmckeown2 wrote:
It has me wondering how you REALLY detect a weakening battery versus the remote being too far away.

With a STB and remote that are designed to work together, the remote could send a battery condition code. Probably before/after a certain event, such as power on/off.
I bet that's how they're doing it. Pretty clever, but propietary.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/