Giter Club home page Giter Club logo

Comments (7)

nelscougar avatar nelscougar commented on August 11, 2024 2

from printer-monitor.

Qrome avatar Qrome commented on August 11, 2024 1

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.

Qrome avatar Qrome commented on August 11, 2024

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.

sorriso93 avatar sorriso93 commented on August 11, 2024

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.

Qrome avatar Qrome commented on August 11, 2024

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.

sorriso93 avatar sorriso93 commented on August 11, 2024

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.

sorriso93 avatar sorriso93 commented on August 11, 2024

Confirmed, problem solved changing to D1 the led_builtin! Many thanks

from printer-monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.