universam1 / iSpindel

electronic Hydrometer
http://www.ispindel.de
Other
827 stars 324 forks source link

Blynk - ISpindel sending rounded specific gravity value #442

Closed MatthBou closed 3 years ago

MatthBou commented 3 years ago

Hello,

I'm submitting a ...

Report

The problem happens when data are sending to Blynk and using the specific gravity.

The specific gravity value is rounded only two digits after the decimal point, which takes away from the precision. for example :

Solution

Round gravity value 3 digits after decimal point : sender.add("4", String(Gravity, 3));

Many thanks

nafraga commented 3 years ago

excuse me , but this string where would be added ? by putty directly in ispindel ? i have the same problem with blynk ,but i'm not an expert

MatthBou commented 3 years ago

@nafraga this line must be modified in the iSpindel.cpp file, line 699

nafraga commented 3 years ago

can change it directly in my ispindel by serial command ? or i have to download the source code ,change the.ccp file and then? thanks

MatthBou commented 3 years ago

@nafraga no you can't by serial command. Give me your email i send you a modified .bin

nafraga commented 3 years ago

nobis81.mn@gmail.com thanks . which program you use to modify .bin file?

ErikdBr commented 3 years ago

@nafraga no you can't by serial command. Give me your email i send you a modified .bin

I suggest you read https://github.com/universam1/iSpindel/blob/master/LICENSE before sending a modified bin

ErikdBr commented 3 years ago

nobis81.mn@gmail.com thanks . which program you use to modify .bin file?

You have to alter the sourcecode and then compile it into a bin. Don't know which tools they use for iot .cpp.

MatthBou commented 3 years ago

@nafraga no you can't by serial command. Give me your email i send you a modified .bin

I suggest you read https://github.com/universam1/iSpindel/blob/master/LICENSE before sending a modified bin

oups sorry

nafraga commented 3 years ago

sorry too

nafraga commented 3 years ago

but can i say the program to compile the (c++?) file into .bin?

MatthBou commented 3 years ago

but can i say the program to compile the (c++?) file into .bin?

Visual Core Studio and platformio

nafraga commented 3 years ago

thank you

MatthBou commented 3 years ago

Solved by #449