OLED on

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

OLED on

#1 Post by thobastian » 04 Jan 2019, 08:32

Hi all,
I used the Nodemcu with espeasy (latest release/NodeMCU) with a small framed OLED display SH1106.

ESPeasy shows variables and genrell text, what I want. no problem.
But via remote (f.e. http or mqtt), nothing happens.

My log shows:
"WD : Uptime 2 ConnectFailures 0 FreeMem 13096"

What is the problem ?


My system info table:
Firmware
Build:⋄ 20103 - Mega
Libraries:⋄ ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support
GIT version:⋄ mega-20181231
Plugins:⋄ 46 [Normal]
Build Md5: 26bae7842d90adf4b1f96821e528ba4
Md5 check: passed.
Build time:⋄ Dec 31 2018 03:12:49
Binary filename:⋄ ESP_Easy_mega-20181231_normal_ESP8266_4096.bin
System Status
Syslog Log Level: None
Serial Log Level: None
Web Log Level: Info
ESP board
ESP Chip ID: 1596110 (0x185ACE)
ESP Chip Freq: 80 MHz
ESP Board Name: PLATFORMIO_ESP12E

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#2 Post by grovkillen » 04 Jan 2019, 10:49

What commands are you using exactly?

Please tell us how you invoke them.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:


thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#4 Post by thobastian » 05 Jan 2019, 19:01

nobody any ideas ?

What about import mqtt and set variables for showing ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#5 Post by grovkillen » 05 Jan 2019, 20:15

If you try the command through the "tools" page? Not working either?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: OLED on

#6 Post by Domosapiens » 05 Jan 2019, 20:26

Syntax error?
http://<espeasyip>/control?cmd=<command>

Single slash after IP !
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#7 Post by grovkillen » 05 Jan 2019, 20:28

Domosapiens wrote: 05 Jan 2019, 20:26 Syntax error?
http://<espeasyip>/control?cmd=<command>

Single slash after IP !
Good catch... But also MQTT is not working? We really need more info on exact syntax being used here...
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#8 Post by thobastian » 06 Jan 2019, 19:54

sorry, my mistake. I used this string: http://<espeasyip>/control?cmd=oled.....
without double "//"!

That istn't the error.

here is my actual log:
169412144: WD : Uptime 2824 ConnectFailures 4 FreeMem 12904
169430480: HTTP: oledcmd,clear
169442143: WD : Uptime 2824 ConnectFailures 4 FreeMem 12904
169449685: HTTP: oled,1,1,text
169457173: EVENT: Clock#Time=Sun,18:53
169472143: WD : Uptime 2825 ConnectFailures 4 FreeMem 12888

After sending the commands , nothing happens on the screen.

AND what about the "ConnectFailures" ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#9 Post by grovkillen » 06 Jan 2019, 20:18

The connect failures are probably from the beginning of the start, see that those are "only" 4 in 2800+ minutes.

But which plugin are you using, framed or "basic"? Because the command for the framed is OLEDFRAMEDCMD.

I know we're lacking in the area of documentation .. I'm hunting paid job assignments in order to get time to spend on this. It's not that I don't think it's awesome we have 80+ patrons and getting Ko-Fi 4-5 times a week but we're in desperate need of support to be able to dedicated all our time on this. :roll:
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#10 Post by thobastian » 06 Jan 2019, 20:24

correction: I use the normal display ssd1306.

Have I installed the plugin ?
or is it automatically installed?
Last edited by thobastian on 06 Jan 2019, 20:27, edited 1 time in total.

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#11 Post by thobastian » 06 Jan 2019, 20:25

The commands oled and oledcmd give no error back.

but also no output on display :-(

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#12 Post by grovkillen » 06 Jan 2019, 20:29

Yes it's either-or, if you find it in the drop down menu and you have it all set up and working then you have it :)

OLEDFRAMEDCMD,Off

As an example...

But you want to update the lines? With costum text etc?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#13 Post by grovkillen » 06 Jan 2019, 20:30

You should probably use the other OLED plugin since that one you can change the text via commands.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#14 Post by thobastian » 06 Jan 2019, 20:31

If I insert the text into the device configuration, it works and display the text.

That is, what I want: insert text to display (for status from my other system (iobroker))

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#15 Post by grovkillen » 06 Jan 2019, 20:33

Not possible with the framed OLED plugin (yet). That is why we have the old basic plugin left in the list. Sorry for the confusion.

What info are we talking about, float/integers or strings?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#16 Post by thobastian » 06 Jan 2019, 20:39

I want to insert strings, f.e. "Door open", "Door close"

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#17 Post by thobastian » 06 Jan 2019, 20:48

and how can I use the other plugin ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#18 Post by grovkillen » 06 Jan 2019, 20:50

Ok, not possible no (not yet). Either use the old plugin or insert it by the use of values.

Door: 1
Door: 0

For open/closed. These values can be assigned in multiple ways. Strings are not yet possible.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#19 Post by grovkillen » 06 Jan 2019, 20:50

thobastian wrote: 06 Jan 2019, 20:48 and how can I use the other plugin ?
Delete the current one (in the settings) and add the other.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#20 Post by grovkillen » 06 Jan 2019, 20:51

But, did you use the framed OLED plugin or not?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#21 Post by thobastian » 06 Jan 2019, 20:54

I am not realy sure. here I inserted a picture.
Attachments
IMG_1260.JPG
IMG_1260.JPG (580.41 KiB) Viewed 11933 times

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#22 Post by thobastian » 06 Jan 2019, 21:09

I'll try now the OLED SSD1306 plugin.
I can now insert text on the first line, but it works not for 2. /3. and so on.

Is that not possible? I'll try: OLED,1,1,test

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: OLED on

#23 Post by grovkillen » 07 Jan 2019, 05:42

That picture slows that it's the framed OLED plugin (the status bar on the top of the display). But you would clearly see which plugin your using in the settings page...

PS. To change the text on other lines, change the command to OLED,2,1,TEXT etc...
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

thobastian
Normal user
Posts: 15
Joined: 21 Sep 2018, 11:05

Re: OLED on

#24 Post by thobastian » 07 Jan 2019, 08:10

Attach my actual configuration.

But didn't work. ESPEasy inserted allways my text into the first line.

and what about my variables configuration? I see only "Tuer1: %Z1%"
Attachments
Anmerkung 2019-01-07 080713.jpg
Anmerkung 2019-01-07 080713.jpg (73.89 KiB) Viewed 11882 times
Anmerkung 2019-01-07 080628.jpg
Anmerkung 2019-01-07 080628.jpg (75.65 KiB) Viewed 11882 times

Post Reply

Who is online

Users browsing this forum: No registered users and 57 guests