Finally hacked up my wireless web-connected timer

Tampers, Triple Baskets, Bottomless PFs, Temp Measuring Devices, Barista Tools, other Coffee Widgets
Post Reply
tofergregg
Freeze Dried
Posts: 2
Joined: Sat Apr 19, 2014 1:28 pm

Finally hacked up my wireless web-connected timer

Post by tofergregg » Tue May 27, 2014 6:59 pm

Saw a couple of posts here about hacking the S1 with a non-standard timer, e.g,

http://www.s1cafe.com/viewtopic.php?f=3 ... all#p21953

I decided that it wouldn't be too hard to do this with a Raspberry Pi and a bit of soldier and wires. After a couple of weeks of research and getting my hands dirty, I finally got it all together. I wanted to be able to tell if the machine was on or off, and whether the steam boiler was on or off. A future mod might involve seeing the current temperature, but that might be overboard...

Here are the pics:

http://imgur.com/a/JUAjG

The web site pic:
Image

Cheers!
p.s. Just found another RasPi build here, too:
viewtopic.php?f=34&t=1911&p=22865&hilit ... man#p22865

User avatar
chas
Vivaldi Dreamer
Posts: 2773
Joined: Wed Jun 02, 2004 11:52 pm
Location: Central Maryland
Contact:

Re: Finally hacked up my wireless web-connected timer

Post by chas » Tue May 27, 2014 7:11 pm

Congratulations. This is the best one yet!
Chas
LM GS/3 & LaSpaziale Dream v 1.23 (US 120V)
Mazzer Kony E, Customized Rocky
Hottop P/B

tofergregg
Freeze Dried
Posts: 2
Joined: Sat Apr 19, 2014 1:28 pm

Re: Finally hacked up my wireless web-connected timer

Post by tofergregg » Tue May 27, 2014 8:15 pm

