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

    Homebrewing Facebook Group

NEW StrangeBrew Elsinore Thread

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Can you run: which java

I don't think you have java installed.

Edit: The launch script will now tell you if Java couldn't be found.
 
Ok, I didn't install Java, so if it didn't come in the distro then that could be my issue..

I just did the distro updates and kernel updates. I'll get that sorted and let you know.
 
Ok, that seems to have taken care of the problem..

Now it starts and tells me no 1 wire probe found, which is true... This was the first component to arrive and I couldn't resist playing with it.

1 question on the whole clone folder deal. What do I do to keep my folder updated with your github? Not many dealings with opensource in the windows world...

Thanks
 
Just pushed some changes to reduce the height of the top bar (it looked weird to me) and the right bar.

Oh, and thankyou to whoever sent me a coinbase tip, unfortunately coinbase is unusable in Canada except to hold the bitcoin (I cannot buy or sell), but the thought is appreciated.
 
Ok, sensors showed up.. After several hours of googling, I think I got the code right to make 1 that's hooked up work. I can bash a temp out of it. It shows up when I cat /.../slots as it should.. Then I added the "echo BB-1WIRE-P9-22 > /sys/devices/bone_capemgr.9/slots" to rc.local so it happens everytime at boot (maybe I shouldn't do this, I have no idea) and when I enter "cat /sys/bus/w1/devices/28-000004027af4/w1_slave" I get a temp readout as I'm supposed too..

I think my issue now is not related to that end of it, but maybe the server address it's trying to use..

Here's what I get:

Starting Elsinore as root
Jan 19, 2015 11:24:56 PM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
Jan 19, 2015 11:24:57 PM com.sb.elsinore.LaunchControl readConfig
INFO: CFG IS NULL
Jan 19, 2015 11:24:57 PM com.sb.elsinore.LaunchControl enableRecorder
INFO: Enabling the recorder
Jan 19, 2015 11:24:57 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section pumps
Jan 19, 2015 11:24:57 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section phSensors
Jan 19, 2015 11:24:57 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section general
Jan 19, 2015 11:24:57 PM com.sb.elsinore.LaunchControl listOneWireSys
INFO: Checking for 28-0000067371d6
Jan 19, 2015 11:24:57 PM com.sb.elsinore.Temp <init>
INFO: Adding28-0000067371d6
Jan 19, 2015 11:24:57 PM com.sb.elsinore.Temp <init>
INFO: 28-0000067371d6 added.
Jan 19, 2015 11:24:57 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Jan 19, 2015 11:24:57 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
1) 28-0000067371d6Jan 19, 2015 11:24:58 PM com.sb.elsinore.LaunchControl display Sensors
INFO: 72.3866
Jan 19, 2015 11:24:58 PM com.sb.elsinore.LaunchControl createConfig
WARNING: Please go to the Web UI to the web UI http://beaglebone:8080/controller
Jan 19, 2015 11:24:58 PM com.sb.elsinore.LaunchControl <init>
INFO: Starting Status Recorder
Jan 19, 2015 11:24:58 PM com.sb.elsinore.LaunchControl <init>
INFO: CONFIG READ COMPLETED***********
Jan 19, 2015 11:24:58 PM com.sb.elsinore.BrewServer <init>
INFO: Launching on port 8080
Jan 19, 2015 11:24:58 PM com.sb.elsinore.BrewServer <init>
INFO: Enabled logging at level:WARNING
Couldn't start server:
java.net.BindException: Address already in use


I'm lost on what address is already in use.. Thought it was something to do with the temp probe setup I did that auto-starts, but if I don't start that then I get "no probe detected" and it opts out like before..

I'm running x11vnc on this thing as well for gui, and it is also setup to auto start.
 
You've already got something running on port 8080, you will either have to kill whatever that is, or use the -p option to change to a different port.
 
Here's what I found..

root@beaglebone:~/SB_Elsinore_Server# netstat -nap |grep 8080
tcp6 0 0 :::8080 :::* LISTEN 978/apache2

Google search (for everything for me) said this was how to find out what was using the port, but I can't find anything on how to change it...
 
Ok that seems to have worked.. I get this;

