-
Notifications
You must be signed in to change notification settings - Fork 44
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
What is meant by "Just put all these files in your ESPHome folder"? #24
Comments
No need to overwrite anything, or merge, or even use the original files, everything you need is already contained in this project. |
But there is no .ino file in this project so how to you build it? Sorry if I'm asking stupid questions but I'm totally new to Arduino. Or do I need some other compiler for C++ rather than .ino? |
Um... This isn't exactly Arduino, you know, this project is specifically created for a certain hardware (basically, for the ESP8266-based board, D1 mini), and is adapted to be used in Home Assistant by either uploading it via the add-on, or via "esphome run". |
Thanks and sorry for my misunderstanding :) I have a D1 mini but couldn't see how to upload raw code to a device once I'd flashed it to the D1. So, so far I have the Esphome module added to Home Assistant and ESPHome running on the D1 so I'll have another look when I have more time. |
That's the ESP's own web-interface, you don't really need it for now. |
Thanks! I've now installed ESPHome locally (and in HA). However I can't get "esphome run lr_mhi_ac_ctrl.yaml" working on my local PC. It just says "ModuleNotFoundError: No module named 'platformio.commands.run'". I don't think it's an issue with the code in this repo so I've raised a new issue here: esphome/issues#3396 |
Would it work to instead of using the "includes" option to use this as an "external_component" as well? I would like to keep this in a distinct folder within esphome or even point here to the repo through the external component option to ensure the latest version is always being used. Would this work? |
Next to the airco-woonkamer.yaml should work. My listing:
|
Hey, I'm currently using the project what this was based on and recently got into ESPHome. Am I correct that rather than copy pasting the files I should be able to use external components for this ? |
I believe using external components is only possible if the MHI-AC-Ctrl project starts putting source files in a components dir. |
I've checked it out, and it seems a bit more complex than that, It'll also need like an |
I'll convert it into a custom component installable through github somewhere this weekend. |
That's a good idea too, I was thinking about pulling the .h's from the MHI-AC-Ctrl project instead of keeping them bundled here and waiting for this project to release the same files again. Then you'd only need to version the yaml file and the mhi_ac_ctrl.h. But in hindsight, that might bring some incompatibilities. |
@synegic , did you manage to get it working? Or did you hit some roadblocks? I tried to do it myself but I'm not versed enough in ESPHome/C to make anything happen |
@MidasLamb I haven't had time to properly look at it yet. But I am still intending to. I'll also directly address #51. |
I have done much of why you're talking about locally (having it work as an external module with python config). But i haven't had the time to clean it up and document it and won't for at least a month. I'll try and push what I have soon though and link it here and maybe it helps a little. I just updated it to the 2.6 and it's nice to have the auto fan mode working! |
Well it's a mess, but I've made it into a git repo |
I want to place a comment for the implementers of this project to HA to solve the same problem as OP;
|
Did you get it to work? If so, how? |
Does this make it easier: https://github.com/RobertJansen1/MHI-AC-Ctrl-ESPHome/blob/TerminatorNL-master/README.md#Installation |
This is probably a silly question but despite 20 years experience in software development , what is meant by "Just put all these files in your ESPHome folder"? Because if I check out the code of this repo, then copy in all the files from the original project, then surely the files which have the same name will get overwritten and it will simply be running the original code? Am I being stupid? :)
How should you merge the source folders so this extension still works? I feel like there's a step missing from the instructions or something?
The text was updated successfully, but these errors were encountered: