Help please, think this is an easy one?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
g0emf
New user
Posts: 3
Joined: 02 May 2022, 19:16

Help please, think this is an easy one?

#1 Post by g0emf » 02 May 2022, 19:50

Hi guys, first-time poster :shock:
I have been trying to get my battery status data from node red into esp easy and display it on a small OLED SSD1306

I can see the data in ESP Easy Mega: ESP_Easy < webpage
Under the Devices tab and can see the data coming in via Generic - MQTT Import Value1:58.00
This all looks OK, my question is how do I display this on the OLED SSD1306 ??

Any Help please

Regards
Dave

I found the information below but I am not able to figure this out
https://www.letscontrolit.com/wiki/inde ... LEDDisplay

"Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Display - OLED 1306" from the dropdown box.

Enter template texts into lines 1 to 8. Plain text will be shown on the display exactly as entered. If you want to show a value, enclose <task name> and <value name> between brackets, separated by a hashtag.

So if you have a dallas sensor running, with taskname "Dallas", to get the temperature value, use this:

[Dallas#Temperature]

With release 057, some features were added. If you put %sysname% or %ip% or %systime% on a line in the table, the display will show either the name you gave the ESP module, its IP address or its time. The latter only when NTP is being deployed."

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Help please, think this is an easy one?

#2 Post by TD-er » 02 May 2022, 21:04

Please tell me what version of ESPEasy you are running.
Also the wiki is outdated, please use ReadTheDocs: https://espeasy.readthedocs.io/en/latest/

Not sure what you mean by "release 057" as ESPEasy builds have been based on dates for at least the last 4 years.
See: https://github.com/letscontrolit/ESPEasy/releases

User avatar
chromo23
Normal user
Posts: 821
Joined: 10 Sep 2020, 16:02
Location: germany

Re: Help please, think this is an easy one?

#3 Post by chromo23 » 02 May 2022, 21:10

TD-er wrote: 02 May 2022, 21:04 Not sure what you mean by "release 057" as ESPEasy builds have been based on dates for at least the last 4 years.
it´s a citation from the letscontrolit wiki...

g0emf
New user
Posts: 3
Joined: 02 May 2022, 19:16

Re: Help please, think this is an easy one?

#4 Post by g0emf » 02 May 2022, 21:21

TD-er wrote: 02 May 2022, 21:04 Please tell me what version of ESPEasy you are running.
Also the wiki is outdated, please use ReadTheDocs: https://espeasy.readthedocs.io/en/latest/

Not sure what you mean by "release 057" as ESPEasy builds have been based on dates for at least the last 4 years.
See: https://github.com/letscontrolit/ESPEasy/releases
I have

"Build:⋄ 20111 - Mega
System Libraries:⋄ ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support
Git Build:⋄
Plugin Count:⋄ 46 [Normal]
Build Origin: Travis
Build Time:⋄ Nov 25 2020 10:16:38
Binary Filename:⋄ ESP_Easy_mega_20201125_normal_ESP8266_4M1M_VCC
Build Platform:⋄ Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29
Git HEAD:⋄ mega-20201125_5e64afa"

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Help please, think this is an easy one?

#5 Post by TD-er » 02 May 2022, 21:34

Still about 18 months old build, but at least so much newer than described in the wiki.

You have probably named your tasks (on the 'devices' page), so lets assume you names your MQTT import task "import"
And its task values named something like "value1"

To address the value of this task value can be done like this:

Code: Select all

[import#value1]
So if you use a string like that in the display task configuration, it will be replaced by the actual value of this task value.

g0emf
New user
Posts: 3
Joined: 02 May 2022, 19:16

Re: Help please, think this is an easy one?

#6 Post by g0emf » 02 May 2022, 21:47

Thanks for the reply, have already done that.

However, I am downloading the latest version and will give that one a bash.

Thanks for the help guys.

Best regards to all
Dave

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests