Close

Docs for apps + lsusb and script app!

A project log for pyLCI - Linux Control Interface

Makes Raspberry Pi accessible, portable and easily configurable.

aryaArya 04/20/2016 at 22:092 Comments

Nice, four Raspberries at my desktop running my system now! Mainly because I use basic features of the system a lot, but also invaluable for testing since all I do now is developing on pyLCI.

Added documentation for tvservice and system_info applications. I should add more documentation, it seems to be hella easy =) I also finished documenting output drivers yesterday, don't know why I've been putting this away for so long. Now it should be easier to configure output drivers in case you don't have a shield =)

I missed a day in my "app-a-day" approach. Granted, I was writing a driver yesterday, but it still don't feel good =) Wonder if I can make up for it today...


Okay, I made a simple lsusb app! So, I was at a hackathon, and I needed to see USB VID/PID of a device quickly to make some decisions. I needed to connect to my Raspberry through a wireless network using my mobile phone and use commands through SSH... Exactly what I'm trying to avoid in the first place, and it took precious time.

So, I made an app for that!

...OMG that sounds so sketchy =D

It was very simple to make, it just parses "lsusb" output. Doesn't signal if there's no lsusb, though. Guess I'll add that right now... just did and now it throws a message =) Oh, and docs.

I also have "run scripts" app on one of my Pis. I can make it run arbitrary scripts placed in the app's directory - as an app for today! Wait for it...


Yeah, pretty much done. As usual, I've got all kinds of fancy stuff - it can run system commands, scripts by relative and absolute path, as well as scripts placed in a separate directory. Has some pretty examples, too =) Lemme just make some docs about it...

Done! Guess I'll go to sleep now. At least I'll try =)

My workplace now

So, three days - three apps. If it weren't for me not being very effective yesterday, they'd even be spread evenly =-)

Still to be done: GPIO hardware and drivers for Arduino. Couldn't finish those yesterday, fell asleep =( Guess tomorrow would be the best time...

I know! I want to make a clock app! Either tomorrow or the day after =) I'm not going to get invited to White House for it, but I'll have something to display time, and I'll also have something to stress-test displays =)

Discussions

Craig Hissett wrote 04/21/2016 at 00:45 point

well done mate!!

  Are you sure? yes | no

Arya wrote 04/21/2016 at 01:35 point

Thanks! Now making a new UI element that'd be able to update the info on the screen - say, for a clock display or a timer =) 

There's still a lot of work to do, but it's already usable and that's the best part IMO. Arduino driver coming soon =)

  Are you sure? yes | no