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.
I've made some minor improvements to the layout, mainly to highlight where you're dragging and dropping.
 
Hello. I run with console in crhome:

Uncaught Typerror: cannot read property 'style' of undefined (for all 4 buttons)
pidFunctions.is:587 (when I push button auto)
pidFunctions.is:649 (when I push button manual)
pidFunctions.is:618 (when I push button hysteria)
pidFunctions.is:556 (when I push button off)

Button send command no out messages.
 
Hello. I run with console in crhome:

Uncaught Typerror: cannot read property 'style' of undefined (for all 4 buttons)
pidFunctions.is:587 (when I push button auto)
pidFunctions.is:649 (when I push button manual)
pidFunctions.is:618 (when I push button hysteria)
pidFunctions.is:556 (when I push button off)

Button send command no out messages.


I think I know what happened, you didn't rename the output so it kept the default name. Which has hyphens in it. I've now allowed hyphens in the device names.
 
why would I be able to open 192.168.xxx.xxx:8080/console but not open hostname:8080/console? I thought I was losing my mind trying to use the address that was displayed after start up, then I decided to try the ip instead and it worked. It still seems that the UI has some issues for me. Is there a preferred browser? I plan on using this as a client server type setup. On a windows machine I have a touch screen that I plan on using with 2 monitors. 1 for controlling SBE and one for music and watching TV. Also anyone care to post some pic's in a new thread on your setups. . . . . . . I will make sure to add too it soon..Thanks for all the hard work. :tank: :ban:
 
why would I be able to open 192.168.xxx.xxx:8080/console but not open hostname:8080/console? I thought I was losing my mind trying to use the address that was displayed after start up, then I decided to try the ip instead and it worked.

This will be because your network setup isn't working 100% perfectly to assign a hostname to the DNS. You'll need to research this yourself I'm afraid.
It still seems that the UI has some issues for me. Is there a preferred browser? I plan on using this as a client server type setup. On a windows machine I have a touch screen that I plan on using with 2 monitors. 1 for controlling SBE and one for music and watching TV.

Do you have any screenshots? What browser are you using? Any modern browser should work. It's a very simple layout.
 
All right! is now operational!
Thanks.

A couple of things:

'In the auto button is a "set point", I guess that is the target temperature. But in the manual button no this. In manual button to put the target temperature I need to configure a step mash. Is there any difference being step mash and set point, or the latter is redundant?

-I've installed owfs and activated owserver service, but not how to use it. I have seen that there is an option to launch "java -jar Elsinore.jar -o" but does not work. What are the instructions for using owfs? I just do not really understand how it works. How I view graphs?.

Now that works for me, I will do a test tonight with water.
Later I report.
 
'In the auto button is a "set point", I guess that is the target temperature.

This is full PID control, you'll need to set the P, I, and D values. I recommend researching them, there's no automation for tuning at this point because I don't full understand how to do it :)

It will hold the vessel at the set point value.

I've used the standard PID terms for the Auto mode, so they should match with any research you do.

But in the manual button no this. In manual button to put the target temperature I need to configure a step mash. Is there any difference being step mash and set point, or the latter is redundant?

Manual is pure cycle management, the cycle is a percentage, and the time is how long each cycle takes (again, standard PIDs do the same thing)

So if you set an 80% Duty Cycle, with 10 second Cycle Time, the output will be on for 8 seconds, off for 2 seconds, and this will repeat. There's no target temperature here.

If you want to use the mash control, you need to tune the PID, then activate the PID in Auto mode, you can ignore the set point, then click "Activate" under the mash steps, this will automate the temperature settings for the mash control.

-I've installed owfs and activated owserver service, but not how to use it. I have seen that there is an option to launch "java -jar Elsinore.jar -o" but does not work. What are the instructions for using owfs? I just do not really understand how it works.