root@beaglebone:~/SB_Elsinore_Server# ./launch.sh -p 8888
Starting Elsinore as root
Jan 19, 2015 11:49:48 PM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl readConfig
INFO: CFG IS NULL
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl enableRecorder
INFO: Enabling the recorder
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section pumps
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section phSensors
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section general
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl listOneWireSys
INFO: Checking for 28-0000067371d6
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp <init>
INFO: Adding28-0000067371d6
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp <init>
INFO: 28-0000067371d6 added.
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
1) 28-0000067371d6Jan 19, 2015 11:49:50 PM com.sb.elsinore.LaunchControl displaySensors
INFO: 69.0116
Jan 19, 2015 11:49:51 PM com.sb.elsinore.LaunchControl createConfig
WARNING: Please go to the Web UI to the web UI http://beaglebone:8888/controller
Jan 19, 2015 11:49:51 PM com.sb.elsinore.LaunchControl <init>
INFO: Starting Status Recorder
Jan 19, 2015 11:49:51 PM com.sb.elsinore.LaunchControl <init>
INFO: CONFIG READ COMPLETED***********
Jan 19, 2015 11:49:51 PM com.sb.elsinore.BrewServer <init>
INFO: Launching on port 8888
Jan 19, 2015 11:49:51 PM com.sb.elsinore.BrewServer <init>
INFO: Enabled logging at level:WARNING



How do I access the UI?

localhost:8888 gets me a directory listing..

Sorry for my lack of linux know how here.. I'm a windows user.. lol
 
Ok that seems to have worked.. I get this;

root@beaglebone:~/SB_Elsinore_Server# ./launch.sh -p 8888
Starting Elsinore as root
Jan 19, 2015 11:49:48 PM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl readConfig
INFO: CFG IS NULL
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl enableRecorder
INFO: Enabling the recorder
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section pumps
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section phSensors
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section general
Jan 19, 2015 11:49:49 PM com.sb.elsinore.LaunchControl listOneWireSys
INFO: Checking for 28-0000067371d6
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp <init>
INFO: Adding28-0000067371d6
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp <init>
INFO: 28-0000067371d6 added.
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Jan 19, 2015 11:49:49 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
1) 28-0000067371d6Jan 19, 2015 11:49:50 PM com.sb.elsinore.LaunchControl displaySensors
INFO: 69.0116
Jan 19, 2015 11:49:51 PM com.sb.elsinore.LaunchControl createConfig
WARNING: Please go to the Web UI to the web UI http://beaglebone:8888/controller
Jan 19, 2015 11:49:51 PM com.sb.elsinore.LaunchControl <init>
INFO: Starting Status Recorder
Jan 19, 2015 11:49:51 PM com.sb.elsinore.LaunchControl <init>
INFO: CONFIG READ COMPLETED***********
Jan 19, 2015 11:49:51 PM com.sb.elsinore.BrewServer <init>
INFO: Launching on port 8888
Jan 19, 2015 11:49:51 PM com.sb.elsinore.BrewServer <init>
INFO: Enabled logging at level:WARNING



How do I access the UI?

localhost:8888 gets me a directory listing..

Sorry for my lack of linux know how here.. I'm a windows user.. lol

Seriously? Really? It says it right there in the output.........................
 
seen your videos and like your product. can you upload a youtube video of an actual brew day? how would someone configure it for single vessel e-biab? thanks!
 
Dear doug

Firstly many thanks for developing such a fantastic utility for us homebrewers ! Having spent several hours reading all of you posts i can only imagine how effort and time you must have put into this. I got a pi for christmas with the specific intention of automating my brewery. Ive not done code since the 1980s and bbc model b computer so im very pleased with myself to have made it as this far. ive managed to get elsinore running well with a 4 relay set up. Its been a steep learning curve! I have one major and one minor bug. I wonder if you have any advice for me. I may well be doing something stupid

My setup -rasp pi with latest noobs raspian , 4 relay board, windows computer and ipad, chrome browser ( seems to work best)

Bug 1) the relays work faultlessly with auto mode manual mode and pumps. In hysteria mode elsinore shows 100 % duty and it cycles on and off with the set temperature but no signal is going to the gpio - hence the relays stay off. I would like to use the hysteria mode on my kegerator for cooling and warming in the winter. It doesnt look like anyone else has reported this problem so it may be my set up?

