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.
The script is only tested on Ubuntu, I suspect, since you've given no information, that you're on a non ubuntu distribution.
 
Ah, okay. Thanks.

I'm using the Debian distro that came on the BBB.

I had an issue prior to trying to set Elsinore up as a service, where the server couldn't start up because Port 8080 was already in use. Is there something I need to change to get Elsinore to run from another port?

I tried rebooting to see if that would free the port up, but it didn't change anything. I ran 'netstat' to see what was using the port, and it appeared to be used by apache.
 
I have the same problem and run:

/etc/init.d/apache2 stop

./extras/w1_setup.sh

cd SB_Elsinore_Server

./launch.sh

then elsinore starts up fine.

I hope this helps, Cheers!

Doug, thanks so much! I am working on a build and could not have even attempted it without this incredible software!

Merry Christmas
Tim
 
Thanks so much, Tim!

That worked!

Feels great to see the GUI in the browser!

Also, thanks Doug for building this. I'm looking forward to using it! Merry Christmas!
 
Ph sensor came in today..woo hoo. But in order to use it or the volume sensors on the rpi or bbb I need the ds2450 right?

Will test the pH sensor on a arduino

Thanks
 
Crazy question... The solution that is in the tube that is screwed onto the pH sensor... what is it? Do I need to keep it? It does say you should wash the sensor with water first. My ph buffer solutions will be in on Monday but I would still like to try it out now. Any help would be great.

Thanks
 
That is the storage solution. It helps the electrode not dry out. You might want to pick some of that up too. I think some people use distilled water but???
 
I could've sworn I replied earlier.

The Solution is pH 7.0 based on comparisson with one of my buffer solutions (I have 4.0 and 7.0). I spilled it immediately though, but it's basically distilled water (I think the 7.0 buffer is more accurate than distilled water).

You will need a DS2450 since the BBB and RPi isn't 5.0V Analog input compatible.
 
OK so wash that solution off before I calibrate it.. got it... I will also look for that solution for storing the sensor.

Thanks
 
Great work as usual Doug!

I've spotted two things:
- after another fresh git clone ph sensor box disappeared, but right now i don't have ds2450 or ph sensor attached
- tried to "download all data" on the live graph page (on a win8 pc), it download a 4 kbyte compressed archive, but it seems corrupted, inside winrar i can navigate to a csv file that is 0byte, maybe it work only on linux?

Cheers
 
pH sensor is disabled since the setup procedure is broken after the refactoring. I'll update again tomorrow when I've fixed it.

The archive download should be working, I'll double check when I get home
 
So this ds2450... how many wires are coming out of it? Ground 5v and 1 data(1 wire)? I plug all my temp sensors, ph, and volume sensors into the a b c? Would love to see a pic or 2 or even diagrams..
Can't wait to start getting these things tied in...
 
It's a one wire bus device. So it works the same as the temperature probes. You just chain them
 
It's a one wire bus device. So it works the same as the temperature probes. You just chain them

So the temp probes, ph sensor and say 2 volume sensors could all plug into port A?

Thanks just do not want to blow anything up.. more digging... i love this stuff...

could i see a copy of your /etc/owfs.conf

Thanks
 
So the temp probes, ph sensor and say 2 volume sensors could all plug into port A?

Thanks just do not want to blow anything up.. more digging... i love this stuff...

could i see a copy of your /etc/owfs.conf

Thanks

Not sure what you mean by Port A?

The one wire bus uses three wires, 5V, GND, and Data, just daisy chain the wires and you can add a lot of inputs.

This is what I use on my BBB

Code:
cat /etc/owfs.conf 
# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## 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: FAKE = DS18S20,DS2405
#
# USB device: DS9490
server: w1 = all
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################

http: port = 2121

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

ftp: port = 2120

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

server: port = localhost:4304
 
pH Sensors are now back in the main branch, I've tested a brand new setup with the latest code and everything seems happy.

I've also fixed the zip file download.

I've also improved the hysteria error messages as requested.
 
I'm still having all the issues that I mentioned, not that big of a deal if I have to edit prob twice to make it a PID or the LOCK issue, but I really would like to get the timer working. I add a timer, go into lock, then hit start, nothing happens, nothing in the logs or on the console.
 
