@jonbur should be easy enough to convert to the coffee machine, the problem I came across was that the smartapp needs a unique mac address. I dont know how to add a second (or spoofed?) network interface to the pi…
You are quite right, SmartThings uses the MAC address that the source IP resolves to in order to work out which DH to route asynchronous messages to. Therefore, if you have two devices using the same architecture (i.e. two kettles or a kettle and a coffee machine proxied via iBrew) they need to appear to SmartThings to come from separate IP/MAC addresses.
Hi, what controls do you have available for the smarter coffee? I would be interested in on/off, number of cups and possibly passing it on to Alexa. How far did you get with the device handler? I’m interested in the coffee machine, I have already set up with iKettle and I’m pleased with it
I’m currently successfully (as I see it) iBrew on a Pi and I get a successfull connection to my coffee maker. I can control it from console and everything.
But when I try to access the web interface, the webserver won’t respond.
I see that the service is up on the port 2080 in netstat, and it states in the console that it is up and running. But when i try to access the website, nothing happens. The web browser just keeps waiting and waiting and waiting.
I’ve verified that my computer can access the port 2080 on the Pi (and there is no FW).
I even can’t access the website locally on the pi through SSH with console browsers like Links. Same thing happens there as a normal browser on a normal computer.
I’ve tried locally both hostname, localhost and 127.0.0.1. On the computer, I’ve tried both IP and hostname.
Just a reminder that if you have the 3rd generation Smarter brand kettle or 2nd generation coffeemaker, they now have an IFTTT channel and you can get indirect integration with SmartThings that way.
I saw that ibrew appeared to let you turn the hot plate on / off. The EU version of the smarter coffee maker only keeps the hot plate on for 40mins vs the US version of 2 hours - so I was hoping to hack something together to extend the time the hot plate is on for
Did anyone get Smarter Coffee working with Smartthings? I’m wondering if the device handler for the iKettle can be modified to request strength/cups/on/off/water level?
Maybe if the coffee machine device handler acted like a dimmable light you could choose number of cups (brightness) and choose coarseness (colour)? Or the other way around? Just an idea, it’s been a long time since I’ve tinkered with smart apps so it might be a job for someone fresher
The start, stop and status commands look like they will work for both iKettle and smarter coffee, so I should be able to just turn on and off the coffee machine.
Maybe I could use ibrew on the Mac and add applescript commands for turn on/off grinder and set number of cups so I don’t break this wonderful handler?
Does anyone have this working with gen1 coffee machine ? my Ibrew server works and I’ve cloned Jonbur’s repo which (I believe) has the extra bits to allow the DTH to talk to the iBrew server
When I toggle the coffee machine device power in ST app (new one) I can see in iBrew logs incoming requests from the ST hub however, the IDE log gives me :
Under a different Smartapp. I think this might be due to the mac routing mentioned but I’ve set the ibrew server mac as B827EBD2E589 which I believe is the correct syntax…
The Hue B Smart was absorbing the incoming response. I ended up removing that smartapp. The MAC syntax is correct.
I have an new device handler for the Smarter Gen1 coffee machine to handle switching on and monitoring the water level (Currently shown on a thermometer til I figure out something better!) It’s based heavily on Jonbur’s DTH (cheers Jon!) but doesn’t require his clone of iBrew, it works with Tristan’s original code (Mostly because I couldn’t figure out how to write the callbacks for the coffee machine