Bug 2) minor one really the timers dont seem to work and i cant delete them or the pumps via the delete button. The delete button appears when i drag and drop but the timers and pumps stay put.

Both above minor problems but thought it might help you with further deveopment. I cant wait to get my pi in a project box now and do my first brew using elsinore

Thanks again for your hard work

Cheers

Mike -liverpool uk



Sent from my iPad using Home Brew
 
seen your videos and like your product. can you upload a youtube video of an actual brew day? how would someone configure it for single vessel e-biab? thanks!

You would use it to control a single heating element, and a recirculation pump I am guessing. Would be a very simple set up.

Brew days consist of turning pumps on and off to transfer/recirculate liquids, setting a temperature for your mash, and also setting a duty cycle for your boil. Not much to show.
 
Timers are fixed (a HTML formatter changed the format of some text).

As for the hysteria, if the system says that it's sending a signal then it'll be sending a signal. I've just tested it locally and it is OK.

Are you changing the GPIO when you set it in hysteria mode? Can you run:
Code:
cat /sys/class/gpio/gpio<number>/value
when it should be 100% to see what it is doing, and provide the output of the "getstatus" page when it's on.
 
I noticed that I could accidentally set the duty cycle for > 100%. And then my temp started immediately reading 1955 F. Thankfully, I think those are bugs and not indicative of reality.
 
I noticed that I could accidentally set the duty cycle for > 100%. And then my temp started immediately reading 1955 F. Thankfully, I think those are bugs and not indicative of reality.

