ISpindel + BrewPi

That is amazingly compact. Does it affect the calculations the device has to do though if its in a different size tube?

Cool, just wondered. I am building my iSpindel today, so will try and make your changes into the non legacy branch :slight_smile: exciting!

Hello again Greg,
So I got round to trying to port your github to the current non-legacy stuff, and had a couple of questions if you donā€™t mind?
1.) You have a dir Generic-TCP which seems to have a repeat of a couple of files from script (iSpindle.py & ispindle-srv), is this on purpose? Which should be used
2.) Inside that same dir you have web, that is additional stuff not directly needed for the brewpi set up I think? (now I am writing this and noticing that that dir is probably clones from the ispindel github directlyā€¦)
3.) Is there any reason in beer-chart.js the colours are repeated twice that you have added? https://github.com/NFBrewingTech/BrewPi-iSpindel/blob/master/WWW/js/beer-chart.js#L289

Havenā€™t had a chance to test it yet, in the middle of fermentation so probably wont get a chance for a little while.

The git is forked from the current ones and can be found here https://github.com/charliwest/brewpi-www https://github.com/charliwest/brewpi-script if anyone would like to have a look and play if they have spare stuff or not fermenting at the moment.

sorry for asking since my question is related to iSpider. I got my device and didnā€™t work after assembly. Try to get in contact with the supplier without any luck. I bought 5x power board from Amazon (4 pounds!), swaped the board and now itā€™s working (blinking blue LED). Iā€™ve tried to connect with http://192.168.4.1 with no respons, Iā€™ve tried a app from Wemos which doesnā€™t work :frowning: Please anyone what have you done to be able to set the configurations etc reaching Ubidots for calibration? The instruction included (only for download) is really crappy (even with errors), so not much help here.

cheers

SOLVED. I had to replace the power board since it was broken from supplier :frowning: . Secondly I had upload the latest FW again with esptool.py since it wasnā€™t done from supplier. When connect to the iSpider SSID a config screen automatically appears and then itā€™s just to follow the guide. If you buy it from https://3d-mechatronics.de be aware they donā€™t know nothing about iSpider, they just supply the DIY kit, youā€™re on your own.

OK, I think I have the iSpindel version with the current brewpi non-legacy branch working.

If you are using docker, where you did with docker
docker pull brewpi/brewpi-ubuntu
instead do
docker pull charliwest/brewpi-ispindel

If you are using a ā€œstandardā€ older install, go to /home/brewpi and do git remote set-url origin https://github.com/charliwest/brewpi-script .
Then go to /var/www/html (or wherever your brewpi web stuff is, for me its /var/www/html/brewpi because of proxying) and do git remote set-url origin https://github.com/charliwest/brewpi-www .

Then give everything a restart. Please BACKUP everything before you begin, I take no responsibility if you destroy your brewpi set up. You should just be able to remove the extra parts by switching git remote back git remote set-url origin https://github.com/BrewPi/brewpi-script . etc.

I have no idea what I am doing with this, I only got this far with previous work from @Gmasem @sbowler and of course @Elco, so thanks all.

If you find things wrong I will try and help out as best I can, but really I am bumbling around in the dark here! :wink:

Good luck!

1 Like

How did you get on with the ispindel calibration procedure? I am struggling with it, and am getting some crazy Plato numbers out from the derived variables that iā€™ve set up in ubidots.com. (-4 or thereabouts) Could you let me know what steps you went through to calibrate?

Thanks

Actually mine is also crazy out of line as well, once this beer finishes I will have another attempt at calibration. Probably late nov I think.

I started with adding 15gr of lead at the bottom to get it to float at approximate 45 degrees in pure water. Then I put the device on a horizontal surface, connected the device and went to Maintenance and Calibrate. It took some minutes and then the device rebooted. Now I calibrated it with sugar and water and it ended up quite good. Still Iā€™ve a error about 1 Plato in pure water so I plan to make a better calibration during next brew.

Thanks for the responses. For me, It wasnt clear from the docs whether to do the ā€œlie it flatā€ calibration before or after the ā€œvarious sugary solutionā€ calibration. So I have two data sets, that i put into the spreadsheet calculator. 1 set at about 78-79 degrees of tilt and another set (after ā€œlie it flatā€ calibration) at about 83-84 derees of tilt.

I have NO additional lead weight.

The attached image is the formula iā€™ve put into ubidots derived formula field, but the ispindel out tilt degree readings that result in Plato numbers of around -3 for when the ispindel is floating in pure water, so not correct!

I have not got my calculator out yet to check the maths, but will do so soon. Any thoughts on what might be going wrong

appreciated.

And here is the spreadsheet for the data set that is currently being used for the Plato calculations. (Ignore the Plato Formel is lower left - some macro issue)

which I entered in the Config section as 0.028700869*(tilt)(tilt) - 2.599121614(tilt) + 59.5057137

Intersting data set, looks like the lead weight gives a better line/slope and less deviation. Iā€™ll order some fishing weights!! Thanks for that.

Iā€™ll have to find where I read the recommendation, but I believe it is recommended to add weight to get a tilt of 15Ā° - 25Ā° in plain water.

Edit: I found the reference to the degrees of tilt on the Hobbybrouwen.nl page. Part #3

@gromitdj All good now, added a weight to the bottom of the sled, and removed the ā€œ^ā€ from the derived formula. Now the readings make more sense. Thanks!

Anyone playing along at home with my fork I did some clean up and have now made
docker pull charliwest/brewpi-ubuntu
&
docker pull charliwest/brewpi-raspbian
Untested with a real world test but runs ok for me.
Still have issues with the coloured lines of the graphs I havent managed to work out

Has anyone integrated the BrewPi legacy version with the ISpindel. I am particulary interested in using the ISpindel as the beer thermometer

You could just look through this threadā€¦ https://github.com/NFBrewingTech/BrewPi-iSpindel

Greetings,
FYI I am working on a different approach, because iSpindel is already able to publish its metrics into a time series database (InfluxDB), I have added the support of this database to BrewPi (the legacy version).
This way metrics from both equipments can be displayed using monitoring tool like Grafana.
This stack (BrewPi + InfluxDB + Grafana) named BrewMon can be deployed using docker-compose in a Raspberry Pi.
I am just brewing my first beer with it.
ben

Hi Ben,

Weā€™re actually using influx for all our data logging in our new BrewBlox stack.
Weā€™re using our own graphing and dashboard implementation because Grafana isnā€™t very good at integrating into another UI.

We did make it easy to integrate new hardware by providing a message bus that you can just push your data onto and our influx service will do the rest.

Perhaps it would be easier to integrate with our new stack than rolling your own. Itā€™s also a microservices architecture and uses docker-compose to start all services.
You could of course still use Grafana next to the main UI with our stack, but I think it is nicer to have your charts next to your other widgets in one customizable UI.

I saw in your PR that you are running the old Arduino version of BrewPi, which we stopped supporting. We didnā€™t put any effort into supporting Arduino in the new stack, because how the new firmware works and communicates is completely different.

Cheers,

Elco

1 Like