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

Pi Raspbian issue linux_json_api-sh #496

Open
Red7Hunter opened this issue Jul 9, 2020 · 2 comments
Open

Pi Raspbian issue linux_json_api-sh #496

Red7Hunter opened this issue Jul 9, 2020 · 2 comments

Comments

@Red7Hunter
Copy link

Red7Hunter commented Jul 9, 2020

Hello!
First time installing and running...

I wasn't able to get only a few data collections to show on web interface.. I look around and found some examples of changing the _parseAndPrint.. but those didnt work I made a slight modification to othere people solutions.. I am also using node.

Commented out code
__parseAndPrint() {
while read data; do
$ECHO -n "$data" | $SED -r 's/\//g' | $TR -d "\n";
done;
}_

New code:

_parseAndPrint() {
while read data; do
$ECHO -n "$data"
done;
}

Looks like everything is now outputing data.

Hope this helps.

Red.

@Red7Hunter
Copy link
Author

Hmmm.. it doesnt seem to correct it all the time. I'll do some more testing tonight see if u can figure it out.

Red

@VarChar42
Copy link

Had the same problem: #490
Reverting one commit fixed it.

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