NewsAPI still works, but they changed their service. Go get the updated code version 2.16 -- this has the fix to populate the NEWS list dropdown.
Make sure you are using the esp8266 Core platform version 2.5.2 and all the versions of the library files mentioned in the Readm.md file.
Are you able to join the AP hotspot like you would a router then attempt to pull up the network configuration page?
This is the problem. You will never be able to hit the device via the IP address unless you join to at as an Access spot. When it boots up, do you see it tell you to join the AP and display the name? You need to join to it just like you would a new router or WiFi connection.
I have a feeling that the newer version of the ESP8266 core is the problem. The project was developed and tested with ESP8266 core 2.5.2 -- give that a try.
The 2M self-tapping screws work great. These should work well: https://amzn.to/2OP8TvR
Please follow the directions in the readme file. Also, please provide details. What do you see on the display? Is it asking you to connect to the access point? Does it display an IP address when it boots up?
Well Mark, make sure your router actually is broadcasting a SSID over 2.4Ghz -- if it is not broadcasting SSID, or is only running on 5G then it won't show it.
Mark, you will have better luck if you follow the Readme.md file -- you need to specify 1M SPIFFS in the IDE as well as select the correct board that is mentioned in the Readme.md file.
I see from ALL the posts here that you really have not followed the software Readme.md -- this is in the software page. This link here will take you to the section you need to follow. I see you have the wrong board selected some of your posts you have NO SPIFFS -- you do not have the library files it requires installed. Follow this readme.md file: https://github.com/Qrome/marquee-scroller#compiling-and-loading-to-wemos-d1
Like I said, follow the Readme.md file -- install the required library files and set the 1M SPIFFS, and set select the correct board.
What version of ESP8266 Core do you have installed? Also, do you have this library installed?<Adafruit_GFX.h> --> https://github.com/adafruit/Adafruit-GFX-Library
This application should not be loaded like a library. Manually unzip the zip file to a project directory. Then open the project *.ino file. You should see all the files used.
Makes sure you extract the entire zip file and that file should be there. Also, follow the Readme.md -- you also need to select 1M SPIFFS in the IDE. Make sure you have all the correct library files downloaded.
Did you extract the entire project?
So, the web interface all works but the LED is not displaying correctly? Do you see any messages in the Arduino Serial Monitor? Open it and set the baud to 115200 -- you should see messages in there. Another thing to check is all the pins out and around the LED pads. I had one that the wires were bent and not seated into the sockets. Make sure the LEDs are all seated correctly.
It looks like you need to enable 1M SPIFFS in the Arduino IDE under Tools -> Flash SizeThis is required to save settings and this is typically the behavior until you turn on 1M SPIFFS -- this is covered in the Readme.md file.
Sorry, the Advice option was removed a few releases back due to their end point changing over to HTTPS only and at the time was too memory intensive and the call would randomly reboot the device. May look into adding it back now that memory usage for the web interface has been optimized to use PROGMEM.
It sounds like the step you are on is to connect to the Access Point generated by the Printer Monitor. This means you need to connect via your Wifi. This is also easy to do with your phone. Look under the available Access Points under your wifi settings and you should see one called Oct-Mon-ad5dc3 -- connect to that access point -- THEN open the browser to the configuration page.
Just an update: I spent some time with the code this morning and have updated to support the latest versions of the ESP8266 core. The latest version of Marquee Scroller 2.14 will work with the latest versions of ESP8266 Core including 2.5.2.
I have a feeling you have updated your ESP8266 Core to 2.5.1 -- I have heard reports that the new core causes a crash when the web interface is pulled up. I have a feeling the new core is hitting the memory limits of the Wemos. It should work fine if you use the ESP8266 Core 2.5.0. I hope that helps.
Glad it is working for you. If you use the Wemos D1 Mini board selected from the ESP8266 2.5.0 core -- the D2 and D5 variables should map and work perfectly.The simple I2C (4 pin) OLED do not support multi-color. The Blue and Yellow have dedicated colors on the screen area. Thanks for the comments.
Thanks! I hope you enjoy the project.
Pi-hole Monitor ESP8266 With OLED DisplayView Instructable »
Yeah, the site shortened it. Provide the FULL URL and replace items in the URL for your needs. You should get a valid json response.api.openweathermap.org/data/2.5/group?id=[CITY_ID]&units=imperial&cnt=1&APPID=[API_KEY]
If it compiles it isn't an issue with the ESP8266 core (so 2.4.1 if it compiles should be fine). Are you able to run this with the Serial Monitor from Arduino to see the Errors? Test your API key and CityID with this:http://api.openweathermap.org/data/2.5/group?id=[C...Change out the [CITY_ID] with yours etc...The easiest way to see what is going on is view the Serial Monitor -- the error will show there.
It is fully functional. You probably have an invalid City ID or invalid API key. If you log into the web interface, does it display the error message there on the home page?If not there, plug it in to your computer and open the Serial Monitor from Arduino with baud set to 115200 -- when it boots up and tries to go get the weather data it should log out the error or problem there.When using the City ID -- it is the number that is displayed as part of the URL. Example: Los Angeles comes up with the following OpenWeatherMap URL -- https://openweathermap.org/city/5368361 -- those last numbers on the URL is the City ID (5368361).
The smaller screen is the default in the Settings.h file. If you look at the Readme.md file as well as in the Settings.h -- if you use the larger 1.3 display you have to uncomment out the line for the different driver. ```(optional) 1.3" I2C OLED Display: https://amzn.to/2IP0gRU (must uncomment #define DISPLAY_SH1106 in the Settings.h to use the 1.3" SSH1106 display)```
2.5.0 -- also works.
Not sure if you saw this in the documentation:```*NOTE: You must edit the Settings.h file and remove the // on the "//#define DISPLAY_SH1106" to use the 1.3 SSH1106 display in the code. It defaults to support the SSD1306 display.```If you have already done this and the display still looks that way, then perhaps you have a damaged OLED.
Jeff, make sure you are using the latest version of the code as well as the latest version of the ESP8266 core. It sure looks like you have an old version of a library.Also, if the web interface is working you should be able to load the compiled binary file through the web interface. Give that a try.
Looks like you got a different display than the link provided -- don't fear, it will still work. In the future 2.7 release there is a variable called ledRotation in the Settings.h file that allows you to change the display rotation value.https://github.com/Qrome/marquee-scroller/tree/2.7/* set ledRotation for LED Display panels (3 is default)0: no rotation1: 90 degrees clockwise2: 180 degrees3: 90 degrees counter clockwise (default)int ledRotation = 3;
I have added the ledRotation Value to the Settings.h in the release branch 2.7 and you can preview and use it from here until I make a final release of 2.7. https://github.com/Qrome/marquee-scroller/tree/2.7
Actually, it sounds like you may have purchased a different LED strip than the one I link to in the description. That is fine, but you will need to tell the software to rotate the squares. You can check it out here: https://github.com/Qrome/marquee-scroller/issues/75
Make sure you have a valid city ID number. You should be able to build the GET url with your key and city ID and pull it up on a browser window and see the data response.
Odd, I would not expect it to be a hardware issue unless it is an out of memory issue. The data response can be quite large and if it can't parse it then that might be an issue. Do you see any other details in the Serial Monitor?
Yes, weather works. Make sure your key is valid. Plugin and view the Serial Monitor and it may give you details of the issue.
Make sure OctoPrint is turned on as well as the printer (they should both be on) to test and get the expected result. Does your OctoPrint server use basic authentication? If so, you will need to add that as well.
Does the display come up? If you have loaded it correctly then you should see instructions on the display. The display will ask you to connect to Access Point with a name to the access point. Also, editing the settings.h file is totally optional.
What is your version of Arduino IDE. Also, make sure you have the correct board selected. There is no issue with the code that would require fixing. Make sure you have the correct supporting library packages installed and the ESP8266 core 2.4.2 or 2.4.1 installed for the correct board support.
Yeah, it is possible the display is damaged. They are kind of sensitive. The larger display is very sensitive and I have broken one similar trying to remove it from a case and after it had dead zones and faulty pixels. Sorry.
Has your display shifted in the box? I would not change the code to fix this -- the positions are set down to the pixel and it would probably cut something off on the other side. Do you think the display has been damaged?
There are several model versions you can print. The double wide is in part of the listing at Thingiverse. https://www.thingiverse.com/thing:2884823
Well, right now you can change between different versions using the web interface. Currently there is no plan to support multiple printers. There are many that build the double wide version to monitor two printers. Sorry.
Update the Settings.h file with your Geonames account name. You can test if it is working by putting your name where [YOURID] is in the following URL:http://api.geonames.org/timezoneJSON?formatted=tru...Also, you probably need to un-check the DST option -- not have it checked.The code is active on github -- you can follow progress, issues and changes there.
The issue you posted on the person had a bit of a unique problem. Not sure it is the same for you. Can you give some details as to what you are seeing and what you are expecting?
The only thing I can think of is the wiring. Make sure the OLED you have is labeled correctly. Maybe try and swap the SDA SCL lines? Make sure they are solid connections.
Thanks for sharing your awesome make! Thanks for the comments as well.
It is with the source code. https://github.com/Qrome/printer-monitor
Please try installing the version of ArduinoJson that is listed in the README.md file. That should resolve the issue.
I designed the cases for multiple projects. Some have used them for a button that would turn on and off the display.
Check to see if you have typed an extra character somewhere.
From Schematic to Protoboard - Building a Simple LM386 Guitar Amp on a DIP Protoboard
It looks like you may have lost the starting comment tag /** -- either download them again or fix the comment.
Thanks! Your printer monitor turned out great! Thanks for sharing your make. I hope to share some more projects soon.
The software is designed to work with OctoPrint server and requires wifi.
No, but it does need to be connected to an OctoPrint server -- and OctoPrint needs wifi.
Thank you! The clock looks awesome! I hope to share some more projects too.
You should be able to see the 2.4.1 or 2.4.2 -- that is the version you really want. http://arduino.esp8266.com/stable/package_esp8266c...Are you getting errors in the Arduino console when you start it up?
You can try that. The time and weather display were simply an optional thing when it was not monitoring print jobs. You are going down the right path if you want to modify your own version to include the other screens. You may need to modify code in a couple of places.
This is usually a symptom of not having it wired up correctly. Can you check and compare the pins you wired to with the wire diagram?
Wow, looks great. Glad you got it working.
Connect it to your computer with Aruduino and the Serial Monitor up (baud 115200) -- hit the reset button and watch the Serial Monitor -- you should see what it thinks the user / password is when it boots up.
Cool, glad you got it working. Yeah, it uses the latitude and longitude from the weather data to look up the timezone and daylight savings offset. Thanks for the comments.
Are you able to pull up the normal OctoPrint web interface with http://169.254.95.85 from your browser or another computer? Also, you can blank out the hostname if you know the OctoPrint IP address that works. Also, the OctoPrint password is only there if you have haproxy turned on, you should not use that unless you have the extra layer of security on OctoPrint.
Sorry, I don't understand why you need to provide the /dev/tty/ACM0 anywhere. Everything works over valid network hostnames or IP address. The port field is numeric 5 digit unsigned 16-bit integer with a max value of 65535. Could you share a bit more? Or maybe a screenshot?
Try removing the hostname -- the code goes and resolves the port from the name. If you leave the hostname blank then it should keep the port and IP you specify. Give that a try.
It looks like it is crashing before fully starting up or when you are connecting. Also, not sure if you removed the weatherAPI key or if you didn't provide one.
Nope, no code missing. SPI.h and FS.h are part of the ESP8266 Arduino core libraries. You need to install them in your Arduino IDE. If you download the entire source zip from GitHub for the project you will see the Settings.h file in there. Follow this video -- it is for one of my other projects but it covers the basics of loading the IDE and supporting library files. https://youtu.be/Rm-l1FSuJpI
The base64 is part of the ESP8266 core -- so you just need to update the ESP8266 core.
Yes, I think it should still work. The code is generic to ESP8266 or compatible boards. I would expect it to work.
The software requires an ESP8266 (Arduino) that has WiFi built on it. It also requires OctoPrint (usually a Raspberry Pi) running with your printer. The Arduino code then uses the OctoPrint REST API services to get the current printing data over a Wifi connection.
The code is open for you. You could easily add a button function -- though it is not currently in my plan for the official release. As for the refresh rate... when the printer is offline -- it checks every 60 seconds on a change. When it is online -- it checks every 10 seconds. Not sure what you mean by the 1 minute. The "Time Refresh" -- is only how often it checks and resets the clock with the internet time.
Thanks for the heads up. I updated the display text.
No, not a dumb question at all. It is actually the area I worried most about when sharing this project. I really want this to be an easy project for anyone to pickup and do. Basically, you want to be able to add the shared libraries to your Arduino IDE Library files so that other projects can see them and use them. You can search them up from the Library Manager in the Arduino IDE and if they don't show up in there, you can download them from the original source and import them via a zip file. I hope that helps.
The 3D Printer Monitor code does not use the button (or at least right now). I have other projects that I have not shared publicly that do. I use this station for many projects. Good eyes though.
Basically there are supporting libraries that should be installed and visible to the Arduino IDE. Most can be searched up using the Library Manager in the Arduino IDE. If you can't find them in the Library Manager search then you can download them and load them via a zip file.
This uses OctoPrint -- and that already gives you full control on your Desktop with a web interface. This Wemos version simply displays status from the OctoPrint server.
The Web Interface for this Wemos device can be accessed and configured from your desktop browser.
LED Marquee Scroller Wemos D1 Mini ESP8266View Instructable »
3D Printer Monitor Wemos D1 Mini ESP8266View Instructable »