Help with SSR expansion board


Hi, I’ve just gotten a Photon based BrewPi and am running it with a Raspberry Pi 2 model B. I can’t get the SSRs to behave as I’d like.

I have designed my set-up around 2 fermentation chambers with heating and cooling in each. Future proofed, I know this is not yet available but wanted to just have to do a software update down the track.

I’ve wired everything up as per the rough wiring diagram attached.

I have the web server up and running and it seems to pick up all devices:

  • 5x temp sensors over OneWire
  • 4x DS2413 over OneWire
  • 4x digital pins

I’ve added the 4 DS2413 devices as “installed devices” with the function “manual actuator” to test my wiring work; this is in the web UI, Maintenance panel->Device Configuration. They are added as:

  • Device slot 0, OneWire address 3A430621000000D0, output A
  • Device slot 1, OneWire address 3A430621000000D0, output B
  • Device slot 2, OneWire address 3AC70621000000E6, output A
  • Device slot 3, OneWire address 3AC70621000000E6, output B

All four of my 240v output lines can be controlled, but not independently. Device slot 0 controls two outputs, device slot 2 controls two outputs and device slots 1 and 3 control nothing. By control I mean toggling On/Off in the Maintenance panel->Device Configuration correctly turns the power on or off.

I did notice the duplicate OneWire addresses but had assumed that the output A vs. B would allow for independent control.

Is there anything in my wiring that is incorrect? Or do I need to configure these DS2413 devices differently using the web UI?

I’m running v0.4.2 of the firmware.


Connecting the BrewPI and Fridge SSR's using only one cable

Hi Bill,

I think this might be caused by a bug in 0.4.2. It is fixed in 0.4.3.
I will am finalizing the firmware release now and will post instructions how to try out the beta release as soon as possible.



Hi Bill,

Beta release is now available. Would love to hear whether that resolves the issue.



Hi Elco,

So it turned out to be user error… I had not paid attention to the label on the two daisy chain ports on the SSR expansion board.

It is probably obvious to most, but to hopefully save anyone making the same mistake, the SSR expansion board can be screwed into the SSR input terminals, or connected via wires to the grey terminals.

Both the left* set of grey terminals and the screw terminals are output A. Make sure you only use one of those, and the right* set of grey terminals. Either of the following combinations is fine, the one I went with put both SSRs on output A of the same OneWire bus.

* Left and right when looking at the top of the expansion board with the RJ12 ports at the bottom.



Thanks for informative post - solved my problem with the pinout.
The problem with screwing the board onto the SSR is it increases the overall height of the SSR which you are probably trying to squeeze into a gap by the compressor out of the way of the evaporator overflow.
Now - if only we could mount it the other way up without reversing the polarity…


@jamesmb , @bill & @Ken_Vejbaek I was hoping to ask some questions for help / support based on my current setup with my brewpi and the additional SSR expansion boards I have if you would be able and willing?
based on this discussion and the Connecting the BrewPI and Fridge SSR’s using only one cable
I think I have missed something, cause I have 4x SSR expansion boards which are daisy chained from the Spark from 1x RJ12 port just like I have the temp BREWPI VALVE CONTROL EXPANSION BOARDs connected (wiring wise) but only 2 show up on the web interface of brewblox for the SSR’s. Is this something any of you could help with? Ill provide pictures and layout if you can - thanks!


I still have to add the valve boards to BrewBlox, they won’t show up yet.


@elco I understand the SSR expansion boards aren’t setup yet for Brewblox that is fine - my current inquiry is try to ensure or verify whether or not the current wiring (prep work) is correct for the SSR’s. So In this picture I am basically showing that I got 1 of the displays to show up on the spark (intentional there is only 1 currently). The cable wiring is correct cause it powers on the additional SSRs as you can see with the green LEDs. Currently there are 3x single wires (red, green & yellow) ran from the spark to the SSR boards the rest are NOT connected in the picture but were before (color matching ends). Basically only the + (purple circles) side is connected and based on the previous posts that i referred to I wanted to know where the - (green arrow) part of the cable should connect too.

Because, currently the spark recognizes 2x DS2413 chips, I am assuming these are the larger boards, not the expansion ones from you store, that I have connected over the RJ12 cables.

Here is the relay board with some labels also for reference.

Currently the NO & C are wired but there is nothing on NC currently and that is where i theorize it should be connected too.

Thanks in advance, I hope this is enough info for what I am asking.


So I think the 2413’s are the SSR expansion boards cause I fixed my cable for them now all 4x show up on the “service page”. Otherwise I do like the interface very much and obviously a lot of work has gone into it and it shows and we really do appreciate all the work you guys have done on this. I’m sure there will continue to be questions and inquiries as we go forward, but so far I am pleased. Any thoughts on the wiring portion? Where would python scripts go for brewblox for it to get readings from? what type of device would you categorize a flow meter as? TIA @elco and team!