_P096_Vito Cant compile
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 2
- Joined: 12 Nov 2019, 09:22
_P096_Vito Cant compile
Hello, my name is Pascal and i am a beginner here. I use Arduino IDE due to some Problems with Atom/Platformio.
I will be deeply grateful for some hints in order to solve my problem.
I want to compile ESPeasy together with the _P096_Vito Plugin. For that i added the lib (OptolinkP300.hpp / Datapoint.hpp) , which is described in the Plugin.
During compiling the error message is :
D:\........\ESPEasy-mega-20191028\source\ESPEasy\_P096_Vito.ino: In function 'boolean Plugin_096(byte, EventStruct*, String&)':
_P096_Vito:321: error: 'TX' was not declared in this scope
pinMode(TX,INPUT);
Does anybody know what could be the problem?
I used "ESPEasy-mega-20191028"
Many thanks.
I will be deeply grateful for some hints in order to solve my problem.
I want to compile ESPeasy together with the _P096_Vito Plugin. For that i added the lib (OptolinkP300.hpp / Datapoint.hpp) , which is described in the Plugin.
During compiling the error message is :
D:\........\ESPEasy-mega-20191028\source\ESPEasy\_P096_Vito.ino: In function 'boolean Plugin_096(byte, EventStruct*, String&)':
_P096_Vito:321: error: 'TX' was not declared in this scope
pinMode(TX,INPUT);
Does anybody know what could be the problem?
I used "ESPEasy-mega-20191028"
Many thanks.
-
- Normal user
- Posts: 37
- Joined: 27 Aug 2019, 23:57
Re: _P096_Vito Cant compile
You probably have to define TX to the pin number associated with your serial transmit somewhere in the header.
Without checking (so I may be wrong), this could be due to the fact that RX, TX and probably other pins are defined by the PlatformIO environment, while they're not by Arduino IDE.
It may be more efficient trying to fix the problem(s) with PlatformIO to use it, instead of Arduino IDE (I known you may have issues switching from one to the other, I had too).
Without checking (so I may be wrong), this could be due to the fact that RX, TX and probably other pins are defined by the PlatformIO environment, while they're not by Arduino IDE.
It may be more efficient trying to fix the problem(s) with PlatformIO to use it, instead of Arduino IDE (I known you may have issues switching from one to the other, I had too).
-
- New user
- Posts: 2
- Joined: 12 Nov 2019, 09:22
Re: _P096_Vito Cant compile
I will try it out.
Re: _P096_Vito Cant compile
Hello, i also look for a way to control my heating. Is there anybody who has already compiled a version with the plugin?
regards
regards
Re: _P096_Vito Cant compile
The _P096_Vito.ino source has not been updated in a long time, and most likely won't compile with current ESPEasy (Mega) sources.
You are the first in a long time requesting this, so I can only assume there isn't much request for this plugin.
Looking at the code quickly, it will take quite some effort to make it work again. I can put it on my TODO list, but it won't have an ETA, as I'm already working on quite a few projects in parallel.
You are the first in a long time requesting this, so I can only assume there isn't much request for this plugin.
Looking at the code quickly, it will take quite some effort to make it work again. I can put it on my TODO list, but it won't have an ETA, as I'm already working on quite a few projects in parallel.
/Ton (PayPal.me)
Re: _P096_Vito Cant compile
10x for the answer.
I use the ESP8266 togehter with EasyESP FW and the IoBroker to make my House Smart. At the moment i run several Devices with the FW for Fingerprints and different Sensors.
Until this there was never a need for me to change anything in the Programming of the FW. Looks like now i should give it a try.
Visula Studio Code is installed and I started the first steps with PlatformIO to create a custom build - so far this works.
Now I start to have a view on the code and read the doc's.
.. we will se if i can go forward
I use the ESP8266 togehter with EasyESP FW and the IoBroker to make my House Smart. At the moment i run several Devices with the FW for Fingerprints and different Sensors.
Until this there was never a need for me to change anything in the Programming of the FW. Looks like now i should give it a try.
Visula Studio Code is installed and I started the first steps with PlatformIO to create a custom build - so far this works.
Now I start to have a view on the code and read the doc's.
.. we will se if i can go forward
Re: _P096_Vito Cant compile
I assume you have found this documentation that I put quite some time into? https://espeasy.readthedocs.io/en/lates ... on-espeasy
/Ton (PayPal.me)
Re: _P096_Vito Cant compile
Yes - this docu i used to set it up and i use to understand all the files and so on
Re: _P096_Vito Cant compile
Be aware that Plugin ID P096/96 already is in use (for the eInk displays plugin), if you want this plugin to be included in the regular ESPEasy builds, it will need a new ID, that you can request here: https://github.com/letscontrolit/ESPEasy/issues/3839 (Next available Plugin ID is P140/140).
/Ton (PayPal.me)
Re: _P096_Vito Cant compile
@Conner, are you working on getting that plugin migrated from ESPEasyPlayGround to ESPEasy mega branch? If so I'll reserve Plugin ID 140 for you (have some more ID's to reserve, but want to avoid messing your numbers up )
/Ton (PayPal.me)
Re: _P096_Vito Cant compile
Hello, Yes. I'm working on the Project. At the Weeknend I finished the Hardware and I started communicating with the Heating. So far this works with simple Putty. Next I have to decide if i can do the job with the plugin or it is even easier to use the serial communication of rules. Let me play a few more days then i will send you the way i go.
cu
cu
Who is online
Users browsing this forum: Google [Bot] and 0 guests