fhem / fhem/fhem-mirror

Error if 77_Nina can't get a valid JSON value

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
77_Nina bug
Dominant language
Perl
Stars
22
Forks
15
PR merge metrics
No merged PRs in 30d

Description

```
2021.03.03 10:47:10.564 1: Nina general.security.civil_defence.mowas: JSONAcquire.607 Error: Can't get https://warnung.bund.de/bbk.dwd/unwetter.json -- https://warnung.bund.de/bbk.dwd/unwetter.json: Select timeout/error:
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "\r\n

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at FHEM/77_Nina.pm line 337 and inspect how the response from https://warnung.bund.de/bbk.dwd/unwetter.json is fetched and decoded. Reproduce or inspect the returned HTML response, then determine the intended handling for a non-JSON response; the issue does not define what the completed behavior should be.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.