Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Unable to connect to EC #390

Open
pjockey opened this issue Oct 5, 2022 · 8 comments
Open

Unable to connect to EC #390

pjockey opened this issue Oct 5, 2022 · 8 comments

Comments

@pjockey
Copy link

pjockey commented Oct 5, 2022

Describe the bug
The scoreboard starts, but then stops, matrix has nothing on it.

Logs
Unable to connect to EC, try running again in a few minutes

Your config file
"weather": {
"enabled": true,
"view": "full",
"units": "metric",
"duration": 60,
"data_feed": "EC",
"owm_apikey": "",
"update_freq": 5,
"show_on_clock": true,
"forecast_enabled":false,
"forecast_days": 3,
"forecast_update": 1
},
"wxalert": {
"alert_feed": "EC",
"update_freq": 5,
"show_alerts": false,
"nws_show_expire": false,
"alert_title": true,
"scroll_alert": true,
"alert_duration": 5,
"show_on_clock": true
}
Hardware you are using

  • Raspberry pi model 3B+
  • The Matrix driver (Adafruit Bonnet or Adafruit HAT): Bonnet
  • Anti-flicker mod or not? : YES

Software

  • Which version of the software are you on? : 1.6.10
@falkyre
Copy link
Contributor

falkyre commented Oct 5, 2022

There was an issue with the EC Data Mart. It was extremely slow, even on a browser (taking 7 to 10 seconds to download the xml file). It looks like this has now cleared up. I'll look at adding something to bypass if this happens in the future and allow the board to run ion start rather than stopping.

@falkyre
Copy link
Contributor

falkyre commented Oct 15, 2022

This will be fixed in next release so if on start and it can't connect, the EC thread won't stop the board from running.

@abec427
Copy link

abec427 commented Nov 3, 2022

I have the same issue even though I have owm weather selected instead of ec. The board will not start. I ran the setup again and selected no to the weather data feed and weather alerts. It works fine now.

"2022-11-03 08:15:48 ERROR Unable to connect to EC, try running again in a few minutes"

@falkyre
Copy link
Contributor

falkyre commented Nov 3, 2022

Do you have the weather alerts for EC selected? If so, eventhough you are using OWM, EC will be used to get the alerts. Easiest fix until the new version comes out is to disable the weather alerts in your config.json.

@abec427
Copy link

abec427 commented Nov 19, 2022

I disabled the weather boards in config.json. It works well like that.

@VegasPrinted
Copy link

Verified again today there is an issue connecting to EC

@pjockey
Copy link
Author

pjockey commented Dec 22, 2022

Is this still not working? Or can I re-enable it?
Thanks
Scott

@falkyre
Copy link
Contributor

falkyre commented Dec 24, 2022

If you aren't using the beta branch, this issue is still there. The code under beta will remove the sys.exit(0) from line 103. If you want a quick fix, you can comment or remove that line out and this will fix the looping on start if your board is unable to reach EC or if they are having data mart issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants