Hello everybody,
I want to use this plugin : https://github.com/letscontrolit/ESPEas ... leinfo.ino The french electric meter has an "serial" output, this plugin helps decoding the instant power, index, contract and many other infos...
I use Atom and Platformio.
In the source folder of ESPEasy, I downloaded the Teleinfo.ino file into "src" dir and the "P127_LibTeleinfo_Library" folder into "lib" one.
But, after the successful flash, in the devices list the plugin doesn't appear.
Did I missed something ?
Thanks!
Failed to add a plugin from the playground
Moderators: grovkillen, Stuntteam, TD-er
Re: Failed to add a plugin from the playground
You need to specify the plugins to be used in your custom build. Basic instructions for compiling custom builds is found here:
https://espeasy.readthedocs.io/en/lates ... th-vs-code
- Thomas
https://espeasy.readthedocs.io/en/lates ... th-vs-code
- Thomas
Re: Failed to add a plugin from the playground
Even with the best motivation, I can't understand this phrase.The easiest is to go for the environment “env:custom_ESP8266_4M” and unfold that one. Then select “Build” to see if it will start building.
How to "go for the environment “[...]”
How to "unfold" it ?
Re: Failed to add a plugin from the playground
I added the plugin by my own way but it seems to have a lib define problem
/home/me/dev/ESPEasy/ESPEasy_ESP82xx_mega-20201102_special_teleinfo_edf/source/src/_P127_Teleinfo.ino:49:37: error: 'SENSOR_TYPE_SINGLE' was not declared in this scope
Device[deviceCount].VType = SENSOR_TYPE_SINGLE;
/home/me/dev/ESPEasy/ESPEasy_ESP82xx_mega-20201102_special_teleinfo_edf/source/src/_P127_Teleinfo.ino:85:65: error: no matching function for call to 'ESPeasySerial::
ESPeasySerial(const int16_t&, const int16_t&)'
P127_easySerial = new ESPeasySerial(serial_rx, serial_tx);
Last edited by Waryard on 15 Nov 2020, 22:28, edited 1 time in total.
Re: Failed to add a plugin from the playground
Little precision, the plugin needed SoftwareSerial
I tried this one https://github.com/PaulStoffregen/SoftwareSerial
And also this one for ESP8266 https://github.com/plerup/espsoftwareserial
But the result is the same, compilation fails with many errors like the ones mentioned before
I tried this one https://github.com/PaulStoffregen/SoftwareSerial
And also this one for ESP8266 https://github.com/plerup/espsoftwareserial
But the result is the same, compilation fails with many errors like the ones mentioned before
Who is online
Users browsing this forum: No registered users and 2 guests