I tried to compile Tasmota update v5.10.0h and v5.10.0i in Arduino IDE I get fatal error of missing TasmotaSerial library.
...\Sonoff\Sonoff-Tasmota-development v5.10.0i\Sonoff-Tasmota-development\sonoff\xsns_03_energy.ino:252:27: fatal error: TasmotaSerial.h: No such file or directory
__
#include
^
compilation
terminated.
I'm very impressed about the time and effort you put in updating and expanding the Tasmota package. Thanks a lot.
Copy all libraries from the repository lib folder and you should be fine.
Do not know why I didn't check the library folder for the TasmotaSerialI, stupid me. Thank to your quick respons I have version 5.10.0i up and running now :-) 👍
i am receiving the same error. can you explain a little more what files i am grabbing and copying.
i have a folder called tasmotaSerial-1.0.0 in a lib folder. i copied the tasmotaserial.h into the sonoff folder, but that didnt work.
thanks
I downloaded the latest from the lib repository and replaced the original's but it still will not compile with the same error:
C:\Sonoff-Tasmota-5.11.0\sonoff\xsns_03_energy.ino:252:27: fatal error: TasmotaSerial.h: No such file or directory
#include
^
compilation terminated.
exit status 1
Error compiling for board Generic ESP8266 Module.
I'm getting the identical error with Tasmota 5.11. I have copied the TasmotaSerial.h file into /Sonoff-Tasmota-5.11.1/sonoff/ but the error still comes up. @Jerby13 what did you copy to where exactly?
EDIT: I did solve some the main errors by copying the "missing" files from https://github.com/arendst/Sonoff-Tasmota/tree/f4f40395991b7e4c76ebedcfa36af4c08d5f1cb7/sonoff OVER the existing files in the sonoff directory where sonoff.ino is located. Then it complained about sketch/TasmotaSerial.cpp and when I copied it to its lib directory lots of other errors came up. Seems there is some issue with the way the files extracted from the ZIP file maybe, so that Arduino IDE was not "seeing" them, or permissions error. I'm running it on Linux but it should still work as it is the latest version of Arduino IDE.
I copied the latest lib directory from the repository and overwrote my
existing /Sonoff-Tasmota-5.11.0/lib.
Full disclosure...I am a noob so I could easily be missing something
obvious.
On Jan 13, 2018 6:11 AM, "Danie" notifications@github.com wrote:
I'm getting the identical error with Tasmota 5.11. I have copied the
TasmotaSerial.h file into /Sonoff-Tasmota-5.11.1/sonoff/ but the error
still comes up. @Jerby13 https://github.com/jerby13 what did you copy
to where exactly?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/arendst/Sonoff-Tasmota/issues/1522#issuecomment-357430347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ahv4ukLWwhFRNNxybii6WRp0QvecxCGAks5tKJ1tgaJpZM4RU9LW
.
I suppose you have read the wiki regarding how to setup and use Arduino IDE with Tasmota: https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE
Thanks arendst. I was able to correct my problems by updating the ESP8266 Board version to 2.4.0. I also commented out several of the failing components that I don't need at the moment such as (CO2 sensors, Energy Sensors, etc.).
Thanks @arendst I think I must try that Wiki rather as I had the exact same problems with doing it in Windows. I did come right eventually by downgrading all versions to match exactly what was in DrZzs's video at https://www.youtube.com/watch?v=chyVjtYb0EA&index=5&list=PLL02pNmOcO9mADQt-naxoTPYW-mvwZwsW. But I'm still not managing to see the web server although my Sonoff Basic is connecting to my Wifi with an IP address. I think I'll follow your advise and reflash using that Wiki (I know more now than I did this morning so hopefully it goes better). But at least I'll have a different issue for a different thread.
@arendst quick feedback. The wiki worked like a charm (Linux users need to give permission to write to the USB port with "sudo chmod 666 /dev/ttyUSB0"). After I got a "host unreachable" error when pinging and the fixed IP never showed either, I realised my problems were probably network router related all along. Rebooted router and used plain DHCP and the switch is working just fine with webserver screen appearing. It's often the case we only look where we expect to see the fault....
I'm having the same trouble
/Sonoff-Tasmota-5.11.1/sonoff/xdrv_03_energy.ino:252:56: fatal error: TasmotaSerial.h: No such file or directory
#include
I am running arduino on Mac OS 10.13. I tried re-copying all the lib files off the repository. I do have a TasmodaSerial.h in the /lib/TasmotaSerial-1.0.1/src/ folder. Any other thoughts? Thanks.
I'm having the same problem too...
/Sonoff-Tasmota-5.11.1/sonoff/xdrv_03_energy.ino:252:27: fatal error: TasmotaSerial.h: No such file or directory
#include
^
compilation terminated.
exit status 1
Error compilando para la tarjeta Generic ESP8266 Module.
And also running macOS
Not sure about Mac or PC. Linux here.
You need to copy all of the Sonoff-Tasmota -development/lib folders into the arduino/lib folder.
If you follow judders advice you should have TasmotaSerial.cpp and TasmotaSerial.h files in directory
"....\arduino-1.8.5\libraries\TasmotaSerial-1.1.0\src"
In that directory you should also see other folders of libraries.
Restart IDE after you have copied the files.
I have the same error, if I open the sonoff.ino file in the tabs across the top I can clearly see the TasmotaSerial.h file is there but every time I run the verification same problem again. I've read that wiki page backwards and forwards 10 times I just cant see what I'm missing.
@Cattierfriend Make sure you download the "master" release. Not the "development" release.
Most helpful comment
If you follow judders advice you should have TasmotaSerial.cpp and TasmotaSerial.h files in directory
"....\arduino-1.8.5\libraries\TasmotaSerial-1.1.0\src"
In that directory you should also see other folders of libraries.
Restart IDE after you have copied the files.