NEW StrangeBrew Elsinore Thread

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.
This looks great. I'll be setting up a beaglebone or put to test this over the weekend. Is there a capability to setup profiles for which pumps/valves are on and off? For example... Fill, strike, refill, mash, sparge, recirc...
 
This looks great. I'll be setting up a beaglebone or put to test this over the weekend. Is there a capability to setup profiles for which pumps/valves are on and off? For example... Fill, strike, refill, mash, sparge, recirc...

Not at the moment, mainly since I don't use valves, so I don't have any need for it.
 
what os do you recommend on the bbb for this?

Whichever one you're most comfortable with, as long as it supports one wire, Java 7 and above, and allows you access to the capemanager so you can export the One Wire and GPIO pins.
 
Hello. I am perfecting the translation.
Would need to know the exact definition of hysteria.
Is it something like thermostat?


Report a bug: the timer does not work. No start.
 
Hello. I am perfecting the translation.
Would need to know the exact definition of hysteria.
Is it something like thermostat?
Hysteria is the mode where it turns on when the temperature goes below the low value, and off when it goes above the off value. It's like a thermostat.

Report a bug: the timer does not work. No start.

Can you check the console? To see if there are any exceptions? What did you call the timer?
 
OK. Thanks

Java exceptions for timer:

Server started, kill to stop.

Warning: NLS unused message: CHANGE_SCALE in: com.sb.elsinore.nls.messages
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1129)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1129)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1129)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
 
I made a quick youtube video for setting up elsinore, you can hear my keyboard clicking, but I didn't want to speak.


[ame="https://www.youtube.com/watch?v=xWfFwci3Dgw"][YOUTUBE]xWfFwci3Dgw[/YOUTUBE][/ame]
 
Hello, this is timers.



<timers>
<timer id="Reloj" position="-1"/>
<timer id="Reloj1" position="0"/>
</timers>

EDIT: I have problems, and delete all elsinore directory.
Git clone, but now don't start:

pi@rpi ~/SB_Elsinore_Server $ sudo ./launch.sh
Starting Elsinore as root
sep 28, 2014 1:05:23 PM com.sb.elsinore.LaunchControl main
Información: Running Brewery Controller.
CFG IS NULL
Checking section pumps
Checking section general
Checking for 28-000005e60612
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp <init>
Información: Adding28-000005e60612
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp <init>
Información: 28-000005e60612 added.
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp setScale
Advertencia: Cut off is: -999
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp setScale
Advertencia: Cut off is now: -999
Checking for 28-000433584aff
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp <init>
Información: Adding28-000433584aff
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp <init>
Información: 28-000433584aff added.
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp setScale
Advertencia: Cut off is: -999
sep 28, 2014 1:05:24 PM com.sb.elsinore.Temp setScale
Advertencia: Cut off is now: -999


No config data found as usable. Select a input and name it (i.e. "1 kettle" no quotes) or type "r" to refresh:
1) 28-000005e60612 71.0366
2) 28-000433584aff 69.4616
Please go to the Web UI to the web UI http://rpi:8080/controller
sep 28, 2014 1:05:26 PM com.sb.elsinore.LaunchControl <init>
Información: Starting Status Recorder
sep 28, 2014 1:05:26 PM com.sb.elsinore.LaunchControl <init>
Información: CONFIG READ COMPLETED***********
sep 28, 2014 1:05:26 PM com.sb.elsinore.BrewServer <init>
Información: Launching on port 8080
sep 28, 2014 1:05:26 PM com.sb.elsinore.BrewServer <init>
Información: Debug System property: null
sep 28, 2014 1:05:26 PM com.sb.elsinore.BrewServer <init>
Información: Debug System property: null
Couldn't start server:
java.net.BindException: La dirección ya se está usando
Probe: 28-000005e60612 is not setup, not saving
Probe: 28-000433584aff is not setup, not saving
Probe: 28-000005e60612 is not setup, not saving
Probe: 28-000433584aff is not setup, not saving
 
It looks like you already have Elsinore running, either kill the process or reboot
 
Ooops. Yes. Reboot raspberry and run ok.

Timer no run. I remove and create again, but create exceptions.
Add pump but does nothing. down is exceptions.

