• 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.
Hi Doug. I had it work it working, but then rebooted and now getting an error. One thing I did before reboot was to take apache out of startup sequence, so it's not running. Is elsinore dependent on apache?

Code:
ubuntu@arm:~/SB_Elsinore_Server$ sudo ./launch.sh
Starting Elsinore as root
Dec 09, 2014 4:34:12 AM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl readConfig
INFO: CFG IS NULL
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl enableRecorder
INFO: Enabling the recorder
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section pumps
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section general
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: System
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp <init>
INFO: Adding
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp <init>
INFO:  added.
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl startDevice
INFO: Adding System GPIO is (null)
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: 28-000004f22a44
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl startDevice
INFO: No Probe specified for 28-000004f22a44
Looking for: ti_am335x-bone
Exception in thread "main" java.lang.NullPointerException:
        at com.sb.elsinore.LaunchControl.parseDevice(LaunchControl.java:2589)
        at com.sb.elsinore.LaunchControl.parseXMLSections(LaunchControl.java:2354)
        at com.sb.elsinore.LaunchControl.readConfig(LaunchControl.java:796)
        at com.sb.elsinore.LaunchControl.<init>(LaunchControl.java:468)
        at com.sb.elsinore.LaunchControl.main(LaunchControl.java:353)
 
Correct me if I'm wrong, but I believe the web interface to control SBE relies on apache.

-Josh
 
Hi Doug. I had it work it working, but then rebooted and now getting an error. One thing I did before reboot was to take apache out of startup sequence, so it's not running. Is elsinore dependent on apache?

Code:
ubuntu@arm:~/SB_Elsinore_Server$ sudo ./launch.sh
Starting Elsinore as root
Dec 09, 2014 4:34:12 AM com.sb.elsinore.LaunchControl main
INFO: Running Brewery Controller.
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl readConfig
INFO: CFG IS NULL
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl enableRecorder
INFO: Enabling the recorder
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section pumps
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section general
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: System
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp <init>
INFO: Adding
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp <init>
INFO:  added.
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl startDevice
INFO: Adding System GPIO is (null)
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp setScale
WARNING: Cut off is: -999
Dec 09, 2014 4:34:13 AM com.sb.elsinore.Temp setScale
WARNING: Cut off is now: -999
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseXMLSections
INFO: Checking section device
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Parsing XML Device: 28-000004f22a44
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl parseDevice
INFO: Not enough volume data points, 0 found
Dec 09, 2014 4:34:13 AM com.sb.elsinore.LaunchControl startDevice
INFO: No Probe specified for 28-000004f22a44
Looking for: ti_am335x-bone
Exception in thread "main" java.lang.NullPointerException:
        at com.sb.elsinore.LaunchControl.parseDevice(LaunchControl.java:2589)
        at com.sb.elsinore.LaunchControl.parseXMLSections(LaunchControl.java:2354)
        at com.sb.elsinore.LaunchControl.readConfig(LaunchControl.java:796)
        at com.sb.elsinore.LaunchControl.<init>(LaunchControl.java:468)
        at com.sb.elsinore.LaunchControl.main(LaunchControl.java:353)

Your configuration appears to be corrupted. Did you shutdown Elsinore before shutting down the system? Can you post the contents of your configuration?
 
Correct me if I'm wrong, but I believe the web interface to control SBE relies on apache.

-Josh

Consider yourself corrected, Elsinore is 100% self contained, otherwise the instructions would tell you to install Apache.
 
Note; I did receive a ph Probe today, but I won't be pushing any code til I have some calibration solutions delivered and tested.
 
Note; I did receive a ph Probe today, but I won't be pushing any code til I have some calibration solutions delivered and tested.

That's great news...Can't wait!!

Are you able to list the hardware components required so I can get them ordered now for the new year??
 
Update: If you have volume measurement setup you can now enter the specific gravity and it should adjust the volume of the liquid represented to match.

I.e. if your wort is at 1.045 SG it's 1.045 times the same volume of water (at least that's my very very basic understanding).

This of course assumes you calibrate at 1.000.
 
Thanks Doug...only issue I see with that probe is its operating temp.:

Measuring Temperature :0-60 &#8451;

Yes, you would be correct, but my searching didn't find anything reasonably priced that would go to 100C, so this will be a limitation that you'd need to take a sample, and chill it first, before measuring the pH.

Since most of the initial water adjustments are made from the mash water, it should be sufficient for the majority of homebrewers to measure the pH of the plain water, plan their adjustments, then make minor ones based of later samples.
 
Update: If you have volume measurement setup you can now enter the specific gravity and it should adjust the volume of the liquid represented to match.

I.e. if your wort is at 1.045 SG it's 1.045 times the same volume of water (at least that's my very very basic understanding).

This of course assumes you calibrate at 1.000.

i was unable to find any info on setting up the volume measurements. maybe its just been a long day and i am blind. if you can point me in the right direction that would be great.

This setup is just awesome. I have brewed 6-10 batches with it flawlessly!!! thank you!


nevermind... found it..
http://dougedey.github.io/2014/05/14/New-Elsinore_Setup/

Peter
 
Kind of realized that the volume units wasn't very clear for what was accepted so I made it into a drop down so you can select a valid volume unit.
 
Your configuration appears to be corrupted. Did you shutdown Elsinore before shutting down the system? Can you post the contents of your configuration?

Hi Doug..here's elsinore.cfg, is that what you want? I think I shut down elsinore before rebooting but can't be sure... I was doing few things and rebooted multiple times.

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<elsinore>
  <pumps/>
  <general>
    <pagelock>true</pagelock>
    <scale>F</scale>
    <recorder>true</recorder>
    <recorderDiff>0.15</recorderDiff>
    <recorderTime>5000</recorderTime>
    <brewery_name>Big Fin Temp Chamber</brewery_name>
  </general>
  <device id="System">
    <probe/>
    <cutoff>-999</cutoff>
    <calibration>0F</calibration>
  </device>
  <device id="28-000004f22a44">
    <duty_cycle>0</duty_cycle>
    <set_point>0</set_point>
    <heat>
      <cycle_time>0</cycle_time>
      <proportional>0</proportional>
      <integral>0</integral>
      <derivative>0</derivative>
      <gpio>Gpio8_12</gpio>
      <invert>false</invert>
    </heat>
    <cool>
      <cycle_time>0</cycle_time>
      <delay>0</delay>
       <proportional>0</proportional>
      <integral>0</integral>
      <derivative>0</derivative>
      <gpio/>
      <invert>false</invert>    
  </cool>
    <min>0</min>
    <max>0</max>
    <time>0</time>
    <aux/>
  </device>
</elsinore>
 
Yes, you would be correct, but my searching didn't find anything reasonably priced that would go to 100C, so this will be a limitation that you'd need to take a sample, and chill it first, before measuring the pH.

So completely outside of Elsinore? Sort of defeats the purpose doesn't it? I might as well keep doing it manually unless I'm missing something obvious?
 
So completely outside of Elsinore? Sort of defeats the purpose doesn't it? I might as well keep doing it manually unless I'm missing something obvious?

What do you mean "outside of elsinore"?

Were you intending on leaving a pH probe in the mash/boil kettle?

This will be in elsinore and you would take a sample of liquid, wait for it to be in the temperature range, and press a button to record it on the data recorder and show it to you.

When submerged in a solution, hydrogen ions will migrate towards the conductive glass electrode and replace some of the metal ions in the coating. This creates a small voltage that the silver electrode is able to pick up, which is then passed on to the voltmeter, which converts the signal into a pH reading. The reference electrode acts as a baseline measurement, and completes the electrical circuit.

This is why I have always been told not to leave the probe in a solution, it degrades the coating much faster.
 
Great news for the ph sensor and thanks for the volume/gravity adjust!
This project is amazing!

I'm joining the bandwagon for tests! Just received temp. probes and 40A ssr with heatsink, time to play :)


:mug:
 
What do you mean "outside of elsinore"?

Were you intending on leaving a pH probe in the mash/boil kettle?

This will be in elsinore and you would take a sample of liquid, wait for it to be in the temperature range, and press a button to record it on the data recorder and show it to you.



This is why I have always been told not to leave the probe in a solution, it degrades the coating much faster.

Thanks Doug, just needed it explained was all and can now see how it all fits together.
 
Hi Doug,
wired everything, fresh raspbian/git clone, modded /etc/modules, get this error everytime i add a GPIO port for PID usage, no mather if is GPIO21/22/24/18

