StrangeBrew Elsinore - Raspberry Pi based brewery controller

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Did you stop and start the server?

Btw: I'm literally running the same server now, hence my confusion
 
I have restarted Elsinore and rebooted the Pi but have the same problems.

I also tried to open from Android web browser. I know it is not supposed to work but raspibrew.html has the right data.
 
So a couple of things

1) Can you provide me the output from the server console, specifically the startup phase
2) Java -fullversion output
 
Also, I was going to try to load Elsinore on my Kindle Fire and I couldnt find the APK. Link is broken and file is not in bin folder anymore.
 
There we go. Temps are working now.

Thanks for all the help getting this up!
 
Thanks for finding those bugs.

I've just pushed a new set of updates, one actually changes the controller web UI layout so temperature probes are stacked on the right hand side of the window, rather than wasting space. Another actually updates the temperature unit on the web UI.

And the big one (to me) shows the CPU temperature of the Pi in the JSON data (and hence the web UI).
 
After trying to use the touchscreen this weekend I've made further updates

pTWoZ1T.png


I'll be pushing the updates out sometime soon, but I'm working out how to replace the current repo with an Eclipse project and I've added a buildfile so it's just going to be a

java -jar elsinore.jar

For the command line
 
OK, repo is updated https://github.com/DougEdey/SB_Elsinore_Server

Now you just need to do

java -jar Elsinore.jar to run

It'll need to be run as sudo, but it also now creates a log and doesn't fill up the screen. If you want extra debug run

java -Delsinore.debug=INFO -jar Elsinore.debug

To get more data.
 
I had to clone the repository again as pull failed. I transferred cfg file over and it doesnt work. Attached is the screenshot

brew.jpg
 
Hmm, it'll only go there to rebuild your config. The only way it'll get there is because it can't get valid threads. I should add better error checking.

It's trying to get a list of /sys/bus/w1/devices/

But I don't have a null check there.
 
sorry needed to do the following first
sudo modprobe w1-gpio
sudo modprobe w1-therm

Now it gets farther but still gives a message about the cfg file.

brew.jpg
 
Did you leave the lines commented out in your config file for the probes?
 
I copied the wrong cfg file. Now I have the right one but I get this message

brew.jpg
 
So your temp probes aren't being found.

I haven't made it exit with an error yet because I regularly pull mine out (I am testing a 1 wire infrastructure system since I'm working on a volume measurement system).

But the errors there are fairly clear, it can't find the device files.

The linux 1wire system has probes bases out of /sys/bus/w1/devices/, if there's no children there, then it won't work.

From your previous post, the probes are not the same address, so if you delete your config file the setup, from your previous image, will let you setup the probes.

look at the "No Config Data found..." line, if you select one of the probes (1 or 2) in your case, then hit enter, it'll prompt you for a name/GPIO .
 
All set now. I created a launch script in the root dir and added modprobe lines to script. Then I copied cfg file to same dir.
 
Server is running and http://192.168.10.110:8080/getstatus returns:
{"hlt":{"elapsed":1370896929240,"scale":"F","temp":70.36160000000001},"system":{"elapsed":1370896929438,"scale":"F","temp":102.2126},"kettle":{"elapsed":1370896928490,"scale":"F","cycle":2,"d":41,"status":"off","duty":0,"p":0,"temp":70.5866,"gpio":11,"setpoint":175,"i":169,"mode":"off"},"mlt":{"elapsed":1370896928550,"scale":"F","temp":71.48660000000001}}

But Control page doesnt show up correctly. I have attached a screen shot below.

Also, Android app will not allow swipe over to MLT, HLT or Kettle. It just stays on Brew day.

brew.jpg
 
For the control screen, check the browser console log, it looks like it can't find the CSS or JS files.

Check the logcat for the android app too.
 
I had placed a copy of the launch script in the root dir to cut down on the number of steps to get started. When I launched from within the original folder web worked.

Working on Android now. It was working before I loaded the Splash Activity apk
 
I will change it to detect where the jar is, I'd modified to use a jar and hadn't enable the autodetection
 
Looks like I have to root my phone to run alogcat. Is there anything else we can use to track this down?
 
Reverted to the old version and it didn't work. Then I tried again last night and it worked again. I think there must have been a network issue.
 
Weird, I'm going to close off the android app soon anyway, and migrate to a web based mobile driven end. I think that'd be easier in the long run.
 
Updated the web UI today

