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

weewx problem #257

Open
msman0 opened this issue Jan 15, 2023 · 1 comment
Open

weewx problem #257

msman0 opened this issue Jan 15, 2023 · 1 comment

Comments

@msman0
Copy link

msman0 commented Jan 15, 2023

Hi, I have tried to activate it with my weewx station. After starting homebridge I get these error message:

[WeatherPlus] Error parsing weather report for Weewx
[WeatherPlus] Error Message: TypeError: Cannot read properties of undefined (reading '0')

my configuration:

{
"units": "metric",
"interval": 5,
"stations": [
{
"nameNow": "F",
"service": "weewx",
"key": "http://192.168.99.5/weewx/weewx.json",
"locationCity": "V.4.9.1",
"language": "de",
"compatibility": "home",
"conditionCategory": "simple",
"now": true,
"extraHumidity": false
}
],
"platform": "WeatherPlus"
}

The JSON file is displayed correct when I open the URL.

With weather underground it work.

Where is the error that it don't work wie weewx?

Thank you.
Regards.

@sinabuddy
Copy link

Hi msman0

I solved / found today a problem or error in my installation.
My homebridge protocol showed everytime a "SyntaxError in Json at position 302" > no values were displayed.

In my "weewx.json" i found this entry:
"uv": 0,0,

My json file makes with this uv value the problem.
So i change "uv": 0,0, (with comma between 0,0 !!) to
"uv: 0.0" (with dot between 0.0)

And now it's running.
For the automatic creation in weewx, i remove the lines with uv in the "simple_weewx.json.tmpl" (my workaround, not the solutions)

maybe it will help you...

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