Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE Compile fails #118

Closed
wellsy57 opened this issue Mar 23, 2019 · 3 comments
Closed

Arduino IDE Compile fails #118

wellsy57 opened this issue Mar 23, 2019 · 3 comments

Comments

@wellsy57
Copy link

wellsy57 commented Mar 23, 2019

I am using Arduino IDE and I have downloaded the library and setup ready to flash a Wemos D1 mini but I get:

C:\Users\Steve\Documents\Arduino\arduino-1.8.5\portable\sketchbook\HP_cntrl_esp8266\mitsubishi_heatpump_mqtt_esp8266_esp32\mitsubishi_heatpump_mqtt_esp8266_esp32.ino:9:22: fatal error: HeatPump.h: No such file or directory

 #include <HeatPump.h>

                      ^

compilation terminated.

I tried looking for a heatpump library and found HeatpumpIR by Tony Arte so I Installed that but still fails looking for HeatPump.h

Thanks in advance for your help.

@SwiCago
Copy link
Owner

SwiCago commented Mar 24, 2019

Why would you try a heatpump library from a totally different dev? Tony Arte Heatpump IR has nothing to do with this library. Re-read the readme, it is very clear as to where you are to put this library. You have to install this library to use the example sketches

@SwiCago SwiCago closed this as completed Mar 24, 2019
@wellsy57
Copy link
Author

wellsy57 commented Mar 24, 2019

Why would I? Maybe because I am fairly new to the world of flashing devices but have a good grasp of flashing tasmota onto sonoff devices with Arduino IDE. The support/documentation at tasmota was very useful to get that all sorted. Documentation on this project (for newbies) is scarce I think?

After sorting out where I had placed the folder with your library I encountered problems with a conflict with Arduino Json Version 5 and 6. The compiler gave an error and sent me here.
Ended up much easier to just downgrade from Json 6 back to Json 5 and then the compile worked. You may want to give people a heads up on that.

Cheers mate!

@SwiCago
Copy link
Owner

SwiCago commented Mar 24, 2019

If you have any more questions, please use the gitter chat. The link is in the upper right corner of the initial page. This library is not really for "newbies" as you call it, please be careful and don't destroy your heatpump. Tasmoto has lots of devs involved for documentation, here it is just me. Again, reach out in gitter, lots of experienced people willing to lend a hand, so you won't fry.
What version of IDE are you using? I am on latest and the json works fine, but I may be using an older version. When this library was created json for arduino was a third party library, as is pubsubclient.
Added note about json 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants