• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

Fermentrack, iSpindel communication issues.

Homebrew Talk

Help Support Homebrew Talk:

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

picclock

New Member
Joined
Mar 2, 2023
Messages
3
Reaction score
0
Location
Ferndown UK
I succumbed to the lure of shiny new toys and invested in a preassembled, tested and calibrated ispindel :), which looks to work well. I have a RPi4 around on which I installed fermentrack. Sadly, the two do not like to communicate :(. They must have once as there is a solitary log entry ispindel :
'{"name":"Red","ID":5179882,"token":"fermentrack","angle":61.28779,"temperature":22.5,"temp_units":"C","battery":4.150157,"gravity":1.063814,"interval":9,"RSSI":-45}'

I am reasonably certain that the ispindel device works properly. If set to calibrate mode, and login on 192.168.4.1 to the ispindel network, and select info, the temperature and device angle in real time are displayed. So if you waggle it the angle immediately changes. When in the operating mode I can see the device on my router as ESP-4F09EA, so it can clearly access my home network.

The only other clue I have as to whats going on is the stderr error log which seems to indicate that its not listening :

[2024-06-11 14:19:42 +0000] [26] [INFO] Starting gunicorn 20.1.0
[2024-06-11 14:19:42 +0000] [26] [INFO] Listening at: http://127.0.0.1:5000 (26)
[2024-06-11 14:19:42 +0000] [26] [INFO] Using worker: sync
[2024-06-11 14:19:42 +0000] [31] [INFO] Booting worker with pid: 31
[2024-06-11 14:19:42 +0000] [32] [INFO] Booting worker with pid: 32
[2024-06-11 14:19:42 +0000] [33] [INFO] Booting worker with pid: 33
[2024-06-11 14:19:42 +0000] [34] [INFO] Booting worker with pid: 34
[2024-06-11 14:42:56 +0000] [24] [INFO] Starting gunicorn 20.1.0
[2024-06-11 14:42:56 +0000] [24] [INFO] Listening at: http://127.0.0.1:5000 (24)
[2024-06-11 14:42:56 +0000] [24] [INFO] Using worker: sync
[2024-06-11 14:42:56 +0000] [29] [INFO] Booting worker with pid: 29
[2024-06-11 14:42:56 +0000] [30] [INFO] Booting worker with pid: 30
[2024-06-11 14:42:56 +0000] [31] [INFO] Booting worker with pid: 31
[2024-06-11 14:42:56 +0000] [32] [INFO] Booting worker with pid: 32
Internal Server Error: /api/log/text/ispindel/stderr/
Not Found: /favicon.ico
Internal Server Error: /api/log/text/ispindel/stderr/
Not Found: /favicon.ico

Any help or assistance much appreciated.

Best Regards

picclock
 
Did you enter the raspberry pi IP address in the iSpindel settings?

If I remember correctly there is a spot to enter "fermentrack", no quotes, as the service type and IP address of pi fermentrack server in the iSpindel configuration menu.

Then I think you have to manually add a gravity device in the fermentrack menu and it should see the iSpindel.
 
@pers
Since my earlier post I have connected the ispindel to the Brew-Spy website, where it is happily charting the finish of my latest brew.

But I would much prefer to get fementrack connected as it offers so many other options. I've attached pictures of a couple of configurations I attempted. As I said above the connection to my wifi network is solid and its working with brewspy, connecting every 6 mins.

The fermentrack app shows that I have added the tilt sensor ok, but shows no readings.

Any further ideas much appreciated. Failing that any alternative softwares .. .

Best Regards

picclock
 

Attachments

  • ferm1.jpg
    ferm1.jpg
    64.6 KB
  • ferm2.jpg
    ferm2.jpg
    39.3 KB
  • fermscn.jpg
    fermscn.jpg
    70.3 KB
Your server address and path/uri appear to be the same. The path/uri needs to be the ip address of the iSpindel, http://xxx.xxx.xxx.xxx/ispindel, and server address will be ip address of pi.

This is what mine looks like
 

Attachments

  • Screenshot_20240613_085620_Chrome.jpg
    Screenshot_20240613_085620_Chrome.jpg
    180.1 KB
Last edited:
@pers
Thank you for the info and the setup image. I tried to find this out from the fermentrack website but it just says To Do.
I will give it another try when this brew is done.
Many Thanks

Best Regards

picclock
 
Your server address and path/uri appear to be the same. The path/uri needs to be the ip address of the iSpindel, http://xxx.xxx.xxx.xxx/ispindel, and server address will be ip address of pi.

This is what mine looks like
I hate to be the person to revive old threads but how did you find the IP address of the iSpindel? By default, it doesn't stay connected to the network when it is isn't logging data. How did you find it?

Best,
Albert
 
I hate to be the person to revive old threads but how did you find the IP address of the iSpindel? By default, it doesn't stay connected to the network when it is isn't logging data. How did you find it?

Best,
Albert
When in the main menu of the iSpindel config mode, go into the Information button. When inside there copy the Station MAC id.

The name within your router is usually ESP-XXXXXX. If you only have 1 ESP device it's pretty easy to find but if there are many use the MAC id.

You can set it to a static ip so it never changes. Use the MAC id you copied when setting up the static ip if you can't find it in the router connections list.
 
Thanks for the quick response. I found that updating the sampling rate to 2 seconds in the configuration page of the iSpindel gave me a solid wifi connection. With that, I was able to track down the MAC id I needed to setup a static ID.

It appears that iSpindel is working correctly in the calibration mode. It also is successfully connecting to my local network. However, the iSpindel doesn't chat with the fermentrack server. Fermentrack is fully updated and ISpindel firmware is also fully updated.


N1buKs.png

Updated settings above. Any other ideas on why it wouldn't connect? My only thought is related to the server port but I don't remember changing that during my installation. Do you know of anyway to confirm the port being used?

I noticed in the youtube video that Thorak used the server IP for the path. This is old information from 2018 but it is a bit strange.

If no one has any ideas, I'll probably try wiping the raspberry pi and reinstalling fermentrack.
 
Back
Top