Getting Started with SB_Elsinore_Server (HELP)

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.

TheGrinder

New Member
Joined
Feb 28, 2014
Messages
1
Reaction score
0
Location
Muskegon
Hello all,
I hope I am not the only one who might be struggling to get the SB_Elsinore_Server up and running on a Raspi....
Started with a fresh Wheezy image and expanded it to use the full SD card. Then Updated the install with upgrade. found out the hard way that I didn't need i2c tools if just connecting the 1-wire therm sensors to gpio4(pin7) of the PI. OWFS seems like it should be used though and That is what I am having issues with....
Once I cloned the git-hub for this project onto the PI I went to Oracle to get Java 8 jdk and installed it (7 didn't seem to work and I don't know enough about it to make it go) I ran Elsinore.jar and the following is what I got back:


root@mikesbrewpi:/home/SB_Elsinore_Server# java -jar Elsinore.jar -owfs
Feb 28, 2014 11:03:30 PM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
CFG IS NULL
DOC IS NULL
Creating the OWFS configuration.
What is the OWFS server host? (Defaults to localhost)

What is the OWFS server port? (Defaults to 4304)

Creating element of general
Creating on configDoc base
Creating element of owfs_server
Creating on configDoc base
Creating element of owfs_port
Creating on configDoc base
Connecting to localhost:4304
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.tryToSocketConnectionAndStreamsInitialization(OwfsConnectionImpl.java:79)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.connect(OwfsConnectionImpl.java:70)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.establishConnectionIfNeeded(OwfsConnectionImpl.java:113)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.sendRequest(OwfsConnectionImpl.java:204)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.listDirectory(OwfsConnectionImpl.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.owfs.jowfsclient.internal.OwfsConnectionThreadSafeProxy$OwfsInvocationHandler.invoke(OwfsConnectionThreadSafeProxy.java:40)
at com.sun.proxy.$Proxy0.listDirectory(Unknown Source)
at com.sb.elsinore.LaunchControl.listOWFSDevices(LaunchControl.java:1313)
at com.sb.elsinore.LaunchControl.createConfig(LaunchControl.java:908)
at com.sb.elsinore.LaunchControl.readConfig(LaunchControl.java:431)
at com.sb.elsinore.LaunchControl.<init>(LaunchControl.java:211)
at com.sb.elsinore.LaunchControl.main(LaunchControl.java:167)
Could not find any one wire devices, please check you have the correct modules setup
Creating element of owfs_server
on general
Creating element of owfs_port
on general



Seems like there is something wrong....
I can see the sensor if I look here:
root@mikesbrewpi:/sys/bus/w1/devices# ls
28-0000057c273b w1_bus_master1

owfs.conf looks like this:
######## SOURCES #################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
!server: server = localhost:4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
server: w1
#
# USB device: DS9490
# server:
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS24
#
########### OWFS ##################
#
mountpoint = /mnt/1wire
allow_other
#
############## OWHTTPD #############

http: port = 2121

############## OWFTPD ##############

ftp: port = 2120

############# OWSERVER #############

server: port = localhost:4304



Any Ideas?:eek:
 
I've been having trouble too. I tried getting it working with owfs but had no luck even seeing my temp probe in owfs. I got the Elsinore setup to run by doing this:

Open modules to edit
Code:
sudo nano /etc/modules

Add these lines to the bottom of the file /etc/modules
Code:
w1-gpio
w1-therm

Code:
sudo reboot

This will get your probes recognized on boot
 

Latest posts

Back
Top