Giter Club home page Giter Club logo

Comments (10)

avollkopf avatar avollkopf commented on July 20, 2024 1

Although closed, just for documentation that this is a RTFM topic. It is described in my CraftbeerPi4 documentation that digits can be changed for sensor data: https://openbrewing.gitbook.io/craftbeerpi4_support/master/craftbeerpi-4-server/dashboard#item-menu (->Sensor Data in the table of this chapter)

I added that feature back un June (PiBrewing/craftbeerpi4-ui@5e5c2e9)

Craftbeerpi4_sensor_digits

from ispindel.

vytux-com avatar vytux-com commented on July 20, 2024

Why? You can always round or truncate on display

from ispindel.

jsbjx avatar jsbjx commented on July 20, 2024

The number of digits displayed in Craftbeerpi is too long. No way to set a decimal point

from ispindel.

vytux-com avatar vytux-com commented on July 20, 2024

Sounds like an issue with Craftbeerpi application

from ispindel.

jsbjx avatar jsbjx commented on July 20, 2024

Craftbeerpi received the data without processing it and displaying it directly. So if you send a signal, you can handle it well. The receiving end does not need to be processed

from ispindel.

ErikdBr avatar ErikdBr commented on July 20, 2024

Did you measure the voltage of your fully charged battery, checked it against the displayed voltage in the Info page of the iSpindel configuration, and filled in the battery conversion factor in the configuration of the iSpindel?
Maybe that will help, if not, there is a ton of software out there that displays the voltage of the battery with 2 decimals so while in Craftbeerpi the receiving end may not need to be processed, maybe it can be processed?

from ispindel.

jsbjx avatar jsbjx commented on July 20, 2024

1

2

3

The settings should be correct, the voltage data seen by the serial port is 6 digits after the decimal point
"battery":3.972889 (The data is not collected at the same time)
Is it necessary for iSpindel to output data with 6 digits after the decimal point?

from ispindel.

ErikdBr avatar ErikdBr commented on July 20, 2024

You left the default battery conversion factor of 191.8 so the displayed voltage of 3.93 is probably not correct. If you want the correct voltage you need to measure the voltage directly at the battery with a multimeter as described in the FAQ:

How can I calibrate the voltage display?
From firmware 3.0 on you can adjust the conversion factor. By default, factor 191.8 is used.

You can adjust by this formula:
(displayed voltage / measured voltage) * current factor (191.8) = new factor

The new factor should be between current factor more or less 20% (191.8*0.8 - 191.8*1.2).

That doesn't necessarily solve your problem but if you want less decimals you'll need to find someone who wants to change that in the iSpindel firmware or do it yourself by putting in a pull request. Or as said before process it at the receiving end.

from ispindel.

thegreatgunbantoad avatar thegreatgunbantoad commented on July 20, 2024

The iSpindle just sends a floating point number for Tilt, Temp, Gravity and Battery. Presumably CraftBeerPi handles formatting the others correctly, otherwise you'd have lots of digits on your SG too. This sounds like a limitation of CraftBeerPi. It really should be up to the program displaying the data to handle the formatting.

from ispindel.

universam1 avatar universam1 commented on July 20, 2024

iSpindel is not responsible for the frontend, it is a measuring device only. Trying to solve such UI issues at this point totally misses the point of separation of concerns

from ispindel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.