CABbHrs.png


I still have more to do, but this is much nicer to use with cellphones/tablets so I am aiming on stopping work on the Android app.
 
Hello to all,
my name is Antonio and I am the administrator of the forum homebrewers Italian birrabirra and I apologize for my bad English.
I just recently purchased the Raspberry PI model B rev02 with sensors DS18B20 SSR and down to create a control system for my RIMS TUBE 1500W with current 220 Volts DC.
I would need the support and aid in the installation of Elsinore within the Raspberry PI and whether the scheme can also funzioanre for aletrnata current at 220V DC.
Thank you very much by the Italian community of Homebrewers.
 
Hi Jigen, if you read through the thread you should find discussion on setting up the Pi, I'm not an electrician and I've never seen 220V DC, but providing you have an SSR that works with it you should be fine. The current version of elsinore has a setup tool inbuilt that'll help to walk you through the initial configuration file setup.

I'm not actively working on this at the moment since I'm migrating the development to the beagleboard (I need the analogue IO for volume measurement readings, but this will be fed back to the pi based setup if you use a 1wire Analogue chip)
 
Hi Jigen, if you read through the thread you should find discussion on setting up the Pi, I'm not an electrician and I've never seen 220V DC, but providing you have an SSR that works with it you should be fine. The current version of elsinore has a setup tool inbuilt that'll help to walk you through the initial configuration file setup.

I'm not actively working on this at the moment since I'm migrating the development to the beagleboard (I need the analogue IO for volume measurement readings, but this will be fed back to the pi based setup if you use a 1wire Analogue chip)

Thanks for the information.
In Italy we have AC 230V 50 HZ, I was wrong it is not DC.
The SSR should not give me problems with this type of power as I took these from ebay.
So I have to first install Elsinore and then connect the sensors and SSR to the GPIOs?
Who could give me support for the installation of Elsinore?
thanks
 
Check out page 5 of this thread and read on. Then make sure your Raspberry Pi is configured as a LAMP server. To do this I installed Wheezy then ran the following commands from a terminal.

sudo apt-get update
sudo apt-get install apache2 php5 libapache2-mod-php5
sudo apt-get install mysql-server mysql-client php5-mysql
sudo apt-get install openjdk-7-jdk
sudo apt-get install git-core

Use git to install elsinore server from this link https://github.com/DougEdey/SB_Elsinore_Server

I added these lines:
sudo modprobe w1-gpio
sudo modprobe w1-therm
to the launch script because I was having trouble getting it to run on boot.

Try to install then post back here if you run into problems.
 
Check out page 5 of this thread and read on. Then make sure your Raspberry Pi is configured as a LAMP server. To do this I installed Wheezy then ran the following commands from a terminal.

sudo apt-get update
sudo apt-get install apache2 php5 libapache2-mod-php5
sudo apt-get install mysql-server mysql-client php5-mysql
sudo apt-get install openjdk-7-jdk
sudo apt-get install git-core

You shouldn't need the apache/php/mysql lines, or the git line.

I added these lines:
sudo modprobe w1-gpio
sudo modprobe w1-therm
to the launch script because I was having trouble getting it to run on boot.

I'm going to upload a file that you can install in the modprobe definitions which should fix this.

The command line should come down to

java -jar Elsinore.jar
 
It would be interesting to have a picture of a card with the system Elsinore + web server already running in dome may download, copy it to the SD card and insert it into the Raspberry PI.
In this way, the system has already ready.
Some good man would be willing to post it?
thanks
 
Whilst that is possible I do not have the time to maintain a current image and host it. I also don't want people thinking this is easy to use at the moment since its not, there are limitations and bugs still to fix.
 
Whilst that is possible I do not have the time to maintain a current image and host it. I also don't want people thinking this is easy to use at the moment since its not, there are limitations and bugs still to fix.

It's all 1's and 0's right? easy peezy haha
Do you plan on continuing development? I just picked up on this and would like to look into it. Also going to be working on a project of this nature for my home. It would be replacing my home thermostat, the plan in early stages are a temperature probe in each room with some way to be able to control the temp in each room individually but still maintain using 1 unit. Now I don't mean I would be able to heat one room and cool another. The thought is to be able to use dampers to close off air flow. Might want to use something like this Wireless Thermocouple and RTD Industrial Probe Assemblies. I could see these used on a brew rig as well. :ban:
 

Latest posts

Back
Top