question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid config after updating to 2.x

See original GitHub issue

getting invalid configuration on restart.

1.X has been working fine.

sonoff:
  username: 2ndaccntwithsharedemail
  password: superduperpassword
  reload: once

looked at the docs and didnt see reload: once anywhere so I removed it for 2.x (tried it both ways after the error)

Invalid config
The following integrations and platforms could not be set up:

sonoff
Please check your config.

any idea?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ctrl50commented, Jun 3, 2020

yeah i read the changes before updating. just figured that since you say But I recommend using the new mode, it works great. that it would work great. (lol) no sarcasm meant., really appreciate this. (I have the ability to flash tasmota or esphome but rather not if i dont need to!)

mode: local does work, and after I posted this I got it working,

Not sure what the deal is. i can login no problem from my main account and the second account that has the shared devices linked work fine on my wifi network.

I do have a pretty cool/(crazy?) router setup. 3 netgear routers with the main cable router serving dhcp to the other two. everythings been fine for a year like this with no issues. ive got ports forwarded for certian services: I can ssh in, vnc in to all hosts on every router from outside the network. view cameras, etc.

anyway thanks for the integration . Least its working.

1reaction
AlexxITcommented, Jun 2, 2020

Add setting mode: local. It will help. You have problems connecting to ewelink servers. The new version connects to them by default. Please read breaking changes 2.0: https://github.com/AlexxIT/SonoffLAN

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid TLS config after upgrading to 1.10.2 #2518 - GitHub
Run application with provided env vars on version 1.10.2. Server logs. The configuration contains values or keys which are invalid: serve.public ...
Read more >
Problems after updating - Invalid config - Home Assistant OS
After installing latest updates I get an error notification saying “Invalid config” and then i'm not able to use Automations and Default ...
Read more >
Invalid configuration object. Webpack has been initialised ...
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
Read more >
"Invalid configuration for device '0'" error when re-connecting ...
This issue occurs as the vSphere H5 Client sends requests to the vCenter Server with some unexpected fields. Resolution. This issue is resolved ......
Read more >
Invalid config structures can result in exceptions when saving ...
Did you figured out which part of the configuration was wrong in the first place? Ideally update.php should have finished already at that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found