Does everyone connect their BBB/RPi directly to the SSRs or is it necessary to put a ULN2003 between them?

I was reading this site, which says I'll need one between the BBB and the SSR: http://www.bonebrews.com/solid-state-relay-with-a-beaglebone/

If the SSRs can be connected straight from the BBB, which GPIO pins are used to switch the SSRs, or is that configured in Elsinore?
 
I'm still having all the issues that I mentioned, not that big of a deal if I have to edit prob twice to make it a PID or the LOCK issue, but I really would like to get the timer working. I add a timer, go into lock, then hit start, nothing happens, nothing in the logs or on the console.

You'll need to give me more information about what you're trying to add in when you edit the device as well as what browser you're using.
 
Does everyone connect their BBB/RPi directly to the SSRs or is it necessary to put a ULN2003 between them?

I was reading this site, which says I'll need one between the BBB and the SSR: http://www.bonebrews.com/solid-state-relay-with-a-beaglebone/

If the SSRs can be connected straight from the BBB, which GPIO pins are used to switch the SSRs, or is that configured in Elsinore?

Hi, i'm using this setup LINK and it seems to work (just testing without loads), it should draw only around 3ma on gpio port, is just a matter of 1 bc337, a resistor and a diode, paid 3-4 euro for two pieces of all
 
Not sure what you mean by Port A?

The one wire bus uses three wires, 5V, GND, and Data, just daisy chain the wires and you can add a lot of inputs.

This is what I use on my BBB

Code:
cat /etc/owfs.conf 
# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## 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: FAKE = DS18S20,DS2405
#
# USB device: DS9490
server: w1 = all
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################

http: port = 2121

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

ftp: port = 2120

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

server: port = localhost:4304



That's what I get for typing when I am tired... would the 1wire temp probes, ph sensor, and 2 volume sensors be daisy changed on one data pin? These all being connected to 1 port on the ds2450? What pin does the ds2450 get connected to on the rpi? Does it have to get connected to one of the i2c pins or any run of the mill gpio pins....

Sorry for all the question's

Peter
 
Does everyone connect their BBB/RPi directly to the SSRs or is it necessary to put a ULN2003 between them?

I was reading this site, which says I'll need one between the BBB and the SSR: http://www.bonebrews.com/solid-state-relay-with-a-beaglebone/

If the SSRs can be connected straight from the BBB, which GPIO pins are used to switch the SSRs, or is that configured in Elsinore?

My 2 ssr's are connected directly to 2 gpio pins on my rpi. This has been working flawlessly for about 12 brews.
 
That's what I get for typing when I am tired... would the 1wire temp probes, ph sensor, and 2 volume sensors be daisy changed on one data pin? These all being connected to 1 port on the ds2450? What pin does the ds2450 get connected to on the rpi? Does it have to get connected to one of the i2c pins or any run of the mill gpio pins....

Sorry for all the question's

Peter

The DS2450 is a One Wire Analog input, A/B/C/D are all analog inputs, not the one wire bus. You connect the 5V on the RPi/BBB to the 5V on each of the temperature probes/DS2450. The data line to the data line on the temperature probes and DS2450. And the ground to the ground. The DS2450 has a 5V & GND output that you can connect to the Volume sensor and the pH Probe. Then the Volume sensor output line goes to a port on the DS2450, the pH Sensor output line goes to a different port on the DS2450
 
Hi, i'm using this setup LINK and it seems to work (just testing without loads), it should draw only around 3ma on gpio port, is just a matter of 1 bc337, a resistor and a diode, paid 3-4 euro for two pieces of all

I think the author may have had a low current power supply which lead to the issues. I've never had to use any additional circuitry.
 
i am getting this error when trying to add the PH sensor.

Dec 28, 2014 8:43:25 PM com.sb.elsinore.BrewServer serve
WARNING: Couldn't access URL: /getphsensorform
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:304)
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)
Caused by: java.lang.NullPointerException
at com.sb.elsinore.LaunchControl.getOneWireDevices(LaunchControl.java:3404)
at com.sb.elsinore.html.PhSensorForm.renderOn(PhSensorForm.java:46)
at com.sb.elsinore.UrlEndpoints.getPhSensorForm(UrlEndpoints.java:2057)
... 9 more
Dec 28, 2014 8:43:25 PM com.sb.elsinore.BrewServer serve
WARNING: Failed to find URI: /getphsensorform