Probe calibration run ok, but for decimals not work. It Rounded. I tried to point and with commas, but not save changes.


Tests in Chrome.
PUMP
NAME bomba1

java.lang.NullPointerException
at com.sb.elsinore.Pump.turnOn(Pump.java:77)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1154)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sb.elsinore.Pump.turnOn(Pump.java:77)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1154)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)

TIMER
NAME Timer1
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1138)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1138)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1138)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1138)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sb.elsinore.BrewDay.stopTimer(BrewDay.java:168)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1138)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
 
I know this is a Linux question not an elsinore question, but I can't seem to find the answer on the Internets.

I'd like to set it up so that my pi runs an update to elsinore then runs elsinore on boot, so that I don't need to open a console, how can I do this?

Also, is there a way to remove the logo? I don't know if the image I used was too big or what, but it doesn't play well with my mobile browser (BlackBerry z30)
 
Timer no run. I remove and create again, but create exceptions.

The only way I think this happens is if you hit the reset button before starting the timer. I've done some fixes and removed the reset button unless the timer is started.

Add pump but does nothing. down is exceptions.
I think this is because you didn't specify a valid GPIO, so I've added better debug for this.

Probe calibration run ok, but for decimals not work. It Rounded. I tried to point and with commas, but not save changes.

Fixed.
 
I'd like to set it up so that my pi runs an update to elsinore then runs elsinore on boot, so that I don't need to open a console, how can I do this?

You'll want to look into setting up an init.d script to do this on startup, the exact way to do it may derail from this thread a bit much, I'll look into adding documentation for it thought.

Also, is there a way to remove the logo? I don't know if the image I used was too big or what, but it doesn't play well with my mobile browser (BlackBerry z30)

Fixed this issue.
 
Hello.

more reports chrome console

When delete timer, this error (error counter increases steadily):

Uncaught TypeError: Cannot set property 'innerHTML' of undefined pidFunctions.js:1071


When add new timer:

GET http://192.168.28.98:8080/nls/messages_es.properties?_=1411930728849 404 (Not Found)
jquery.js:4

When push start or reset: nothing happens.
no messages in console, but message "could not stop timer prueba" in elsinore web.

When reload page:

GET http://192.168.28.98:8080/nls/messages_es.properties?_=1411930901166 404 (Not Found)
jquery.js:4


When change gpio pid
GET http://192.168.28.98:8080/nls/messages_es.properties?_=1411931397191 404 (Not Found)
jquery.js:4

When try add pump
GET http://192.168.28.98:8080/nls/messages_es.properties?_=1411931488583 404 (Not Found)
jquery.js:4

later when push pump button nothing happens.
 
Are you using inverted outputs? I've fixed a few issues for inverted outputs now.
 
Some more bug fixes related to inverted outputs, and now pump GPIOs are unexported on shutdown (like all the other outputs).
 
may be a little thick skinned but I can not get this thing to start. I have a bbb running debian. If I do the launch.sh it acts like it runs but I can't get a page to come up on ip:8080/controller so I run this just trying to see whats up. See below any ideas where I'm messing this up.

root@beaglebone:~/SB_Elsinore_server# ./launch.sh -j
Starting Elsinore as root
Listening for transport dt_socket at address: 5050


Debugger failed to attach: timeout during handshake
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<

^Croot@beaglebone:~/SB_Elsinore_server#
 
Why are you using -j? This is for java debug mode, only to be used if you're developing

You shouldn't need any extra options if you're not doing anything special
 
I was trying to see if could get more info out of it.

when I do it as instructed this is what I see

root@beaglebone:~/SB_Elsinore_server# ./launch.sh
Starting Elsinore as root
Oct 02, 2014 1:52:39 AM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
CFG IS NULL
DOC IS NULL
No 1Wire probes found! Please check your system!
Creating element of pumps
Creating on configDoc base
root@beaglebone:~/SB_Elsinore_server# ps -ef |grep apache
root 1993 1 0 01:07 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 1996 1993 0 01:07 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 1999 1993 0 01:07 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 2000 1993 0 01:07 ? 00:00:00 /usr/sbin/apache2 -k start
root 2713 1335 0 01:52 pts/0 00:00:00 grep apache
root@beaglebone:~/SB_Elsinore_server# netstat -an |grep 8080
tcp6 0 0 :::8080 :::* LISTEN
root@beaglebone:~/SB_Elsinore_server#
 
