New
#1081
Hey Caperjack, here's a guide on how to use those sewable LED thingies: https://cdn.shopify.com/s/files/1/18...53771477182657
Hey Caperjack, here's a guide on how to use those sewable LED thingies: https://cdn.shopify.com/s/files/1/18...53771477182657
Hay Jack, have you run my weather clock (sense hat) python code lately? My indoor one is all wonky reading the humidity? It reads way high at any humidity over ~70%. Last couple of days its been saying its 100% pretty well all day when its really only 80 to 90 %. I swapped sense hats and it made no difference. I "think" its a sensor issue on the sense hat? That or my install is corrupted or something?
My portable gets all its readings from a BME680 and its reading normally. Thinking of doing up a fresh install from scratch on the indoor one to see if it makes any difference. I've resisted because setting up the RTC (DS3231) is a bit of a pain.
yeah running it now in my room ,its showing 48% humity pressure is 1009kb temp 27c
seems normal..
I bought a unicorn phat to make this silent alarm clock for my grandson ,cant get it to run the file they supply on there site ,,to phat runs all the examples, i followed the directions to a T....
Make a Cute Alarm Clock with Mood light - Pimoroni Yarr-niversity
running it all from the command like
it just sits there doing nothing till i do the ctrl c to close it it just shows ,this.the last part of the file , it says
ctrackback (most recent call last):
file "mood.py" , line 28, in <module>
time.sleep (10)
keyboardInterrupt
Ok, I'll be redoing mine from scratch tomorrow then. I'll make a backup image of my card before I wipe it with a fresh Raspbian image.
If that's a python file your running, open it with the idle editor. In Raspbian its right click open with, then select other or something to let you pick what to open it with. It should point you to the start menu so go to I think its programing, then select idle. I'm on my windows PC so going by memory, which isn't the best these days. Anyway if you use the, "edit it with idle" option there will be a "RUN" menu with a "check module F5" option. That will flag most errors. If that doesn't flag anything use the Run option. If it then crashes you should get a better error message.
I'll post better instructions tomorrow when I fire up one of my Raspbian installs to tinker with.
I think you could probably do that with a sense hat LED matrix. I may have a go at it tomorrow just for fun. I'll be tinkering with my sense hat anyway.
Are you running the "full code" at the bottom of the page you linked too?
thanks for the info ,,It tells me the sample files need to be run via command line ,using ,Sudo python filename.py ,i tried running them with in python but they will not run .
this nice 3 piece case with camera slot on kickstarter
PiShell: Multi Color Case for Raspberry Pi & Camera by SB Components Ltd —Kickstarter
You have to be in that directory, or type the full path for that to work. For example, to run my python file from crontab I add @reboot python3 /home/pi/THP.py &. From a command line it would be sudo python3 /home/pi/myfile.py.
My file is in the pi folder, the one file explorer opens too with the documents etc folders in it. python runs it in python 2 and python3 runs it in python 3 by the way. I try to run all my stuff in python3.
Your going to want to auto start it via crontab anyway so I'd try that.
EDIT: Yeah, that is a nice case.
Last edited by alphanumeric; 11 Aug 2018 at 04:02.