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.

.sonoff.json file does not restored when manual remove it.

See original GitHub issue

The .json file in /config does not restored when I manual remove it. I did try uninstall/reinstall SonoffLAN but get no luck. I have to try “always reload”. How could I fix this?

sonoff:
  username: !secret  sonoff_user
  password: !secret  sonoff_password
  force_update: [temperature, power]
  scan_interval: '00:00:05'  # (optional) default 5 minutes
  sensors: [temperature, humidity, power, current, voltage]
  mode: local
  reload: always 

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
PcOnline2004commented, Jul 28, 2020

@AlexxIT Thanks. Do I have to remove file .sonoff.json? If I do that, the file “.sonoff.json” does not restored when I restart HA. No sonoff devices appear. 😦 LOL

0reactions
PcOnline2004commented, Mar 12, 2021

Yes, still this problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No SonoffLan devices show in HA - Home Assistant Community
SonoffLAN makes a file Sonoff.json in the HA folder, you have to delete it to refresh the devices from the server. or write...
Read more >
Clear the Cache - Runtime - openHAB Community
Manual OH Install / Docker. Stop OH if it is running. Delete the /var/lib/openhab2/cache and /var/lib/ ...
Read more >
Home Assistant - Tasmota
Enable the ones you need. You cannot delete them, they will simply be re-added on a restart. Types of devices not listed above...
Read more >
Mosquitto MQTT Broker - Steve's internet Guide
By default it requires authentication and doesn't listen on a network address. The following simple configuration file will make mosquitto start like ...
Read more >
Install Homebridge on Raspberry Pi and Windows - Instructables
1. Homekit is a development package provided by Apple for developers to build Internet of Things (IoT) solutions. This development package enables Apple-built...
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