so the temp probles are on GPIO 4 and the DS2450 is connected to GPIO 22. the PH sensor is powered up and plugged into the DS2450 on port A
 
i am getting this error when trying to add the PH sensor.

Dec 28, 2014 8:43:25 PM com.sb.elsinore.BrewServer serve
WARNING: Couldn't access URL: /getphsensorform
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:304)
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)
Caused by: java.lang.NullPointerException
at com.sb.elsinore.LaunchControl.getOneWireDevices(LaunchControl.java:3404)
at com.sb.elsinore.html.PhSensorForm.renderOn(PhSensorForm.java:46)
at com.sb.elsinore.UrlEndpoints.getPhSensorForm(UrlEndpoints.java:2057)
... 9 more
Dec 28, 2014 8:43:25 PM com.sb.elsinore.BrewServer serve
WARNING: Failed to find URI: /getphsensorform



so the temp probles are on GPIO 4 and the DS2450 is connected to GPIO 22. the PH sensor is powered up and plugged into the DS2450 on port A

You can't connect the DS2450 to a different pin, the one wire bus is on port GPIO4.

The error you're getting is because OWFS isn't setup, you'll need to delete your configuration file and start setup again, Elsinore will detect the DS2450 and will ask if you want to use OWFS on the command line.
 
so putting the ds2450 and temp probes on the same bus and blanking out the config file allwed OWFS to be configured and the PH sensor to work. the only thing that is wrong now is it is only showing 5 of my 7 temp probes. I can see all 8 1 wire address (7 temp probes and 1 ds2450) in /sys/bus/w1/devices