I can't reproduce the incorrect reading, I have updated the inputs for the duty cycle to only allow -100 to 100 as values. If you can reproduce the bad temperature reading, please tell me what you provided as the values, what browser you're in, and the output from the getstatus page (I'm not sure where the bug is coming from)
 
Will do.


Side question:

In manual mode, assuming 80% duty cycle and a 10 second duty cycle length...

Is the element 100% for 8 seconds, and off for 2? Or running at 80% continuously? If the later, what point is the cycle length?
 
Will do.


Side question:

In manual mode, assuming 80% duty cycle and a 10 second duty cycle length...

Is the element 100% for 8 seconds, and off for 2? Or running at 80% continuously? If the later, what point is the cycle length?

On for 8 seconds, off for 2. It's Pulse Width Modulation (same way all PIDs work) since you can't set a normal SSR to 80%, you need a special kind which has a potentiometer on it.
 
doug many thanks for your reply the timers are working great now. unfortunately i am now going to show my ignorance . how do a run the code you posted and access the " get status " page to see what is happening in hysteria mode. when i run elsinore the command promt disappears from my rpi screen and i have to close it with ctrl c to get the command promt back. at which point i assume elsinore is shut down. i have been googling all night in an attempt to educate myself but have failed - sorry and would appreicaite any further guidance . cheers mike
 
the getstatus page is a webpage, rather than /controller, use /getstatus
You'll also be able to log in using a second terminal (putty, or whatever you use to ssh into your system) to run the cat commands
 
thanks doug so easy when you know how. ok here are the results

im not changing the gpio i am experimenting with my hlt output gpio 17 but i also have gpio22 set up as a pid. my other 2 relays gpio23 and 24 are set up as pumps and work fine

when i check the gpio pin staus using the code i get the following -
in auto mode cycles between 1(my relay off im inverted) and 0 my relay on as you would expect. relays clicks away quite contented all happy

when i switch to hysteria mode from off to 100 % the output is 1 whatever i do and the relay stays off. i suppose the relay is only doing what it is told but elsinore tells me it is cycling and the output bar shows red 100% so relay should be on

here are the get status pages

first one with everything off

{"brewday":[{"name":"MASH","none":0}],"pumps":{"BOIL_KETTLE_AUX":false,"PUMP":false},"language":"en_GB","locked":true,"triggers":{},"message":"","breweryName":"Mikes Brewery","vessels":[{"deviceaddr":"28-0314631724ff","tempprobe":{"elapsed":1421988439104,"temp":17.062,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":0,"calibration":"0C"},"pidstatus":{"mode":"off","heat":{"p":10,"d":0,"i":0,"inverted":true,"cycle":20,"gpio":"GPIO17"},"setpoint":25,"min":20,"max":25,"cool":{"p":0,"delay":0,"d":0,"i":0,"inverted":false,"cycle":0,"gpio":""},"manualduty":50,"manualtime":10,"duty":100,"time":0,"status":"off"},"name":"HLT"},{"deviceaddr":"28-0314634124ff","tempprobe":{"elapsed":1421988439063,"temp":17.375,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":1,"calibration":"0C"},"pidstatus":{"mode":"off","heat":{"p":10,"d":0,"i":0,"inverted":true,"cycle":20,"gpio":"GPIO22"},"setpoint":25,"min":20,"max":25,"cool":{"p":0,"delay":0,"d":0,"i":0,"inverted":false,"cycle":0,"gpio":""},"manualduty":0,"manualtime":0,"duty":100,"time":0,"status":"off"},"name":"BOIL_KETTLE"},{"deviceaddr":"28-0314631814ff","tempprobe":{"elapsed":1421988438703,"temp":18.5,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":2,"calibration":"0C"},"name":"MASH_TUN"},{"deviceaddr":"28-0314634439ff","tempprobe":{"elapsed":1421988439024,"temp":17.875,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":3,"calibration":"0C"},"name":"AIR"},{"deviceaddr":"28-03146374b1ff","tempprobe":{"elapsed":1421988439674,"temp":17.625,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":4,"calibration":"0C"},"name":"WORT"}]}

second one with hysteria showing 100% so relay should be on but is not

{"brewday":[{"name":"MASH","none":0}],"pumps":{"BOIL_KETTLE_AUX":false,"PUMP":false},"language":"en_GB","locked":true,"triggers":{},"message":"","breweryName":"Mikes Brewery","vessels":[{"deviceaddr":"28-0314631724ff","tempprobe":{"elapsed":1421988469784,"temp":17.062,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":0,"calibration":"0C"},"pidstatus":{"mode":"hysteria","heat":{"p":10,"d":0,"i":0,"inverted":true,"cycle":20,"gpio":"GPIO17"},"setpoint":25,"min":20,"max":25,"cool":{"p":0,"delay":0,"d":0,"i":0,"inverted":false,"cycle":0,"gpio":""},"manualduty":50,"manualtime":10,"duty":100,"time":0,"status":"off"},"name":"HLT"},{"deviceaddr":"28-0314634124ff","tempprobe":{"elapsed":1421988469714,"temp":17.375,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":1,"calibration":"0C"},"pidstatus":{"mode":"off","heat":{"p":10,"d":0,"i":0,"inverted":true,"cycle":20,"gpio":"GPIO22"},"setpoint":25,"min":20,"max":25,"cool":{"p":0,"delay":0,"d":0,"i":0,"inverted":false,"cycle":0,"gpio":""},"manualduty":0,"manualtime":0,"duty":100,"time":0,"status":"off"},"name":"BOIL_KETTLE"},{"deviceaddr":"28-0314631814ff","tempprobe":{"elapsed":1421988469313,"temp":18.5,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":2,"calibration":"0C"},"name":"MASH_TUN"},{"deviceaddr":"28-0314634439ff","tempprobe":{"elapsed":1421988469653,"temp":17.875,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":3,"calibration":"0C"},"name":"AIR"},{"deviceaddr":"28-03146374b1ff","tempprobe":{"elapsed":1421988470413,"temp":17.625,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":4,"calibration":"0C"},"name":"WORT"}]}

third one for good measure in auto mode withe the relay on working and cycling nicely


{"brewday":[{"name":"MASH","none":0}],"pumps":{"BOIL_KETTLE_AUX":false,"PUMP":false},"language":"en_GB","locked":true,"triggers":{},"message":"","breweryName":"Mikes Brewery","vessels":[{"deviceaddr":"28-0314631724ff","tempprobe":{"elapsed":1421988525563,"temp":17.062,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":0,"calibration":"0C"},"pidstatus":{"heat":{"p":10,"d":0,"i":0,"inverted":true,"cycle":20,"gpio":"GPIO17"},"setpoint":25,"max":25,"cool":{"p":0,"delay":0,"d":0,"i":0,"inverted":false,"cycle":0,"gpio":""},"manualduty":50,"manualtime":10,"mode":"auto","min":20,"actualduty":79.380,"duty":100,"time":0,"status":"heating"},"name":"HLT"},{"deviceaddr":"28-0314634124ff","tempprobe":{"elapsed":1421988525684,"temp":17.375,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":1,"calibration":"0C"},"pidstatus":{"mode":"off","heat":{"p":10,"d":0,"i":0,"inverted":true,"cycle":20,"gpio":"GPIO22"},"setpoint":25,"min":20,"max":25,"cool":{"p":0,"delay":0,"d":0,"i":0,"inverted":false,"cycle":0,"gpio":""},"manualduty":0,"manualtime":0,"duty":100,"time":0,"status":"off"},"name":"BOIL_KETTLE"},{"deviceaddr":"28-0314631814ff","tempprobe":{"elapsed":1421988525303,"temp":18.5,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":2,"calibration":"0C"},"name":"MASH_TUN"},{"deviceaddr":"28-0314634439ff","tempprobe":{"elapsed":1421988525103,"temp":17.875,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":3,"calibration":"0C"},"name":"AIR"},{"deviceaddr":"28-03146374b1ff","tempprobe":{"elapsed":1421988525393,"temp":17.625,"hidden":false,"gravity":1,"scale":"C","cutoff":"-999","position":4,"calibration":"0C"},"name":"WORT"}]}

hope this helps

cheers

mike
 
When in hysteria mode at 100% run:

cat /sys/class/gpio/gpio17/value

From the command line and see what it outputs.

I've tried and failed to reproduce your issue.
 
Hello be going through many of the page in the post and the old post not find the info I was looking for. It could be becuase it's not here but what I was looking for was a way to customize the web page a bit. I am running 5 temp probes(HLT,RIMS,BK,Wort out & SSR) and with the 5 temps it makes the page a bit hard to read. Is there a way to make the gauges smaller?
Thank you in advance for any help you can offer
 
Hello be going through many of the page in the post and the old post not find the info I was looking for. It could be becuase it's not here but what I was looking for was a way to customize the web page a bit. I am running 5 temp probes(HLT,RIMS,BK,Wort out & SSR) and with the 5 temps it makes the page a bit hard to read. Is there a way to make the gauges smaller?
Thank you in advance for any help you can offer

I've removed the required minimum width from the css, you can play with the gauge class in the various css files as well.

I've also added an option in the system settings (by the recorder settings) so you can remove the right hand bar.
 
doug i have run the code from the command prompt
i have tried with the output inverted and non inverted either way the relay will not toggle on and off in hysteria mode
bascially in auto mode the output toggles correctly from 0 to 1 (or 1 to 0) and the relay switches on and off as expected

in hyseria mode the output is stuck at either 1 or 0 depending on if ive inverted the gpio output or not. changing the hysteria from 0 - 100% does not change the output from the pi gpio

in summary in auto mode all great and as you would expect

in hysteria mode elsinores is not sending an output to the pi gpio even though it tells me it is ? odd it should work faultlessly in auto mode but not hysteria mode

thankyou for your continued assistance it must be something to do with my setup if it works fine on yours

mike

pi model b+
latest noobs raspian
 
If you try with the newest build it should warn you if it failed to change the output. If it works in auto and manual mode there no reason hysteria won't work. The 100% is coming from the output control, not the hysteria code, and this code is the same for all modes.

If you're going from auto -> hysteria, you could try going from off to hysteria to see if there's something odd about the conversion
 
Actually there is something odd in your output, it says 100% but the status is off
 
hi doug
ive tried IE Firefox chrome on my windows pc and safari on my ipad. and all combinations of on and off i can think of. although there are slight visual differences hysteria wont work on any of them. dont get me wrong doug i love this software and am made up with it just as it is. just trying to help with bug feedback. i can continue to keep my beer chilled with my stc1000 so all happy still !! would be nice to get it going off one system though with remote monitoring. nice to know your beer is chilled when your at work !!. i only installed the software last week so it should be the latest build but i think i might re format my sd card this afternoon and do a fresh install just in case something got corrupted when i installed it last week. ill let you know how i get on cheers mike
 
too late id already started before your last post - anyway nice clean fresh install - no different. i cant think of anything else to try at the moment so ill go and pull myself a pint of christmas porter that im finishing off from the garage! all the best mike
 
Try changing to fahrenheit to see if that works. I'm GMT-5 so I won't be able to look for a while.
 
Back
Top