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

cant upload something wrong in code? #2

Open
berne88 opened this issue Dec 30, 2022 · 7 comments
Open

cant upload something wrong in code? #2

berne88 opened this issue Dec 30, 2022 · 7 comments

Comments

@berne88
Copy link

berne88 commented Dec 30, 2022

Hello

i getting error when trying to upload the code?

i guess its this initial_value: '${end_position}'

any fix?

@sidoh
Copy link
Owner

sidoh commented Dec 30, 2022

Can you share the errors your seeing?

@berne88
Copy link
Author

berne88 commented Dec 30, 2022 via email

@sidoh
Copy link
Owner

sidoh commented Dec 30, 2022

I'm guessing you might have an older version of esphome installed. Maybe try updating it?

https://esphome.io/guides/faq.html#how-do-i-update-to-the-latest-version

@berne88
Copy link
Author

berne88 commented Dec 30, 2022

I am using Home assistent, and esphome. I have the lates .V of

Current version: 2022.12.3

And what line to change target? Is a lot of target in the code🤯

@sidoh
Copy link
Owner

sidoh commented Dec 30, 2022

If anything is out of date, it'd be esphome. My guess is you're using a version of esphome that doesn't know how to deal with variables.

Try running

pip3 install --pre -U esphome

to upgrade esphome.

@berne88
Copy link
Author

berne88 commented Dec 31, 2022

Maybe the ESPhome in HA is diffrent form the free standing esphome.

i have the latest on it all, system, esp,

@sidoh
Copy link
Owner

sidoh commented Dec 31, 2022

You don't need to use the esphome bundled with HomeAssistant for this part.

This step is generating some C++ code which is then compiled into a firmware binary you upload to the ESP8266. You can do it on any machine.

This is working for me:

$ esphome version
Version: 2022.12.3

$ esphome compile office_blinds.yaml
(...)
================================================================ [SUCCESS] Took 71.03 seconds ================================================================

**************************************************************************************************************************************************************

Could you also paste the contents of garage.yaml?

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