Page 1 of 1
ESP-OLED
Posted: Thu Nov 09, 2017 11:25 am
by Pako
I made the first version of the ESP-OLED plugin.
I think it worked quite well.
All the information and files you can find on my
GitHub.
Pako
Re: ESP-OLED
Posted: Thu Nov 09, 2017 12:45 pm
by Pako
Example of use:
In cooperation with the Pushbullet plugin, it can display the SMS that your smartphone receives.

- SMS.png (5.27 KiB) Viewed 3163 times
Python Script content:Code: Select all
pld=eg.event.payload[3]
if pld[u'package_name']==u'com.android.mms' and pld[u'application_name']==u'Zpr\xe1vy':
eg.result = "SMS:\n"+pld['body'][-300:]
else:
eg.StopMacro()
Python script you have to edit according to your terms. In particular,
application_name, this will vary according to your language.
Pako
Re: ESP-OLED
Posted: Thu Nov 09, 2017 1:07 pm
by User1306
if you use AutoRemote and AutoNotification, you can pretty much forward any notification that comes to your phone to this

Thank you very much
Re: ESP-OLED
Posted: Mon Nov 13, 2017 10:55 am
by User1306
hello
i tired to have a go at this yesterday, i downloaded all the required library but while compiling i get some errors that have to do with the "Tunehandle". i tired removing anything related to the Tune, but i still get errors.
i will try to work through these error otherwise i'll let you know.
Re: ESP-OLED
Posted: Mon Nov 13, 2017 12:52 pm
by Pako
User1306 wrote: Mon Nov 13, 2017 10:55 am
i downloaded all the required library but while compiling i get some errors that have to do with the "Tunehandle". i tired removing anything related to the Tune
Thank you for the information, I'm glad you're trying.
It is possible that I forgot to attach another modified library, but in connection with
tuneHandler I do not remember anything ...
Note:
In the
Arduino/libraries directory are files that I had to modify (before compilation).
It is necessary to replace the original files (with the same name) using these files.
Pako
Re: ESP-OLED
Posted: Tue Nov 14, 2017 8:26 am
by User1306
thanks for the reply Pako
i'll look into those files when i get back home and try again, but another thing, my EG freezes everytime i try to add the OLED plugin.
(i exit EG, added the plugin in the folder, open EG and add the new plugin in thr tree, but then it freezes)
Re: ESP-OLED
Posted: Tue Nov 14, 2017 12:00 pm
by Pako
User1306 wrote: Tue Nov 14, 2017 8:26 am
but another thing, my EG freezes everytime i try to add the OLED plugin
Which version of EventGhost do you use?
I'm using 0.4.1.r1722.
Pako
Re: ESP-OLED
Posted: Tue Nov 14, 2017 10:06 pm
by User1306
I tried the plugin on a different pc, both are running the same version as yours, but end up freezing and i have to force quit.
is there something i can do to help?
Re: ESP-OLED
Posted: Wed Nov 15, 2017 6:36 am
by Pako
User1306 wrote: Tue Nov 14, 2017 10:06 pm
but end up freezing and i have to force qui
1) Run EventGhost with -debug.
2) Try adding a plugin.
3) When it freezes, kill EventGhost.
The Log.txt file is now in the C:\Users\<USER>\AppData\Roaming\EventGhost directory. I need to see its contents, especially the end of the file. There should be seeing what is happening.
Pako
Re: ESP-OLED
Posted: Thu Nov 16, 2017 10:24 am
by User1306
Hi Pako
apologies for the stupid question, but how do i start EG in Debug mode?
thanks
Re: ESP-OLED
Posted: Thu Nov 16, 2017 5:42 pm
by Pako
User1306 wrote: Thu Nov 16, 2017 10:24 am
how do i start EG in Debug mode?
There are several options. For example:
1) Using the command line (cmd): "eventghost.exe -debug"
2) Use the .bat file. Create the "run.bat" file. Type "eventghost.exe -debug" into it. Save and run.
3) Using a shortcut. Create a shortcut for EventGhost. Use the right button and select "Properties". In the "Target" field, write "-debug" to the end. Save and run.
I hope it is understandable despite my poor English.
Pako