Thanks! Once I figured out how to open up the controller (thanks to MonkeyK's post I mentioned above), it was a matter of some judicious use of a multimeter and figuring out how to control the buttons. I ended up using an optoisolator that kept the machine's electronics separate from the Raspberry Pi's electronics, so it is relatively safe. The one problem is that I didn't correctly do the math for a resistance for connecting to the ON LED, so it is a bit dimmer than normal. But, seeing as I'm not a fan of the bright flashing green light, this is actually a bit of a bonus! :)

Pryz
Latte
Posts: 24
Joined: Thu Apr 04, 2013 8:34 am
Location: Saskatoon, Sk, Canada

Re: Finally hacked up my wireless web-connected timer

Post by Pryz » Thu Sep 04, 2014 4:31 pm

Awesome. Any chance of you wanting to post detailed instructions. I can likely do this, but detailed instructions are always easier to work from than a picture.
Jeff

Mini Vivaldi II - Rancilio Silvia
Mazzer Super Jolly - Rancilio Rocky

lars
Freeze Dried
Posts: 3
Joined: Thu Mar 26, 2015 7:04 am
Location: Denmark

Re: Finally hacked up my wireless web-connected timer

Post by lars » Fri Mar 27, 2015 4:58 pm

Holy cow!
I had been tinkering with just hooking up to turning it on and off. But this i amazing.
Is there any chance you would share schematics and other findings?

raddude
Latte
Posts: 13
Joined: Fri Oct 06, 2017 6:53 pm
Location: Portland, OR.

Re: Finally hacked up my wireless web-connected timer

Post by raddude » Mon Dec 10, 2018 5:00 pm

Here's the updated information from tofergregg, all credits go to him:

Arduino platform and the code for that is here:

https://github.com/tofergregg/EspressoWemos

The original Raspberry Pi code is here:

https://github.com/tofergregg/EspressoPi

Here's where you can order the bare board:

https://oshpark.com/shared_projects/TAsYDcsG

It appears that he used the WEMOS D1 mini and the Minivialdi shield is built on that. He also added a SD card shield found here:

https://www.amazon.com/ACROBOTIC-ESP826 ... s=wemos+sd

I'll be working on my own mod and will post updated information, including Digikey parts list for folks that venture to build the mod.
If you are familiar with Arduino, that is the way to go. I downloaded the ExpressWemos files, but I needed to add some additional files in Arduino to be able to have the program compile.
Last edited by raddude on Thu Dec 20, 2018 11:19 am, edited 1 time in total.

s1guy
Latte
Posts: 12
Joined: Thu Nov 22, 2018 8:10 am
Location: Minnesota

Re: timer

Post by s1guy » Tue Dec 11, 2018 10:57 pm

I'm undertaking this same project now. I looked at tofergregg's stuff, but I decided to go with a pi zero. They're small, cheap, have built-in wifi, and support for a full web stack.

I now have it rigged together to just power the machine on at fixed times, but I'm going to get some boards spun and a full app built around it in the near future. I'll post details as I get them

raddude
Latte
Posts: 13
Joined: Fri Oct 06, 2017 6:53 pm
Location: Portland, OR.

Re: Finally hacked up my wireless web-connected timer

Post by raddude » Sat Dec 29, 2018 2:52 pm

I tried building the board but I could not get it to work, loading from the SD card was really slow. I changed my approach and used the ESP8266 with the shield relay and used the Blynk app to turn the espresso on. The only problem is that the Blynk app for IOS does not have the eventor widget, only android phones. The Arduino programming is minimal. I can turn the espresso on in the morning and can turn it on and off from anywhere outside my house. I still need to figure out a shield to read the on/off led to determine the espresso status.

s1guy
Latte
Posts: 12
Joined: Thu Nov 22, 2018 8:10 am
Location: Minnesota

Re: Finally hacked up my wireless web-connected timer

Post by s1guy » Thu Jan 03, 2019 2:35 pm

Here is the I/O board I made for my Pi that let's me see the state of the boiler on power leds and remotely hit the boiler and power buttons
s1.png
I currently have it set up so that I can access and control the current machine state over an http api. It alsostores a summary of each power on cycle in firebase.

raddude
Latte
Posts: 13
Joined: Fri Oct 06, 2017 6:53 pm
Location: Portland, OR.

Re: Finally hacked up my wireless web-connected timer

Post by raddude » Fri Jan 04, 2019 12:42 pm

which optoisolators did you use?
Would you mind sharing your raspberry pi zero code?

s1guy
Latte
Posts: 12
Joined: Thu Nov 22, 2018 8:10 am
Location: Minnesota

Re: Finally hacked up my wireless web-connected timer

Post by s1guy » Fri Jan 04, 2019 2:05 pm

I used PC817 isolators: https://www.farnell.com/datasheets/73758.pdf

Here is the code
https://goo.gl/iW7r7f

Here are the boards I used: https://oshpark.com/shared_projects/xM55dRE8
The oshpark ones needed a few mods to work correctly. The schematic should be updated with the latest version.

raddude
Latte
Posts: 13
Joined: Fri Oct 06, 2017 6:53 pm
Location: Portland, OR.

Re: Finally hacked up my wireless web-connected timer

Post by raddude » Fri Jan 04, 2019 5:22 pm

Are the mods needed to the layout or the resistor values?

s1guy
Latte
Posts: 12
Joined: Thu Nov 22, 2018 8:10 am
Location: Minnesota

Re: Finally hacked up my wireless web-connected timer

Post by s1guy » Fri Jan 04, 2019 8:09 pm

They're to the layout. I had some extra parts on there to monitor the shot buttons, but I decided not to use them. There were also some routing errors and I found out that I needed a cap on the one side of the isolator, before that I was getting some erratic readings. I do have a new board done that should have all the fixes, but I haven't ordered any yet.

raddude
Latte
Posts: 13
Joined: Fri Oct 06, 2017 6:53 pm
Location: Portland, OR.

Re: Finally hacked up my wireless web-connected timer

Post by raddude » Fri Jan 04, 2019 10:08 pm

Thank you for the clarification. I’ll wait for the updated layout and order a couple of boards.

s1guy
Latte
Posts: 12
Joined: Thu Nov 22, 2018 8:10 am
Location: Minnesota

Re: Finally hacked up my wireless web-connected timer

Post by s1guy » Sat Jan 05, 2019 8:58 am

Here is the updated board.
https://oshpark.com/shared_projects/dyIzPMhS

I doubt I'll order one for a while as this one is already working. But I can help debug if you get one.

Post Reply

Return to “Accessories”