Tell us about yourself!

Complete Your Profile
  • MikeM781 commented on BigjBehr's instructable Raspberry Pi Scrolling Sign1 year ago
    Raspberry Pi Scrolling Sign

    Greetings. One last follow up question/comment on the updated forecast code. I see that it's pulling the forecast +3 hours and +24 hours. I live in Michigan, USA, a location that often has wide temperature swings. Some days it gets hotter through the course of the day, other days it can get cooler. If I review the "tomorrow" forecast right now ,it will return a high temperature corresponding to 9am eastern (about 20F below the forecasted high for the entire day). I'm going to see if I can figure out how to take the existing code and data collected, and pull a min/max temp for the entire forecasted day. Until then, I'm going to surpress the forecast output, because the wife is already asking who is correct (the scrolling sign or Alexa). Also I've made some slight changes ...

    see more »

    Greetings. One last follow up question/comment on the updated forecast code. I see that it's pulling the forecast +3 hours and +24 hours. I live in Michigan, USA, a location that often has wide temperature swings. Some days it gets hotter through the course of the day, other days it can get cooler. If I review the "tomorrow" forecast right now ,it will return a high temperature corresponding to 9am eastern (about 20F below the forecasted high for the entire day). I'm going to see if I can figure out how to take the existing code and data collected, and pull a min/max temp for the entire forecasted day. Until then, I'm going to surpress the forecast output, because the wife is already asking who is correct (the scrolling sign or Alexa). Also I've made some slight changes to the top line..now it shows hours:minutes in roman numerals for 20 seconds, static display near the left edge (accomplished by first setting a new pos1 location, then slowing the pos1 counter to 0.001). After 20 seconds, a fast scroll (pos1 +=3), and then the day and date (minus the year..as it doesn't fit in in 128 columns). Future plans: I'd like to get just the current outdoor temp to show on the top line, static, for 20 seconds as well. To do this I need to better understand the toplist and bottomlist code functions. I've also found an API for stock prices. Using the weather API code as a great template, I may try to add an extra bottom list line that parses and displays a few company high, low, current stock values for the day.This will be my last posting for awhile on this project. Again, my thanks for sharing your code and for all your help.

    View Instructable »
  • MikeM781 commented on BigjBehr's instructable Raspberry Pi Scrolling Sign1 year ago
    Raspberry Pi Scrolling Sign

    Originally I had not edited or even opened the .ini file. I merely downloaded it and installed it in the directory along with the other files from your program. You are correct that there is no CR in the file as downloaded. It comes in as one long line, although when I viewed it (in nano), it formats, so I didn't catch this problem. It's clear when I load it in notepad, and also I see in this PSPad program the CR ascii codes are missing. Yes, I would be eager to see any additional code or changes you would be willing to share. I've been tinkering with this project for a few months. I started in C++, until I realized python was easier (at least, it has been for me). I also had some trouble early on running your code, as I had updated my Pi to Python 3.something, and when I tried ...

    see more »

    Originally I had not edited or even opened the .ini file. I merely downloaded it and installed it in the directory along with the other files from your program. You are correct that there is no CR in the file as downloaded. It comes in as one long line, although when I viewed it (in nano), it formats, so I didn't catch this problem. It's clear when I load it in notepad, and also I see in this PSPad program the CR ascii codes are missing. Yes, I would be eager to see any additional code or changes you would be willing to share. I've been tinkering with this project for a few months. I started in C++, until I realized python was easier (at least, it has been for me). I also had some trouble early on running your code, as I had updated my Pi to Python 3.something, and when I tried to run at that level, I had module errors due to changes in coding nomenclature. When I run it at the default (version 2.7 I believe), it worked just fine. I believe there is a way to automate changes from 2 to 3, but I don't see the need. You probably flagged the python level requirement somewhere and I missed it. Like any good engineer, I rarely read the instructions...I'm still trying to wrap my head around parser functions and the different way the code is executed and displayed on the matrix. Displaying my roman clock was straightforward, I just made an array with a sleep timer and a cron job to start at 6am each day, with the variables synced to this time. Then another cron job in the evening to shut it down. Displayed as a text string. Then I made the mistake of using examples of new feeds with images converted to .PPM files, for headlines. I got this to work as well, but it seems I had less control over the scroll position, and I was unable to figure out a way to blend the two displays into one. Thankfully you posted your code with a more sophisticated, and elegant solution. RegardsMike.

    This is a follow up to my question and comments posted yesterday. This program is now working well for me, after the following steps: 1. I believe the options.ini file as written (part of the download package), contains a few variables without a 't' or 'f' assigned. That throws the original "string index out of range error". Once I edited the .ini file appropriately, the file reads, but does not load any values, hanging up on the first line, which is "military=t". It appears that the "value" field returns null, and there is something wrong with the following code: value=s[1][:len(s[1])-1]. According to the comment line, this is intended to strip away the trailing spaces/line, and return either "f" or "t". However, a null value i...

    see more »

    This is a follow up to my question and comments posted yesterday. This program is now working well for me, after the following steps: 1. I believe the options.ini file as written (part of the download package), contains a few variables without a 't' or 'f' assigned. That throws the original "string index out of range error". Once I edited the .ini file appropriately, the file reads, but does not load any values, hanging up on the first line, which is "military=t". It appears that the "value" field returns null, and there is something wrong with the following code: value=s[1][:len(s[1])-1]. According to the comment line, this is intended to strip away the trailing spaces/line, and return either "f" or "t". However, a null value is returned. I decided to simply set value=s[1], and it worked like a champ, reading in all the setpoints from the .ini file. I'm not good enough in python to understand the problem in the value line of code, so I leave that to others to explore. Nor am I understanding why this line is needed, since the program seems to execute just fine without the extra attempt to clean up line spacing. In any event, this is a fantastic program..I've got the jokes working, the newsfeeds, the weather API, quote of the day. My thanks again to the author for posting!!

    Downloaded the new main file and options file and worked perfectly right out of the gate. Thanks!

    View Instructable »
  • MikeM781 followed BigjBehr1 year ago
      • ESP32 Bluetooth BLE Remote Control
      • Cubic Art
      • Raspberry Pi Scrolling Sign
  • MikeM781 commented on BigjBehr's instructable Raspberry Pi Scrolling Sign1 year ago
    Raspberry Pi Scrolling Sign

    Thanks for such a quick and detailed reply! I inserted your except indexerror: code and sure enough: "error in options.ini:military=t" . I tried experimenting with the ini file by adding a line space, moving the order (I put temperature=t in line 1). It still gives me the military line error. The good news is it no longer throws the string index out of range error, and the program works! I just changed the code to reflect c=4 for my longer chain of boards, and it's currently scrolling the time and hopefully it's parsing some data. Now I just have to get those temp sensors....and insert my roman clock code. Thanks again! Mike.

    Greetings. First of all, this is an excellent set of build instructions. Well done. For my particular build, I'm using an Adafruit hat and a matrix that is 32x128. When completed, I'm installing it over top of an ugly cold air return in the middle of my livingroom wall (with a gap for airflow of course). My goal is to have the time displayed in the top half, stationary, in hours:minutes, using roman numerals (because..why not?), along with current weather conditions. The bottom half will be a news scroll. Before discovering your build, I had completed the clock and news scroll functions separately, but my approach isn't allowing me to integrate and display the data simultaneously. Clearly your code has accomplished this feat, so I had hoped to first get it running, and then to m...

    see more »

    Greetings. First of all, this is an excellent set of build instructions. Well done. For my particular build, I'm using an Adafruit hat and a matrix that is 32x128. When completed, I'm installing it over top of an ugly cold air return in the middle of my livingroom wall (with a gap for airflow of course). My goal is to have the time displayed in the top half, stationary, in hours:minutes, using roman numerals (because..why not?), along with current weather conditions. The bottom half will be a news scroll. Before discovering your build, I had completed the clock and news scroll functions separately, but my approach isn't allowing me to integrate and display the data simultaneously. Clearly your code has accomplished this feat, so I had hoped to first get it running, and then to make small changes in information collected and displayed, so my roman clock would show. I also need to spend time on the weather sensor portion, which I had not planned to do until I saw your build. Right now I'm stuck at the same point as "Xavier"...same error codes when I try to run. I saw your reply to him regarding the .ini file. I've downloaded this file multiple times, and placed it in the same directory without modifications. Same result (error codes) each time. I did confirm an 'f' is in the military time field as written. Do you have any other suggestions to get past this roadblock? Thanks in advance. Mike.

    View Instructable »