Hi,
I would be interested in implementing plugins for the Sonoff Dual and the Sonoff Pow, if I can find some kind of tutorial that helps me to understand how they should be structured and what kinds of functionality I can use. Can I, for instance, use interrupt-driven reading of sensors (most probably needed for the current sensor in the Sonoff Pow)?
I know that I can use Espurna, but I like ESPEasy and use it in a number of different devices already...
Cheers, Joachim
Tutorial for implementing plug-ins?
Moderators: grovkillen, Stuntteam, TD-er
Re: Tutorial for implementing plug-ins?
Hi Joachim,
Yes, you can use interrupt-driven routines.
To get you started read the wiki:
http://letscontrolit.com/wiki/index.php ... Guidelines
http://letscontrolit.com/wiki/index.php ... evelopment
Further information can be obtained by studying the plugins allready developed. I found the following plugins very helpfull:
From the core:
_P026_Sysinfo (https://github.com/letscontrolit/ESPEas ... ysinfo.ino)
And from the playground:
_P199_RF433_KAKU (https://github.com/letscontrolit/ESPEas ... 3_KaKu.ino)
And maybe my own recently developed plugin can help you:
_P186_Ventus_W266 (https://github.com/letscontrolit/ESPEas ... 2e1cb45a1a)
Good luck.
Edit: Typo
Yes, you can use interrupt-driven routines.
To get you started read the wiki:
http://letscontrolit.com/wiki/index.php ... Guidelines
http://letscontrolit.com/wiki/index.php ... evelopment
Further information can be obtained by studying the plugins allready developed. I found the following plugins very helpfull:
From the core:
_P026_Sysinfo (https://github.com/letscontrolit/ESPEas ... ysinfo.ino)
And from the playground:
_P199_RF433_KAKU (https://github.com/letscontrolit/ESPEas ... 3_KaKu.ino)
And maybe my own recently developed plugin can help you:
_P186_Ventus_W266 (https://github.com/letscontrolit/ESPEas ... 2e1cb45a1a)
Good luck.
Edit: Typo
Re: Tutorial for implementing plug-ins?
Thank you, JustMeNL, for the pointers. I'm looking forward to playing around with it
Cheers, Joe
Cheers, Joe
Who is online
Users browsing this forum: No registered users and 154 guests