The first issue is solved (remove the ligne “secrets: !include secrets.yaml” in configuration.yaml file but the other issue are always here
Next !
The first issue is solved (remove the ligne “secrets: !include secrets.yaml” in configuration.yaml file but the other issue are always here
Next !
If you removed secrets.yaml from configuration.yaml, but still use !secret: xxx for configuring your integrations, it won’t work.
Hmm ok, but I think than we not need to add the line in configuration.yaml
see this topic : https://community.home-assistant.io/t/secrets-yaml-not-working/2131
You don’t need it, but then you have to change your integrations. Put your real username/password there :
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
linky:
- username: enedis_username
password: enedis_password
timeout: 30
synology_dsm:
- host: "DISKSTATION"
username: synology_dsm_username
password: synology_dsm_password
port: 443
ssl: true
nissan_leaf:
- username: nissan_leaf_username
password: nissan_leaf_password
region: nissan_leaf_region
# Text to speech
tts:
- platform: google_translate
As far as I know, secrets.yaml
will be included automatically, there is no “integration” or “component” secrets that needs to be involved / set up.
Not that I have any idea, what is going wrong with this install on Pi4, but secrets
I do know, because I made that mistake a while ago myself.
yes, it’s also than I understand from this topic Secrets.yaml not working - #4 by mehuman but it no work
I’ll tested with the real login and password (without secrets.yaml) for test…
So the first error is gone? Good.
Next, remove the integrations that don’t work from your Integrations and / or .yaml
files, so we can start fresh with one at a time.
Afterwards restart HA or better the whole Pi and let’s see, what error messages come up then. If nothing fancy comes up, start with the next integration, e.g. enedis.
After setting it up, restart HA again, and see, what errors come up. You get the idea. If something happens doing this, come back here and report.
Ok, I,ll remove the four integrations in the first time
After the reboot, 0 issue in the log “developer tools>logs”
I return in Configuration > Integrations and search “ENEDIS linky” and I complete my mail and password account and valid but I have the error yet
My credential has verify and work it (https://mon-compte-client.enedis.fr/)
Yeah, it’s a good start, but unfortunately you have choosen one integration, that doesn’t seem to work correctly right now… Take a look here for an answer of the developer:
I’d suggest to take a closer look to the linked Github repository to monitor for the change to happen, so the integration will work again. Sorry.
So, up to the next, synology_dsm. How does this work out?
Ok, but about this issue topic : Login error: Please check your username/password. · Issue #28 · Pirionfr/pyLinky · GitHub it is closed since 6 days.
Otherwise, good news yesterday I have configure the “Freebox” integrations with success ! My first integration.
In reality, I hadn’t used the good value “host :” in the json file http://mafreebox.freebox.fr/api_version
“api_domain : yourFBname.fbxos.fr” and not “host :” value. It’s differente.
Now work it
Next integration → synology_dsm
One question : When I configure a integration by user interface, can we find the configuration in a file ? for check it.
Configuration is not in yaml. It is in JSON and inside a hidden directory called .storage
. You should not attempt to modify this file while the system is running and if you incorrectly modify the file while the system is off, HA will not start properly.
ok, don’t touch
Today, I have reconfigure integration “synology_dsm” and that work it
initial issue : bad port ssl
NISSAN leaf
error log:
2020-05-13 22:21:01 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while parsing a block collection
in “/config/configuration.yaml”, line 16, column 3
expected , but found ‘?’
in “/config/configuration.yaml”, line 19, column 3
2020-05-13 22:21:01 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while parsing a block collection
in “/config/configuration.yaml”, line 16, column 3
expected , but found ‘?’
in “/config/configuration.yaml”, line 19, column 3. Activating safe mode
You have borked your configuration.yaml. Fix it.
See, as I said, it will take it’s time, but it will work.
Yep, the issue is closed, the underlying library is already fix, but for what I can see in the home assistant repository, it is already in the dev branch, but not in master. So you have to wait for one of the next releases of HA, where this is fixed. But that will not take long, as it is already fixed in the dev branch.
And as @flamingm0e said, in line 16 of your configuration.yaml
seems to be an error. If this is a password line, you should put '
around the password, to mask special characters like ?
.
Thank you very much for your help
to follow therefore …
Ok, I’ll check. If I use " instead of ’ it’s good also ?
You’re welcome, it’s always nice to see things work out.
Yepp, as long as you use the same type of quotes at the beginning and at the end.
It is also dependent, if you have one type of quote in your password, then you need to use the other one to surround it. If in doubt, simply use double quotes around and remove all quotes from the password itself.