Comments (7)
from printer-monitor.
Ok, I know your problem now. The firmware uses LED_BUILTIN and that by default is using D4 (Wemos D1 Mini Default) This is where you get the blue flashing working LED light. Well, you have told it that your OLED is now using D4 pin and that is the issue... when the firmware goes to flash the LED -- it locks up your OLED display. I have seen this before. You can either change your pins or disable the the built in LED on the Wemos by changing the pin to it in the Settings.h file:
const int externalLight = LED_BUILTIN;
Change LED_BUILTIN to D1 -- that will disable the flashing but let it work. I would say if you want the LED to flash then change your display pins.
from printer-monitor.
Have you updated the core library for ESP8266 -- look down in the bottom right of your Arduino IDE and see if it says (no SPIFFS) You must compile with at least 1M for SPIFFS or it can't load settings from the file system.
from printer-monitor.
I'm using esp2866 core 2.4.2, adafruit gfx lib 1.3.6 and oled driver for ssd1306 v4. I recompiled with 2M spiff reserved, same behavior.
Below the log, seems all is ok. The display is freezed on the message to connect to web server http://192.168.34.48:80/.
Maybe it is because can't reach the octoprint server? On the other configuration I tested with SSD1306 all is ok even if the octoprint server is off...
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Using last saved values, should be faster
*WM: Connection result:
*WM: 3
*WM: IP Address:
*WM: 192.168.34.48
Signal Strength (RSSI): 100%
Server started
Use this URL : http://192.168.34.48:80/
no services found - make sure OctoPrint server is turned on
*** Leaving setup()
*WM: freeing allocated params!
Getting Weather Data...
Getting Weather Data
GET /data/2.5/group?id=3171366&units=metric&cnt=1&APPID=732380cdeb76a5641ddf7599441931a6&lang=it HTTP/1.1
Waiting for data
Response Header: HTTP/1.1 200 OK
lat: 45.18
lon: 9.16
dt: 1545217305
city: Pavia
country: IT
temp: 1.55
humidity: 100
condition: Rain
wind: 0.5
weatherId: 500
description: pioggia leggera
icon: 10d
Updating Time...
.
11:04:21
11:4:21
39861
Local time: 10:04 AM
Getting Octoprint Data
GET /api/job HTTP/1.1
Connection to OctoPrint failed: 192.168.0.200:80
Clock Mode is turned on.
Getting Octoprint Data
GET /api/job HTTP/1.1
Connection to OctoPrint failed: 192.168.0.200:80
from printer-monitor.
What happens when you pull up the web interface? It looks like it is running from the Serial Monitor logs you shared. Can you try loading the sh1106 compiled binary that was shared in the 2.3 release? You can do that through the "Firmware Update" link in the web interface.
from printer-monitor.
Web interface seems ok and loads al configurations from SPIFF correctly. Using PIN D3 and D4 if I use your binary I will not see anything on screen (you use D6 and D8 PINS). Can you compile a custom version using D3 and D4 PIN?
from printer-monitor.
Confirmed, problem solved changing to D1 the led_builtin! Many thanks
from printer-monitor.
Related Issues (20)
- no display updates (duration/est time/ % / Temps) without internet connection HOT 1
- Verbindung zu Repetier Server!?
- Percentage Difference Between Printer Monitor and Octoprint Web Interface HOT 3
- WeMos D1 mini 0.66 inch 64x48 OLED Shield
- Screen gets messed up after a while HOT 4
- Restarting Issue HOT 8
- (Request) Moonraker Api support HOT 1
- Firmware update page doesnt load HOT 4
- I have fixed the Mainsail/Moonraker support! HOT 1
- Unable to connect to IP address of Octoprint HOT 2
- Screen Not Working | SSD1306 I2C Serial HOT 19
- static ip address HOT 1
- Display issue HOT 19
- Blank/Black Screen on SH1106 HOT 7
- Has this project been abandoned? HOT 4
- Display never turns on HOT 6
- SPI Oled Display
- AQI info with weather?
- Dual Extruder
- merge PR 160
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from printer-monitor.