dic 13, 2014 4:22:57 PM com.sb.elsinore.BrewServer editVessel
AVVERTENZA: Updated temp name EBIAB
No definitions file found, assuming direct mapping
dic 13, 2014 4:23:03 PM com.sb.elsinore.devices.OutputDevice <init>
AVVERTENZA: Unable to initialize the SSR: Could not write to GPIO file: Dispositivo o risorsa occupata
No definitions file found, assuming direct mapping
dic 13, 2014 4:23:07 PM com.sb.elsinore.devices.OutputDevice <init>
AVVERTENZA: Unable to initialize the SSR: Could not write to GPIO file: Dispositivo o risorsa occupata
dic 13, 2014 4:23:07 PM com.sb.elsinore.BrewServer editVessel
AVVERTENZA: Create PID
No definitions file found, assuming direct mapping
dic 13, 2014 4:23:12 PM com.sb.elsinore.devices.OutputDevice <init>
AVVERTENZA: Unable to initialize the SSR: Could not write to GPIO file: Dispositivo o risorsa occupata
(translation: WARNING: Unable to initialize the SSR: Could not write to GPIO file: Device/Resource is busy)

When i set the pid in MANUAL (100% , 10s) nothing happen on the ssr side, checked with a multimeter there's no voltage on the pin. and i get this

dic 13, 2014 4:30:55 PM com.sb.elsinore.OutputControl run
AVVERTENZA: Could not control the GPIO Pin during loop. Did you start as root?
java.lang.RuntimeException: Could not write to GPIO file: Dispositivo o risorsa occupata
at jGPIO.GPIO.writeFile(GPIO.java:176)
at jGPIO.GPIO.<init>(GPIO.java:109)
at jGPIO.OutPin.<init>(OutPin.java:16)
at com.sb.elsinore.devices.OutputDevice.initializeSSR(OutputDevice.java:65)
at com.sb.elsinore.devices.OutputDevice.runCycle(OutputDevice.java:86)
at com.sb.elsinore.OutputControl.run(OutputControl.java:105)
at java.lang.Thread.run(Thread.java:744)
dic 13, 2014 4:30:55 PM com.sb.elsinore.OutputControl run
AVVERTENZA: Output Control turning off outputs


If i set GPIO21 as a pump i can normally operate the SSR or a test led.

Am i missing something? I had to manually install lshw...don't know if this is normal.
 
