It will be shared very son. My last two pieces showed up yesterday (Switches and the charging board) I finished assembling the first rough version and have data feeding to both my BrewPI installation (as a CVS) and the Ubidots site. On the BrewPi side I have the dummy data logging and graphing as desired. A couple small changes to make to make it pull the true iSpindel data, calibrate it up and run a test.
One thing I may still need to change - not sure if it is from the extra data points but on mobile devices the load time is horrendous. May just be mine, I have a beta OS on my phone and data connection is slow. On my laptop it is just a couple seconds…
Hoping to do the calibration later today, seal it up and toss it in the beer I am making tomorrow… May not go through the calibration but it would be fine for a test run of reception, logging and battery life…
I hope to have the changes as cut-and-paste as possible, replace original files with modified ones and tweak a few things…
Currently logging, the dashed lines are from the iSpindel. Looks like I didn’t mix well after topping off, and my calibration may still be off because it is reading close to 1.0. Calibration was dead on earlier in the day but I had it apart just before tossing it in. (Or I have serious stratification going on. Will see when fermentation kicks off.
I also have it logging to Ubidots mainly for troubleshooting. Currently I have the iSpindel sending a reading every hour so it is easier to look on there to see if it’s logged than it is to watch the graph for a change.
So, after fermentation kicked off my SG reading went much more normal. And from there tapered down to 1.007, at which time bubbling stopped and it leveled out. A little bit of luck I will get the current batch out and into secondary and a new, better mixed (or full boil) batch in. If so, I will see how this FG compares as well as see how the OG of the next batch measures up. Hope to have time to run another batch before I have to start lagering this one - otherwise I have an under-bar cold storage cabinet to build soon
I also have a few parts coming in to build a second device to see if I can balance it better. Just some different headers mainly to make it all fit better. As well as have some spares.
Not sure really. Put it up there to have somewhere to put it, and haven’t really dealt with github a whole lot. The brewometer integration was done as it’s own so I went the same way… If it was merged into the original I don’t know what else would need to change to function without the iSpindel data coming in, programming is not my thing at all so keeping my work from potentially impacting the rest seemed like a good idea.
Initially was just going to host a zip file on one of my servers but this way I had options to get some feedback as well.
If you would make this a fork of the original BrewPi repo, it will be much easier to pull in updates from us.
But we are also going to replace every repo that is currently part of BrewPi with something completely new. So it might not be worth your time. I’m focusing on the new code and don’t expect to make many changes to the current version.
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.
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 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.
SOLVED. I had to replace the power board since it was broken from supplier . 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!
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?
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
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)