SSD1306 DISPLAY VALUES
Moderators: grovkillen, Stuntteam, TD-er
SSD1306 DISPLAY VALUES
Hello.
I need to display the status of an output GPIO14 in a ssd1306 display.
Is that possible?
Another question is any where a complete list of the values that is possible to display in a ssd1306.
Thank you
I need to display the status of an output GPIO14 in a ssd1306 display.
Is that possible?
Another question is any where a complete list of the values that is possible to display in a ssd1306.
Thank you
Re: SSD1306 DISPLAY VALUES
For a list, see the wiki: https://www.letscontrolit.com/wiki/inde ... LEDDisplay
And in the webinterface is a big blue question-mark icon, which will also link to the related Wiki topic
And in the webinterface is a big blue question-mark icon, which will also link to the related Wiki topic
Re: SSD1306 DISPLAY VALUES
Ok, i already see that link, but i think my question was not answered. My question is about sintax. In espeasy web interface in devices OLED ssd1306 can i put something like %value% gpio14 in line1 for example, so i can see if a certain output is 1or 0 .
Re: SSD1306 DISPLAY VALUES
I tried [GPIO14#value] and doesn't work.
Re: SSD1306 DISPLAY VALUES
You can (currently) only query the output of the plugins/tasks.
So what is setting that pin value?
But I guess it is a nice feature to have, to query pins like that.
Maybe also in rules.
So what is setting that pin value?
But I guess it is a nice feature to have, to query pins like that.
Maybe also in rules.
Re: SSD1306 DISPLAY VALUES
thank you for your anwser, i only use it in rules, its an output for a water heater in the solar panel, and i want to know if it's on or off and see if temperature is rising.
Last edited by pmalvino on 04 Mar 2018, 22:24, edited 1 time in total.
Re: SSD1306 DISPLAY VALUES
Then why don't you set a switch plugin to that pin?
Re: SSD1306 DISPLAY VALUES
Ok, Tell me how to do that , i dont know please. Thanks you.
Re: SSD1306 DISPLAY VALUES
ok my rules :
my devices:
my oled ssd1306 config in devices: thank you
Code: Select all
On manual#manual=1 do
gpio,14,1
endon
On manual#manual=0 do
gpio,14,0
endon
On Clock#Time=All,06:40 do
event,thermon
endon
On Clock#Time=All,07:40 do
event,thermoff
endon
On Clock#Time=All,18:00 do
event,thermon
endon
On Clock#Time=All,19:00 do
event,thermoff
endon
On thermon do
gpio,14,1
endon
On thermoff do
gpio,14,0
endon
my oled ssd1306 config in devices: thank you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: SSD1306 DISPLAY VALUES
"Easiest" way is to make a switch device which monitor the gpio 14.
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: SSD1306 DISPLAY VALUES
thank you, its working.
devices: oled:
devices: oled:
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: SSD1306 DISPLAY VALUES
Good
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: SSD1306 DISPLAY VALUES
Hello again.
I am sorry but after a while the display go blank, so i go to Devices and edit the display SSD1306 and for my surprise, the configuration of the lines 1 to 4 were blank, disappear.
Then for test, i remove the GPIO14 switch input and remove from the display configuration line 3 and 4 concerning the gpio14 and in the morning every thing was working fine.
I think this is a bug, can any one confirm this?
Thank you
I am sorry but after a while the display go blank, so i go to Devices and edit the display SSD1306 and for my surprise, the configuration of the lines 1 to 4 were blank, disappear.
Then for test, i remove the GPIO14 switch input and remove from the display configuration line 3 and 4 concerning the gpio14 and in the morning every thing was working fine.
I think this is a bug, can any one confirm this?
Thank you
Re: SSD1306 DISPLAY VALUES
Was there another plugin with a lower task number, which you deleted?
I've seen something similar and was not able to reproduce.
Just like deleting one module resets the (extra) data of another one.
I've seen something similar and was not able to reproduce.
Just like deleting one module resets the (extra) data of another one.
Re: SSD1306 DISPLAY VALUES
Hello.
The problem dont occurred by deleting a module, it occurred by adding a Switch input to monitor an output and then display it in a SSD1306 oled device by adding [solarout#Switch] in the configuration.
I deleted task 4 you can see it in the image of my previous post, and only configure line 1 and 2 in Devices - OLED SSD1306.
with this every thing is ok, 3 days without problems.
I think this problem is related to line 4, [solarout#Switch].
Re: SSD1306 DISPLAY VALUES
Was the switch removed, so there was no task with that name anymore?
Re: SSD1306 DISPLAY VALUES
It could be related, that the tag with a reference to the device with that name was being displayed, which somehow crashes things.
A reboot should have fixed that I guess. Will try to reproduce here.
A reboot should have fixed that I guess. Will try to reproduce here.
Re: SSD1306 DISPLAY VALUES
hello.
I want to say thank you to TD-er, for the attention to my problem.
I think i fix it.
the problem was not a bug.
i install the new firmware ESPEasy_v2.0-20180310 and configure the display and the dummy switch to monitor the output GPIO14 and everything is working fine.
I think that the problem was the firmware i was using ESPEasy_v2.0.0-dev10.
I update the firmware via OTA and have to delete all devices, and then configure them again, and that was the trick.
Thank you TD-er again and hope that this help someone with the same problem.
I want to say thank you to TD-er, for the attention to my problem.
I think i fix it.
the problem was not a bug.
i install the new firmware ESPEasy_v2.0-20180310 and configure the display and the dummy switch to monitor the output GPIO14 and everything is working fine.
I think that the problem was the firmware i was using ESPEasy_v2.0.0-dev10.
I update the firmware via OTA and have to delete all devices, and then configure them again, and that was the trick.
Thank you TD-er again and hope that this help someone with the same problem.
Who is online
Users browsing this forum: No registered users and 158 guests