ISpindel & Ubidots

The Homebrew Forum

Help Support The Homebrew Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Middlehaven

New Member
Joined
Dec 14, 2015
Messages
1
Reaction score
0
Location
NULL
Hi all. Has anybody successfully setup SG Reading in Ubidots for Ispindel.

I have setup a new variable with the formula:
round((1+gravity/(258.6-227.1*gravity/258.2))*1000,0) as instructed on various forums but it doesn't work, just stays blank.

Any info much appreciated
Paul
 
I put the formula into the setup page where you put your WiFi details, and it sends the gravity directly to ubidots as a variable.

I initially setup a formula in ubidots just to validate the gravity from the ispindel, but once I’d convinced myself they were giving the same value I just went with the direct one.

My formula didn’t include round though, and it was a cubic of the variable “tilt”.
 

Attachments

  • A1F05878-AFA7-4C3D-AABC-1DF0B44670BC.png
    A1F05878-AFA7-4C3D-AABC-1DF0B44670BC.png
    42.6 KB
The OP posted exactly the same question on Jims forum and Spook replied -

Post by spook100 » Thu Feb 14, 2019 10:10 am

Hi Paul

Have you typed the words "gravity" into the formula directly? If so then it won't work. You need to click the "Add data source" button when creating the variable, select your device and then select the variable.

BTW, I notice that your formula is exactly the same as mine so I'm guessing you have copied it directly from one of my posts. You will need to calibrate your iSpindel and generate a formula for your specific device otherwise your readings will be incorrect.
 
Sorry to resurrect an old post. I'm a noob at setting up my iSpindel & Ubidots. I have calibrated the iSpindel, used the 3rd Order polynomial as advised in the setup page and was expecting to see an SG reading on Ubidots. As it clearly isn't an SG reading I hit Google and found the above post. Creating a new variable with the expression round((1+gravity/(258.6-227.1*gravity/258.2))*1000,0) (and using the "add value" for gravity) I now get a reading of 1030 - the SG is known to be 1069 from my refractometer readings.

Where am I going wrong & how can this all be so complicated?

Paul.
 
Back
Top