go on. I hate having to log into a website to use it. How did you read the data from the sensor using linux?
Sure. Seneye does publish a public SUD driver for the device, with a couple sample programs. I started with the C program, which once compiled gives you a 'menu based' type interaction. You can basically hit a key and get a refresh of the data. If that's all you want to do, then you can just compile and use that. Seneye's repo is here:
https://github.com/seneye/SUDDriver
Additionally I had found a single blog post before I purchased Seneye claiming to have some working python code. That code is here:
https://github.com/dhallgb/Seneye-MQTT
Unfortunately for me the python code already made did *not* work. I chased a bit trying to understand if it was my hardware(rpi), or what. Unfortunately the menu based example code in C didn't fit my needs -- I wanted to extract the values then pass them onward to a webserver of my own. The example C didn't produce an output or let it be run 'unattended' to capture values from it.
Initially I hacked away at the C code to try and make something print to stdout, during that journey I understood the issues with the original python code. In the end I ended up writing my own python code, largely borrowing blocks from the Seneye-MQTT. The end result was something I could cron, which would generate the values and pass them on to the webserver.
You can find what I came up with here:
https://github.com/jpyth/seneye-python it is not going to 'just work', as I removed the hardcoded stuff to send to my webserver. If you have python experience though, it should be fairly straight forward to modify what the script does with the value it retrieves.
At the moment it only retrieves the PH, ammonia, temp, and slide status. I did not try to capture the PAR value. As the reality is the device is tucked in the back of the tank 99% of the time, so storing a PAR value of that area is pointless.
If I need to use it as a PAR meter i'd either use the Linux C program, or use a windows PC as others would.
My setup is a raspberry pi, connected via USB to the Seneye. Each our it collects PH, Ammonia, Temp, Slide status and send its to my webserver which stores/visualizes the data for me. I have other IOT setup to let me record other parameters via voice(nitrate, nitrite, alk, salinity, etc) which is also then sent to the webserver. I end up with a customized set of graphs/param metrics in one place. I'm pretty happy with it.
Should also note I still use a windows PC when swapping slides. I tried to get dev access but unfortunately the email thread to acquire that failed, if I understood right on their site it is possible to get access to change slides via your own code, but they have to grant you access. I never got that.