OWFS is only needed if you use non-temperature probes, I have analogue inputs on the one wire bus that I use for volume measurement (I've got to do a write up on it when I recalibrate).
How I view graphs?

To view the graphs you just need to click on the large temperature dial, I'll probably change it to a more obvious icon.
 
Hi, thanks for the clarifications.

I've done the first water test.

The settings that I used:

Auto

set point 65
duty time 2
p 44
i 165
d 4

The problem is that has not stopped heating or at 65 or at 70 ° C and the temperature continued ascending. I stop manually in 80ºC

I have tried also pressed "activate" step mash (in 70ºC), but neither the heating is stopped.

Some point control is not stopping the heat resistance.

It may be that the top temperature internally in the server, is being considered in F instead of being translated into C.
It could also be something to run as "launch.sh -i".

To view the graphs you just need to click on the large temperature dial, I'll probably change it to a more obvious icon.

Ooops. Had not seen that. :confused:

Could it be that in addition to the graphics work in separate page as now, you can add a setting to add a graphic in the main frame (such as pumps or timers are added) with all inputs activated. (The graph would go to the right of the current meters, or below)?
 
Your PID values are way off...

P 44 means "44C/minute"

I'll test out the celsius later this week, there may be some incorrect logic.

I recommend focusing on a P value first, if you rise up by 1C per minute at 100% duty cycle, that's what the P value should be.
 
The problem with adding the graphs in the main UI is it makes it look cluttered. I could make it a option when in edit mode.
 
Your PID values are way off...

P 44 means "44C/minute"

I'll test out the celsius later this week, there may be some incorrect logic.

I recommend focusing on a P value first, if you rise up by 1C per minute at 100% duty cycle, that's what the P value should be.

Ok.
I change P value to 1.
¿Any suggest for P,I,D testing values, for use with 10 galons init kettle?

This night I try again with new P value.

The problem with adding the graphs in the main UI is it makes it look cluttered. I could make it a option when in edit mode.

Yes.'s It. Put an option in edit mode. To make it optional.

Greetings
 
Ok.
I change P value to 1.
¿Any suggest for P,I,D testing values, for use with 10 galons init kettle?

This night I try again with new P value.



Actually, I think it's the number of seconds to increase the volume by one degree. So you'll need to tune that first.

When you have P tuned so that it's hovering around the target temperature, you can start raising I until it gets closer, then D so it's even closer.

There's a lot more indepth you can research to run math to work out the numbers, but it's beyond my knowledge.

Also, your exact values will be different to other people unless you have exactly the same setup.
 
Hello. This night I make a new test.
I set point to 28ºC (28ºC=82ºF).
I have waited if stopped to 28 or 82 but that points has arrived and has not stopped. At the end I stopped at 95ºC, but the system was still giving power to the resistance.
 


Set I and D to 0 to begin with, focus on P first.

Edit: D isn't really used 99% of the time, so I suspect that's the issue. I think it's normally a really small value, but it's easy to get this confused.

I'm going to add help to all the inputs.
 
I've embedded the graphs in the main UI, there's now a "Show Graph" button for each of the temperatures, and when you click it, it will show you a small version of the main graph, clicking the graph itself will open the full graph in a new tab.

I'm working on context help now.
 
Very intriguing... Thanks for your hard work Doug! You might have just cost me another control panel build.. :)

IMG_1633.jpg
 
Hello.
I've done another test with the values​​:
-set point 50
-Duty time 2
-p 1
-i 0
d 0

Everything runs very slow. Something that directly takes about 3 minutes with this setup takes more than half an hour.

The temperature curve rises moderately, and then becomes very slow, and never finishes to reach the target temperature. Spending never ends 48.5 degrees.

The curve of duty, is decreasing very slowly, when it should be the opposite. Should rise quickly, and when near the target temperature, and grow very slowly, to maintain it.

Under the graph to see the times and curves.

capt.jpg
 
OK, this is where you need to start tuning the values, increase the P value until it starts to work much faster and osscilates around the target temperature. Then you can tune the I value.

It's not very likely that you'll need to tune the D value at all.
 
Hello. This afternoon I made ​​a battery of tests.

1 / With I = 0 and D = 0 constants, I climbed slowly up the value of P 15.
Then I dropped it to 12, because 15 was too much inertia and it passed by the target temperature.

2 / P = 12 and D = 0 constants, I have increased the value of I. The problem is that when I> 0 duty cycle is at 100% and does not stop at the target temperature. It is impossible put I to 1 or higher.

3 / P = 12 and I = 0 constants, I varied the value of D. I put 1, then 10 and then 100. I have not noticed any change. It was always -0.5ºC target temperature. I can not see changes from P = 12 I = 0 D = 0.
Then I put d = 1000 and there seem passed between 1 and 2 degrees of the target temperature. As if it were increased very little by little, almost imperceptible to + 1.5ªC target temperature.