root@RPI2:/var/www/Elsinore# ./launch.sh
Starting Elsinore as root
Dec 28, 2014 10:57:15 PM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl readConfig
INFO: CFG IS NULL
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseGeneral
INFO: Setup OWFS at localhost:4304
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl setupOWFS
INFO: Connecting to localhost:4304
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section general
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section pumps
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section phSensors
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: 28-98DFCD040000
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 28, 2014 10:57:17 PM com.sb.elsinore.Temp <init>
INFO: Adding28.98DFCD040000
Dec 28, 2014 10:57:17 PM com.sb.elsinore.Temp <init>
INFO: Using OWFS for 28.98DFCD040000/temperature
Dec 28, 2014 10:57:17 PM com.sb.elsinore.Temp <init>
INFO: 28.98DFCD040000 added.
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl startDevice
INFO: Adding 28-98DFCD040000 GPIO is (null)
Dec 28, 2014 10:57:17 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 28, 2014 10:57:17 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: 28-1C02CE040000
Dec 28, 2014 10:57:17 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 28, 2014 10:57:17 PM com.sb.elsinore.Temp <init>
INFO: Adding28.1C02CE040000
Dec 28, 2014 10:57:18 PM com.sb.elsinore.Temp <init>
INFO: Using OWFS for 28.1C02CE040000/temperature
Dec 28, 2014 10:57:18 PM com.sb.elsinore.Temp <init>
INFO: 28.1C02CE040000 added.
Dec 28, 2014 10:57:18 PM com.sb.elsinore.LaunchControl startDevice
INFO: Adding 28-1C02CE040000 GPIO is (null)
Dec 28, 2014 10:57:18 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 28, 2014 10:57:18 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 28, 2014 10:57:18 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 28, 2014 10:57:18 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: 28-F658CD040000
Dec 28, 2014 10:57:18 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 28, 2014 10:57:18 PM com.sb.elsinore.Temp <init>
INFO: Adding28.F658CD040000
Dec 28, 2014 10:57:19 PM com.sb.elsinore.Temp <init>
INFO: Using OWFS for 28.F658CD040000/temperature
Dec 28, 2014 10:57:19 PM com.sb.elsinore.Temp <init>
INFO: 28.F658CD040000 added.
Dec 28, 2014 10:57:19 PM com.sb.elsinore.LaunchControl startDevice
INFO: Adding 28-F658CD040000 GPIO is (null)
Dec 28, 2014 10:57:19 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 28, 2014 10:57:19 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 28, 2014 10:57:19 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 28, 2014 10:57:19 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: 28-DE33F3050000
Dec 28, 2014 10:57:19 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 28, 2014 10:57:20 PM com.sb.elsinore.Temp <init>
INFO: Adding28.DE33F3050000
Dec 28, 2014 10:57:20 PM com.sb.elsinore.Temp <init>
INFO: Using OWFS for 28.DE33F3050000/temperature
Dec 28, 2014 10:57:21 PM com.sb.elsinore.Temp <init>
INFO: 28.DE33F3050000 added.
Dec 28, 2014 10:57:21 PM com.sb.elsinore.LaunchControl startDevice
INFO: Adding 28-DE33F3050000 GPIO is (null)
Dec 28, 2014 10:57:21 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 28, 2014 10:57:21 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 28, 2014 10:57:21 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 28, 2014 10:57:21 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: 28-D9B656050000
Dec 28, 2014 10:57:21 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 28, 2014 10:57:21 PM com.sb.elsinore.Temp <init>
INFO: Adding28.D9B656050000
Dec 28, 2014 10:57:21 PM com.sb.elsinore.Temp <init>
INFO: Using OWFS for 28.D9B656050000/temperature
Dec 28, 2014 10:57:22 PM com.sb.elsinore.Temp <init>
INFO: 28.D9B656050000 added.
Dec 28, 2014 10:57:22 PM com.sb.elsinore.LaunchControl startDevice
INFO: Adding 28-D9B656050000 GPIO is (null)
Dec 28, 2014 10:57:22 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 28, 2014 10:57:22 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 28, 2014 10:57:22 PM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 28, 2014 10:57:22 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: System
Dec 28, 2014 10:57:22 PM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 28, 2014 10:57:23 PM com.sb.elsinore.Temp <init>
INFO: Adding
Dec 28, 2014 10:57:23 PM com.sb.elsinore.Temp <init>
INFO: added.
Dec 28, 2014 10:57:23 PM com.sb.elsinore.LaunchControl startDevice
INFO: Adding System GPIO is (null)
Dec 28, 2014 10:57:23 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 28, 2014 10:57:23 PM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 28, 2014 10:57:23 PM com.sb.elsinore.LaunchControl <init>
INFO: CONFIG READ COMPLETED***********
Dec 28, 2014 10:57:23 PM com.sb.elsinore.BrewServer <init>
INFO: Launching on port 8080
Dec 28, 2014 10:57:23 PM com.sb.elsinore.BrewServer <init>
INFO: Enabled logging at level:WARNING
Dec 28, 2014 10:57:27 PM com.sb.elsinore.Temp updateTempFromOWFS
SEVERE: Couldn't find the probe 28.1C02CE040000 for 28-1C02CE040000
Dec 28, 2014 10:57:27 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 28-1C02CE040000
Dec 28, 2014 10:57:27 PM com.sb.elsinore.Temp updateTemp
WARNING: Recovered temperature reading for 28-1C02CE040000
Warning: NLS unused message: CHANGE_SCALE in: com.sb.elsinore.nls.messages
Warning: NLS unused message: DUTY in: com.sb.elsinore.nls.messages
Warning: NLS unused message: CALIBRATION in: com.sb.elsinore.nls.messages
Warning: NLS unused message: HIDE in: com.sb.elsinore.nls.messages
Warning: NLS unused message: SHOW in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_COOL in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_HEAT in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_GPIO in: com.sb.elsinore.nls.messages
Warning: NLS unused message: UPDATE_GRAVITY in: com.sb.elsinore.nls.messages
Dec 28, 2014 10:57:40 PM com.sb.elsinore.Temp updateTempFromOWFS
SEVERE: Couldn't read 28.D9B656050000
org.owfs.jowfsclient.OwfsException: Error -22
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.readPacket(OwfsConnectionImpl.java:264)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.read(OwfsConnectionImpl.java:133)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.owfs.jowfsclient.internal.OwfsConnectionThreadSafeProxy$OwfsInvocationHandler.invoke(OwfsConnectionThreadSafeProxy.java:40)
at com.sun.proxy.$Proxy0.read(Unknown Source)
at com.sb.elsinore.LaunchControl.readOWFSPath(LaunchControl.java:1841)
at com.sb.elsinore.Temp.updateTempFromOWFS(Temp.java:477)
at com.sb.elsinore.Temp.updateTemp(Temp.java:435)
at com.sb.elsinore.Temp.run(Temp.java:184)
at java.lang.Thread.run(Thread.java:724)

