silvia-pi
silvia-pi copied to clipboard
Light doesn't turn on
First of all: thank you for this great project!
But i've encountered the following problem: when I turn on the machine, the light doesn't turn on. Only when I turn on the steamfunction, the light turns on. Seems to be affecting only the light, because the boiler is warming up. Is this a problem, or is this just the way it should work?
And as a result of this, is the only way to check if the temperature is okay, is to acces the dashboard?
Speaking of the dashbaord, is the way to acces the webinterface just go to the ip-address of your raspberry pi?
Thanks in advance for helping out
There should be an indicator light on the relay, does that turn on and off?
No, that doesn't turn on
I've got the MAX 6675 module in stead of the MAX3185. Does this causes the problem? I can upload pictures if you like?
Can you please indicate where we go wrong? You help is much appreciated
I still hope you have some time to leave a comment, because this whole project is no on hold cause of the relay that doesn't turn on.
Thanks in advance
Can you post a picture showing the relay and the pi clearly showing which pins it's connected to? I can then share some shell commands you can try to see if we can get the lights to turn on and off.

I've connected the pins, hopefully done correctly, exactly as you prescribed it. Perhaps good to mention that I've used a pt100 sensor, and, already stated above, the max6675 amplifier. If you need more info, I can provide that.
I’m also having a similar problem. My temp sensor is working but when the temp hits the threshold it doesn’t trigger the relay. At first I thought the relay may be under powered 5v but I tried with a logic converter and still nothing.
I have measured the pins (26) using a multimeter and the voltage never drops to switch off the relay even when the temperature is reached. Any ideas. Thanks very much.
Can you try wiring it as seen here: https://i.imgur.com/TPqJUAM.jpg This image shows the pins that the relay should be connected to, be sure you have the orientation of board correct: https://imgur.com/a/ttWtOmE
This album shows more pictures of how I have mine wired: https://imgur.com/a/3WLVt

Hello, I have wired mine like this. I can get the web server to read my temps on :8080 but the pi doesn't switch off the relay. I have tried using different pins from 26 but still nothing. Will it matter that I am using a MAX6675 Breakout board?
Adam, move the purple wire next to the white wire and give that a try.
Will I have to change the config to pin 37? Thanks.
On Tue, 30 Oct 2018 at 20:24, Bryce Thomas [email protected] wrote:
Adam, move the purple wire next to the white wire and give that a try.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/brycesub/silvia-pi/issues/21#issuecomment-434456033, or mute the thread https://github.com/notifications/unsubscribe-auth/AoViJfwsJlMPglzBinuY-ZPIA9tpoTz5ks5uqLWDgaJpZM4W2NgM .
Adam, set he_pin = 26 in config.py. There are 2 different numbering schemes for the pinout.
Hi,
As you can see in the enclosed picture, I've followed your circuit diagram, which only denotes gpio numbers and did a conversion so I knew to which numbers on the pi zero w boards it corresponded. Also added outputs, so I'm curious which wires I've connected wrong
I can't really see where your white and orange wire go into.. 17? 21?
And I guess that my 11 and 37 are wrong then. But which should be connected to whom?
@rwr88 There are 2 different pinout numbering schemes. There's the physical pinout (which you have numbered in your picture), and there's the BCM pinout (how pins are connected to the SoC). I think this is where some of the confusion is coming. The RPis all have the same physical and BCM pinouts, so there shouldn't be a difference between the Pi2 Pi3, and PiZ's.
he_pin = 26 in the config.py refers to the BCM pin # used to turn on/off the relay. In my setup I use BCM pin 26 which corresponds to physical pin 37. The ground for my relay is physical pin 39.
For your breakout board to Pi: Gnd to Pi Physical Pin 20 (ground) VCC to Pi Physical Pin 17 (3v) SO to Pi Physical Pin 21 (MISO) SCK to Pi Physical Pin 23 (SCLK) CS to Pi Physical Pin 24 (CS0)
Still didn't manage to pull it off. I think I've connected it all properly. But the relay still doesn't turn on. Thing is, when installing the RPI, the following command did nothing. It just went to the next line. Can this be the reason? Also I can't even access the pi the webserver. The only thing you have to do is go to the IP-adress of your RPI with :8080 behind it, right?
sudo bash -c 'echo "dtparam=spi=on" >> /boot/
The full command is: sudo bash -c 'echo "dtparam=spi=on" >> /boot/config.txt' Run that, reboot and then try the setup again: sudo /root/silvia-pi/setup.sh
Then try hitting the raspberry pi http://
Yeah! I think I've successfully did the commands via putty. The relay is on.
But still not getting any response for the http://:8080. I'm on the same WiFi network. I've checked the IP-adress with sudo ifconfig... What am I doing wrong?
Try this: cd /root/silvia-pi ./silvia-pi.py See if that runs (or doesn't), and then if you could upload the .log files in /root/silvia-pi i can take a look. If you can't hit the web interface it's likely the program isn't running at all which would explain why you aren't seeing the relay turn on at all.
I will try this tonight. The relay is now continually on. What should be normal behaviour? On and off?
I've encountered another problem - although, perhaps these are connected - that the water that is flowing out of the group head is way to hot. It's steam.
Is this perhaps the same as issue #18? If I could access the webapi I can check if the basic is always 20F off. I haven't used any thermal paste, so maybe this is causes this temperature.
Tried this: cd /root/silvia-pi But only got: you're not authorized..
So I thought maybe I didn't clone the code not to the root folder, but when I tried that it stated that the directory already existed and isn't empty .
run: sudo su - Then run the commands I pasted previously.

It worked with sudo su -, but I don't know how i should upload logfiles. I tried cp -R ./silvia-pi.py /root/silvia-pi, but didn't succeed. Is the screenshot enough, or do I need to upload the logging?
"avgtemp=32" i.e. 0C Looks like your thermocouple isn't connected correctly or the thermocouple brekout board isn't connected to the pi properly.
So, checked everything again, and I think I've made a mistake connecting the RPI. But it seems that the temperature won't reach the desired temperature. The highest temperature i've seen was 156F. In the printscreen you can even see it has declined to 149F. I haven't put any thermal compound on on the boiler/thermocouple, so I will try that tomorrow.