I guess with this parameter (D) is regulated to stay closer to the target temperature, is below or above that if we put a very high value or low value. In my tests if D = 100 is stable at -0.5 ° C of the target temperature, and if D = 1000 is stable at +1.5 degrees of the target temperature.

4 / With P = 12 and D = 1000 constants, if I put I = 1 again losing control, and does not stop at the target temperature, and must be stopped manually.

Conclusions for the test, with about 1 liter of water, and 10 minutes maximum time tests:


-The ideal value of P should be between 10 and 15, With 12 seems to be going well, but it seems that there is some inertia. We will have to do more tests.

-the ideal value of D would be between 100 and 1000. At 100 is -0.5 ° C and 1000 is + 1.5 ° C over target temperature. Probably a good value is 250 or 300.

-The value of I can not be greater than 0. If set> 0 does not stop at the target temperature. There's probably a bug in the code this variable.

Is pending reach to ideal values ​​in next tests. Once achieved ideal values ​​may make tests of long-term stability (over 40-50 minutes).

(Sorry if I repeat myself, but it is to be understood well with you, because my English is weak).

Greetings.
 
So a few things.

You're using 1L of water, are you brewing with 1L of water? If not, you're going to need to calibrate with the total amount of water that you'll be using, there's going to be a different thermal mass and thermal intertia with different sized batches.

And you can use decimals, and negative numbers it all depends on your setup and how the math works out.

99% of systems use PI only values, they rarely use D.