I see this when I go to the browser.

Not Found

The requested URL /controller was not found on this server.

Apache/2.2.22 (Debian) Server at 192.168.1.10 Port 8080
 
I did run the w1_setup.sh first. In order for this to work does it need to see a probe first? I have a spare one I can wire in and run again.
 
Yes, this has been asked a few times and I don't see why you'd run the Elsinore without the correct sensors, they're 64 bit unique addressed and so you need to set them up correctly.
 
I was hoping I could get the software up and running to see the interface first before I started hooking up all of the analog inputs. I'll see if I can find a spare sensor and try it again. thx for you quick help.
 
I've got everything working I think.... But it wont save the config file - I have to re-enter all of the information every time I restart the server.

It's getting one error and one warning.

Oct 02, 2014 11:42:27 PM com.sb.elsinore.Temp setCalibration
SEVERE: 0E-52F doesn't match ^(-?)([0-9]+)(.[0-9]{1,2})?(C|F)?$

Oct 02, 2014 11:42:01 PM com.sb.elsinore.PID setAux
WARNING: Could not detect GPIO as valid:


Not sure what that means...

DISREGARD - Not sure why the wifi settings arent playing well with SB but as soon as I hook a enet cable up, my problems go away... Hmm.. while using wifi, I'm getting 80-90% cpu utilization on Java
 
Nope - Still not saving the configuration.

Starting over with NOOBS 1.3.7 - maybe I've screwed something up
 
Nope - even with a clean Raspian load, setup the wireless, and clone per instructions, its locking my pi right up and not saving a thing.
 
Probably you put a wrong parameter.
Try use names without blank spaces or strange symbols.

Temp set calibration is for calibrate 2 or more probes. If you only have one, put 0 in probe config.
 
I've got everything working I think.... But it wont save the config file - I have to re-enter all of the information every time I restart the server.

It's getting one error and one warning.

Oct 02, 2014 11:42:27 PM com.sb.elsinore.Temp setCalibration
SEVERE: 0E-52F doesn't match ^(-?)([0-9]+)(.[0-9]{1,2})?(C|F)?$

Oct 02, 2014 11:42:01 PM com.sb.elsinore.PID setAux
WARNING: Could not detect GPIO as valid:


Not sure what that means...

DISREGARD - Not sure why the wifi settings arent playing well with SB but as soon as I hook a enet cable up, my problems go away... Hmm.. while using wifi, I'm getting 80-90% cpu utilization on Java

Sorry, is everything working now for you? I can't give you any support on the Wifi issue, are you able to save the configuration now?
 
Probably you put a wrong parameter.
Try use names without blank spaces or strange symbols.

Temp set calibration is for calibrate 2 or more probes. If you only have one, put 0 in probe config.

letter and numbers only - no spaces were used.
 
Could you provide some more information please? Such as what you are setting the probes up as? Preferably screenshots or the edit view for each probe.
 
Sorry, is everything working now for you? I can't give you any support on the Wifi issue, are you able to save the configuration now?

I had to work this weekend so I put it away. It wasnt saving the configuration either way (Wired or wireless) even with a fresh NOOBS load. For some reason the wifi is locking up the java, before I start the Elsinore server, everything on the pi acts like it's working OK, top command, vsftpd, etc. Once I start the server while using wifi, it gets flakey quickly.

Is no one else using wifi? If you are, post your /etc/networks/interface file and /etc/wpa_supplicant/wpa_supplicant.conf (Delete out the pass phrases and SSID please...) - I'll post mine when I get home. My wifi is WPA2 personal & TKIP.
 
Could you provide some more information please? Such as what you are setting the probes up as? Preferably screenshots or the edit view for each probe.

Sure thing - I'll try tonight but I promised the little lady I'd take her out.

If not tonight then this week.
 
I use wifi, but there's probably an issue with the wifi driver and Java itself, Elsinore doesn't do anything specifically with the network (aside from serving up a port), you'll be better off looking on the RaspberryPi forums for help with the lockup. I had a RTL8188CU based card that caused me massive network issues (I changed it and it's been fine ever since)
 
Back
Top