Ugh, this is an issue where for some reason getMessage() is returning a localized string (when it shouldn't), and the device/resource busy shouldn't cause an issue (it means the GPIO is already exported).

I've added some changes that should prevent this.
 
Removed path, reboot, git clone, now no error displayed but it doesn't work as before:

pid set on GPIO21, manual 100% 10s, led doesn't go on
set a pump on GPIO24, switch wire, SSR goes ON
pump with led on GPIO22 works ok.


Switched led and ssr, same result, ssr work as a pump, led doesn't go ON with PID control set to manual (multimeter check 0v on GPIO21)

complete log

blitz@blitzberry ~/SB_Elsinore_Server $ sudo ./launch.sh
Starting Elsinore as root
dic 14, 2014 1:02:34 AM com.sb.elsinore.LaunchControl main
INFORMAZIONI: Running Brewery Controller.
dic 14, 2014 1:02:36 AM com.sb.elsinore.LaunchControl readConfig
INFORMAZIONI: CFG IS NULL
dic 14, 2014 1:02:36 AM com.sb.elsinore.LaunchControl enableRecorder
INFORMAZIONI: Enabling the recorder
No definitions file found, assuming direct mapping
No definitions file found, assuming direct mapping
dic 14, 2014 1:02:46 AM com.sb.elsinore.LaunchControl parseXMLSections
INFORMAZIONI: Checking section general
dic 14, 2014 1:02:46 AM com.sb.elsinore.LaunchControl parseXMLSections
INFORMAZIONI: Checking section pumps
dic 14, 2014 1:02:46 AM com.sb.elsinore.LaunchControl parseXMLSections
INFORMAZIONI: Checking section device
dic 14, 2014 1:02:46 AM com.sb.elsinore.LaunchControl parseDevice
INFORMAZIONI: Parsing XML Device: Pentola_EBIAB
dic 14, 2014 1:02:46 AM com.sb.elsinore.LaunchControl parseDevice
INFORMAZIONI: Not enough volume data points, 0 found
dic 14, 2014 1:02:46 AM com.sb.elsinore.Temp <init>
INFORMAZIONI: Adding28-00044b1c9cff
dic 14, 2014 1:02:46 AM com.sb.elsinore.Temp <init>
INFORMAZIONI: 28-00044b1c9cff added.
dic 14, 2014 1:02:46 AM com.sb.elsinore.LaunchControl startDevice
INFORMAZIONI: Adding Pentola_EBIAB GPIO is (GPIO21)
dic 14, 2014 1:02:46 AM com.sb.elsinore.Temp setScale
AVVERTENZA: Cut off is: -999
dic 14, 2014 1:02:46 AM com.sb.elsinore.Temp setScale
AVVERTENZA: Cut off is now: -999
dic 14, 2014 1:02:46 AM com.sb.elsinore.LaunchControl startDevice
INFORMAZIONI: Adding PID with GPIO: GPIO21
dic 14, 2014 1:02:46 AM com.sb.elsinore.PID detectGPIO
INFORMAZIONI: Matches: 3
dic 14, 2014 1:02:46 AM com.sb.elsinore.PID detectGPIO
INFORMAZIONI: Direct GPIO Pinout detected. OS: null
dic 14, 2014 1:02:46 AM com.sb.elsinore.PID run
INFORMAZIONI: Running Pentola_EBIAB PID.
No definitions file found, assuming direct mapping
Invalid options when setting up Hysteria: Min value is less than the max value
dic 14, 2014 1:02:56 AM com.sb.elsinore.PID updateValues
INFORMAZIONI: 0: 0: 0
dic 14, 2014 1:02:56 AM com.sb.elsinore.PID updateValues
INFORMAZIONI: 0: 0: 0
dic 14, 2014 1:02:56 AM com.sb.elsinore.LaunchControl savePID
INFORMAZIONI: Saving the information for Pentola_EBIAB
dic 14, 2014 1:02:56 AM com.sb.elsinore.LaunchControl savePID
INFORMAZIONI: Using base node device with ID Pentola_EBIAB
No definitions file found, assuming direct mapping
dic 14, 2014 1:02:56 AM com.sb.elsinore.OutputControl setDuty
INFORMAZIONI: IN: 0 OUT: 0
dic 14, 2014 1:02:56 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:02:56 AM com.sb.elsinore.PID run
INFORMAZIONI: off: Pentola_EBIAB status: 70.5866 duty cycle: 0
dic 14, 2014 1:02:56 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:02:57 AM com.sb.elsinore.OutputControl setDuty
INFORMAZIONI: IN: 0 OUT: 0
dic 14, 2014 1:02:57 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:02:57 AM com.sb.elsinore.PID run
INFORMAZIONI: off: Pentola_EBIAB status: 70.5866 duty cycle: 0
dic 14, 2014 1:02:58 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:02:58 AM com.sb.elsinore.OutputControl setDuty
INFORMAZIONI: IN: 0 OUT: 0
dic 14, 2014 1:02:58 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:02:58 AM com.sb.elsinore.PID run
INFORMAZIONI: off: Pentola_EBIAB status: 70.5866 duty cycle: 0
dic 14, 2014 1:02:59 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:02:59 AM com.sb.elsinore.OutputControl setDuty
INFORMAZIONI: IN: 0 OUT: 0
dic 14, 2014 1:02:59 AM com.sb.elsinore.PID run
INFORMAZIONI: off: Pentola_EBIAB status: 70.5866 duty cycle: 0
dic 14, 2014 1:02:59 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:03:00 AM com.sb.elsinore.OutputControl setDuty
INFORMAZIONI: IN: 0 OUT: 0
dic 14, 2014 1:03:00 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
dic 14, 2014 1:03:00 AM com.sb.elsinore.PID run
INFORMAZIONI: off: Pentola_EBIAB status: 70.5866 duty cycle: 0
dic 14, 2014 1:03:00 AM com.sb.elsinore.OutputControl run
INFORMAZIONI: Fduty: 0
No definitions file found, assuming direct mapping
dic 14, 2014 1:03:01 AM com.sb.elsinore.LaunchControl parseXMLSections
INFORMAZIONI: Checking section device
dic 14, 2014 1:03:01 AM com.sb.elsinore.LaunchControl parseDevice
INFORMAZIONI: Parsing XML Device: System
dic 14, 2014 1:03:01 AM com.sb.elsinore.LaunchControl parseDevice
INFORMAZIONI: Not enough volume data points, 0 found
dic 14, 2014 1:03:01 AM com.sb.elsinore.Temp <init>
INFORMAZIONI: Adding
dic 14, 2014 1:03:01 AM com.sb.elsinore.Temp <init>
INFORMAZIONI: added.
dic 14, 2014 1:03:01 AM com.sb.elsinore.LaunchControl startDevice
INFORMAZIONI: Adding System GPIO is (null)
dic 14, 2014 1:03:01 AM com.sb.elsinore.Temp setScale
AVVERTENZA: Cut off is: -999
dic 14, 2014 1:03:01 AM com.sb.elsinore.Temp setScale
AVVERTENZA: Cut off is now: -999
dic 14, 2014 1:03:01 AM com.sb.elsinore.LaunchControl <init>
INFORMAZIONI: Starting Status Recorder
dic 14, 2014 1:03:01 AM com.sb.elsinore.LaunchControl <init>
INFORMAZIONI: CONFIG READ COMPLETED***********
dic 14, 2014 1:03:01 AM com.sb.elsinore.BrewServer <init>
INFORMAZIONI: Launching on port 8080
dic 14, 2014 1:03:01 AM com.sb.elsinore.BrewServer <init>
INFORMAZIONI: Enabled logging at level:WARNING
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


something related with local language? I can do a check with a fresh english install of raspbian! Thanks again for your work!


EDIT: when i do CTRL ^C i get this

^Cjava.io.FileNotFoundException: /sys/class/gpio/gpio22/value (File o directory non esistente)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at java.io.FileReader.<init>(FileReader.java:58)
at jGPIO.GPIO.readFile(GPIO.java:185)
at jGPIO.GPIO.readValue(GPIO.java:206)
at jGPIO.OutPin.getValue(OutPin.java:48)
at com.sb.elsinore.Pump.getStatus(Pump.java:71)
at com.sb.elsinore.LaunchControl.getJSONStatus(LaunchControl.java:734)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1391)
GPIO Doesn't exist, may have already closed
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:744)
java.io.FileNotFoundException: /sys/class/gpio/gpio24/value (File o directory non esistente)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at java.io.FileReader.<init>(FileReader.java:58)
at jGPIO.GPIO.readFile(GPIO.java:185)
at jGPIO.GPIO.readValue(GPIO.java:206)
at jGPIO.OutPin.getValue(OutPin.java:48)
at com.sb.elsinore.Pump.getStatus(Pump.java:71)
at com.sb.elsinore.LaunchControl.getJSONStatus(LaunchControl.java:734)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:1391)
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:744)
 
