After a hard drive failure, I am reinstalling the evolver software and getting things and getting things up and running again.
I have installed the DPU, configured a router to connect the evolver and our PC, and installed the GUI. Now, I am trying to run new calibrations and I am getting errors when I try to use the desktop GUI.
First, when I open the GUI I get this error message:
Second, when I try to run a temp or OD calibration, the desktop GUI does not display any values from the sensors or record the values when I hit the “play” button:
It seems to me that your GUI app is not able to reach your eVOLVER. You may want to double check your router configuration and your connections. Also, you can try to find your eVOLVER from the GUI using its IP and see what that gives you (see screen capture below).
Additionally, when I try to access the evolver using the calibrate.py script it hangs here:
Overall, it seems like I am having problems similar to this thread:
Referencing this thread, I went ahead and updated the calibrations format but still have not been able to get the evolver to work properly with the GUI or dpu.
Can you show a screenshot of the calibrations file on the RPi? It should be at ~/evolver/evolver/calibrations.json. If this is empty or non-existent you will unfortunately need to upload the dummy calibrations file located here and then re-do your calibrations.
The calibration update script referenced in the other thread only works on a specific version of the old calibration files. We went through a couple of iterations before settling on the current version.
@santibk and I spoke directly - it looks like there was a software mismatch between the evolver server code and the GUI/DPU. Hopefully updating the evolver server and arduino code will resolve the issue.
After updating the evolver server (conf.yml and all python files) and the arduinos. I took another shot at controlling the evolver via the GUI. This time, the calibration files show up but I cannot click on them or see the sensor readings from the machine
I think if you manually update the server, you might have to manually set the “active” calibration file. Otherwise, it will probably error out. You can find it on the calibrations.json example from the previous posts. Make sure it has a valid "active": true entry on the json that you want to be active.
Seems like data isn’t properly getting to the Pi from one of the Arduinos (OD135) To properly communicate with the OD135 photodiode, seems like a longer delay would help. Here is instructions on how to do this. Pumps not working in chemostat mode - #5 by heinsz
I think you’re right about the active cal not being set. Manually setting at least one of the fits to true for both temp and od should resolve that.
Pretty sure the od135 errors in the log are harmless - the od90 parameter is the one that matters. It’s a bit confusing as their setup is using 135 degree, but the arduino code for OD is handled in the OD90 sketch. The OD135 address is in the RS485_PD file for the dual LED/PD setup for wide range OD readings. We should probably just remove that parameter from the default conf.yml file on github since most people don’t have that setup, or think about renaming those files and addresses.