Dec 28, 2014 10:57:41 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 28-D9B656050000
Dec 28, 2014 10:57:41 PM com.sb.elsinore.Temp updateTemp
WARNING: Recovered temperature reading for 28-D9B656050000
Dec 28, 2014 10:57:44 PM com.sb.elsinore.inputs.PhSensor updateReading
SEVERE: Could not update the pH reading from OWFS
java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:545)
at java.math.BigDecimal.<init>(BigDecimal.java:739)
at com.sb.elsinore.inputs.PhSensor.updateReading(PhSensor.java:176)
at com.sb.elsinore.inputs.PhSensor.getAverage(PhSensor.java:312)
at com.sb.elsinore.inputs.PhSensor.calcSEN0161(PhSensor.java:299)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sb.elsinore.inputs.PhSensor.calcPhValue(PhSensor.java:262)
at com.sb.elsinore.UrlEndpoints.readPhSensor(UrlEndpoints.java:2146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:304)
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)

Dec 28, 2014 10:57:45 PM com.sb.elsinore.inputs.PhSensor updateReading
SEVERE: Recovered pH level reading for PH
 
If you go to the httpd server for owfs in your browser (normally on port 2121 by default), can you see all the temperature probes
 
If you go to the httpd server for owfs in your browser (normally on port 2121 by default), can you see all the temperature probes

Could you share your owfs.conf file? I never got the httpd server to display my temps, I know it's a config issue, I can see the default fake devices via browser.

Timers work great! Are there plans to associate a GPIO with a timer, to drive a buzzer or LED (or send a text), that would be slick.
 
Could you share your owfs.conf file? I never got the httpd server to display my temps, I know it's a config issue, I can see the default fake devices via browser.

Timers work great! Are there plans to associate a GPIO with a timer, to drive a buzzer or LED (or send a text), that would be slick.

if you go back a few pages there is a copy of the owfs.cfg file.


thanks
Peter
 
yes i can see them all.

thanks.

performed the blow it all away and restart... works fine now. just need to reconfigure everything. not sure what to say!... after a restart i am back to 5 different probes... going to add one at a time and see what happens... WEIRD
 
I wonder if I'm using the OWFS server incorrectly or inefficiently. I'll check tonight
 
I wonder if I'm using the OWFS server incorrectly or inefficiently. I'll check tonight

that is kinda what i am leaning towards... had no issues before i went the OWFS route. You create a directory called /mnt/1wire... should you see anything in there?

i will say the Ph sensor is workign perfectly..
 
I've changed so that the temperature sensors don't use OWFS since I don't think it's very stable at it, even though everything should be thread safe. So just analogue inputs are read using OWFS.

You'll need to setup your configuration again however, since the address will be wrong.
 
I've changed so that the temperature sensors don't use OWFS since I don't think it's very stable at it, even though everything should be thread safe. So just analogue inputs are read using OWFS.

You'll need to setup your configuration again however, since the address will be wrong.


all my temp probes are showing perfectly now... but it is trying to show a temp of the ds2450. i have tried to hide it but that did not work either... here is a screen cap...

9, 2014 7:18:45 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:45 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:46 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:47 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:47 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:48 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:48 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:49 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:49 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:50 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
Dec 29, 2014 7:18:50 PM com.sb.elsinore.Temp updateTemp
WARNING: Trying to recover 20-000000111802
 
I've changed so that the temperature sensors don't use OWFS since I don't think it's very stable at it, even though everything should be thread safe. So just analogue inputs are read using OWFS.

You'll need to setup your configuration again however, since the address will be wrong.

i am getting nothing in the /mnt/1wire dir. i am also seeing this in var log messages (ds2450)

w1_master_driver w1_bus_master1: Family 20 for 20.000000111802.74 is not registered.

has anyone run into this?

thanks
Peter
 
Back
Top