It shouldn't be related to language anymore. Can you provide the output of the getstatus page when you have the output on manual mode?
 
Sorry don't know if i undestand correctly....when i SET the GPIO port on PID, or set MANUAL (100%/10s) and hit "send command" nothing is written on the output of Elsinore, the log attached in previus post include a GPIO port setup and a manual PID set ON and OFF

It only trap error on CTRL ^C
 
Yes, it won't show anything in the logs unless you enable debug logging.

But when you're turned on the manual mode goto the getstatus page, it'll be <host>:8080/getstatus and provide the output.

I'm not able to reproduce the output not turning on here.

Also, when it is enabled and should be on, run:

cat /sys/class/gpio/gpio21/direction
cat /sys/class/gpio/gpio21/value

Or change the number to whichever one you have set up on the PID.
 
Doug

I incorrectly shut down Elsinore without using CTRL C and now when i log back in i have everything set as before but i can't get any of my ssr's to fire. The display shows the duty cycle or PID parameters i set just no ssr function.

Should i re pull the code again or is there a way to correct this.

I also had issues with the manual duty cycle. No matter what % i set if the duty cycle was anything other than 1 sec i wouldn't get any ssr function except 0% or 100% depending on the duty cycle.

Thanks again

Chris
 
Doug

I incorrectly shut down Elsinore without using CTRL C and now when i log back in i have everything set as before but i can't get any of my ssr's to fire. The display shows the duty cycle or PID parameters i set just no ssr function.

Should i re pull the code again or is there a way to correct this.

I also had issues with the manual duty cycle. No matter what % i set if the duty cycle was anything other than 1 sec i wouldn't get any ssr function except 0% or 100% depending on the duty cycle.

Thanks again

Chris

Running a pull should help with the SSRs not firing. I'm not sure what you mean by the issues with the manual duty cycle.
 
Doug

The only way i get any PWM on the manual mode is with a duty cycle time of 1 second. All set duty cycle %'s work fine.

If i make the cycle time more than 1 second, no matter the duty cycle % i will either get full on or full off no pulsing.

Thanks
 
Back
Top