This is called tuning, your numbers will not be the same as my numbers (well, I know they're not) and everyone with a different setup will have them.
 
Update! NLS Support!

When you start elsinore you'll see an extra output line:

Code:
INFO: Debug System property: null
Language: en_US
Server started, kill to stop.

The "Language" line should match your system language. For me, I have an English United States system.

If you want to provide translations for your language, you'll just need to send me a copy of:

https://github.com/DougEdey/SB_Elsi...5/src/com/sb/elsinore/nls/messages.properties

With the translations and the language line.

If you want to test it yourself, set your system up to build Elsinore, which should be as simple as importing the project to Eclipse (since that's what I use).

Then create a copy of src/com/sb/elsinore/nls/messages.properties but change the name to almost match your language, just change the _ to a -. i.e. en_US becomes en-US.

Then create the matching file: src/com/sb/elsinore/nls/messages_<language_output>.properties. for my system it would be src/com/sb/elsinore/nls/messages_en-US.properties
 
Hello.
I used a liter of water to learn and PID ready. Yesterday I made more than 20 tests, and could not be emptied twenty or thirty liters per two or three tests. This is the first step. Once I mastered the process of tuning, I will now do it in real conditions (30 liters).

I will use decimal value for "I" in the next tests. Anyway I find it strange that it can not put 1 or higher. All calibrations examples I've seen in the internet had a "I" value greater than 0.

I understand that the tunning numbers are not the same as those of others, but to explain the process with data from real test can help those who want to learn to tune. I really would have helped a lot if I had seen before something similar to understand the system faster.

I do not think that is detrimental we post our settings as it could provide knowledge and experience.

As I can will perform the translation. I hope to have soon.
 
I understand that the tunning numbers are not the same as those of others, but to explain the process with data from real test can help those who want to learn to tune. I really would have helped a lot if I had seen before something similar to understand the system faster.

I do not think that is detrimental we post our settings as it could provide knowledge and experience.

That's fine, I just want to ensure people don't start plugging in random numbers to their system.

I'll double check the math, but it should be sound. I've not heard of anyone else with an issue though.

Stuff like the tuning may be easier to do on a build thread, so you can show off your system at the same time and it makes it easier to find.
 
Correct suggestion. When finished I will open a thread. So do not overload this, and can contribute experiences.

Check the mail, just send translation.
 
castreixanas: I've updated the PID Calculations in a seperate branch.

Can you try running:

Code:
git fetch
git checkout new_pid_calc

Then run Elsinore and see if the PID calculations work better? I'm not able to test until the weekend at the earliest. I did a sanity check and used the settings you tried originally (where it was hitting 40% output) and it went straight to 100%
 
OK, spanish translation is added, it looks like it "works" I have no idea if I'm swearing at any Spanish users though :)

I've also merged everything to master after more testing tonight.
 
Hello.
All right!

Now can put the parameter "I" greater than 0!
I tried with 1 and then 10 and it works well. When it reaches the target temperature stops.

Now I have to do tests to calibrate more tightly, but what good is that already works well.

The translation is also good. :mug:
Maybe a couple of small details. But let me a few days to think those words better.

Following a suggestion:

Can you put the legend of the graphic to the left instead of right? (right is where the temp lines are updated and legend blocked view the lines)
In the large graph, could quit the small circles of the nodes? (this cluttering the graph and can not see the clean lines (it is sometimes difficult to see how many degrees is the line).


Is possible that check for updates option could be put into edit mode and not leave in the lock mode? (this for more clear work screen). And so the option of selecting the logo file, could appear only in edit mode?

And one last suggestion: as you can see from the picture I have two probes and mark different temperatures, despite being together in testing. Can you put a text field in the configuration of each probe (where name options, GPIO, etc) which can adjust the temperature?

For example if I have two probes, and get stuck and also hit a good thermometer that is calibrated, and take the temperature of the three:
If I have Probe 1 = 45ºC, probe 2 = 46,3ºC and good calibration thermometer= 46 °. It would configuration probe1= + 1 , and configuration Probe2 = -0.3 °. So would the two probes calibrated exactly. The default value of the field calibration would be 0.

With this program would be a highly polished.

grafbolas.jpg


sugselsinore.jpg
 
Can you put the legend of the graphic to the left instead of right? (right is where the temp lines are updated and legend blocked view the lines)
In the large graph, could quit the small circles of the nodes? (this cluttering the graph and can not see the clean lines (it is sometimes difficult to see how many degrees is the line).


Is possible that check for updates option could be put into edit mode and not leave in the lock mode? (this for more clear work screen). And so the option of selecting the logo file, could appear only in edit mode?

And one last suggestion: as you can see from the picture I have two probes and mark different temperatures, despite being together in testing. Can you put a text field in the configuration of each probe (where name options, GPIO, etc) which can adjust the temperature?

For example if I have two probes, and get stuck and also hit a good thermometer that is calibrated, and take the temperature of the three:
If I have Probe 1 = 45ºC, probe 2 = 46,3ºC and good calibration thermometer= 46 °. It would configuration probe1= + 1 , and configuration Probe2 = -0.3 °. So would the two probes calibrated exactly. The default value of the field calibration would be 0.

With this program would be a highly polished.

Great suggestions, and they're all done and pushed.

There's a couple more translations to do, at the bottom of the files, you'll be able to tell which ones are missing because in the web UI they'll either be surrounded by [] or a really stupidly long string.

Oh, and with "Do not show decimal zeroes" in your image, do you mean they should be shown?
 
...

Oh, and with "Do not show decimal zeroes" in your image, do you mean they should be shown?


Sorry, I have not explained well.
When the decimal places are xxx.00, zeros are not displayed. That is, the mask is 000.nn. To be zeros should be 000.00.
In the example capture it would be 029.00. But appears only 029.
Anyway to ºC numbering could be three positions, two for grades and one for the tenth. With tens of degrees is sufficient because the probes are not accurate. The mask could be n00.0 in degrees Celsius. (in example 29.0)
(n=show number, but not 0 and 0=show all numbers)

Tomorrow I look translations.
¿same file message.properties (2 days old)?
 
The links on the github page for "Setup Instructions" are not working for me. It opens a page with the following message:
"Sorry this page does not exist =("
 
DougEdey you are my new hero! Maybe I missed it but do you or are you planning on supporting liquid volume readings?

I can't wait to deploy this tonight on a BBB working towards replacing my Brewtroller...
 
Hey Doug, I had a question. I'm getting set up to read PH from and analog probe using a ado to the pi. Would it be hard to have a PH output?
 
DougEdey you are my new hero! Maybe I missed it but do you or are you planning on supporting liquid volume readings?

I can't wait to deploy this tonight on a BBB working towards replacing my Brewtroller...

Already supported: Main setup, look for "Volume". It uses the same HW setup as brewtroller, though with their shutdown I need to stop linking to them as a reference, and I had the blessing of the person who created the HW & design for Brewtroller (he was looking to make a custom BBB output, but I don't know where that went).
 
Hey Doug, I had a question. I'm getting set up to read PH from and analog probe using a ado to the pi. Would it be hard to have a PH output?


It wouldn't be hard, I just don't have one *hint*, and it'd depend if it's a linear or logarithmic scale. I want to add one, but I don't know where to get them from without paying too much.
 
Back
Top