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

chart blank #5

Open
ewaldheinsen opened this issue Jun 19, 2018 · 7 comments
Open

chart blank #5

ewaldheinsen opened this issue Jun 19, 2018 · 7 comments

Comments

@ewaldheinsen
Copy link

Hello IndieJoeA. I have been using your plugin for the Craftbeerpi3 to integrate de Tilt Hydrometer. It works fine. Reads all the hydrometers, and presents the current info. But i have trouble viewing the chart. When i pull it, it comes out blank. It does not present any historic data. Is there something I have not done? any configuration that need to be completed? most sincere appreciation for your assistance.

@1971hemicuda
Copy link

I often find that when the chat is blank there is a read error in the log files. Usually has to do with reading the kettle log file. ...i wish I could say i've poked around with this but last time I had to delete my kettle and recreate it. Then i started getting log a clean log file. And then a chart would show up

@ewaldheinsen
Copy link
Author

Thank you for you assistance hemicuda. I have tried resetting the kettle log file. Deleting it, and creating a new one. I get the blank chart. What i dont get is any data. Do you have re created the sensor too? did you delete it, create it new and assigne it again?

Thank you for your assistance.

@1971hemicuda
Copy link

If you log into the terminal and head into the "logs" directory you'll see an 'app.log'. If you look in that file you'll see what is causing the error.

I still haven't figured everything out. I tend to just delete all my log files, reboot the system, then start my brew day. So I have fresh logs and data.

@ewaldheinsen
Copy link
Author

ewaldheinsen commented Jul 9, 2018 via email

@Lagerman
Copy link

Running the plug in with Tilt 2.0. Connects and works great. information does not populate the chart in CBP. any updates, suggestions? Without charting, this reduces the value of the plug in to near zero.

@splitice
Copy link

I can confirm this as well. app.log shows nothing of interest either.

@splitice
Copy link

Added some debugging statements and got the following:

Traceback (most recent call last):
  File "/home/pi/craftbeerpi3/modules/logs/endpoints.py", line 86, in get_logs_as_json
    result = map(self.convert_chart_data_to_json, cbpi.get_fermentation_controller(fermenter.logic).get("class").chart(fermenter))
  File "/home/pi/craftbeerpi3/modules/logs/endpoints.py", line 69, in convert_chart_data_to_json
    return {"name": chart_data["name"], "data": self.read_log_as_json(chart_data["data_type"], chart_data["data_id"])}
  File "/home/pi/craftbeerpi3/modules/logs/endpoints.py", line 61, in read_log_as_json
    for row in reader:
Error: line contains NULL byte

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

4 participants