I think I managed to work around this using an older version of Alpine for the add-on, because with the latest tag the older (python2) versions of tornado are no longer supported and that caused the error.
So in the Dockerfile of the add-on I’ve changed FROM $BUILD_FROM
to FROM alpine:3.9
I’ve got the add-on installed now, but can’t get it to work. The logs and the webui both say “No coffee machine or kettle found”. Is there something I need to do to pair or connect the add-on to the kettle.
Edit:
Never mind - turns out I have a v3 kettle. I was sure I had a v2. I might see if I can do some magic with the Google home integration instead.
I don’t seem to be able to add any of the three repos mentioned (leinich, ManInSoHo, M4D1NG3R) via HACS 1.6.0 on home assistant 0.116.2 running on Pi4. When I add any of them as a custom repo, I get :
“Repostitory structure for master is not compliant”
I’ve previously had iBrew working on my old Pi with my 1st gen coffee machine.
You don’t add the repos via HACS you add them via add-on store under supervisor (I’m a bit new to HA and didn’t realise there are 2 places to add custom repos)
Hi,
I was wondering if someone could help me, I am a complete noob when it comes to all this stuff but am trying my best to learn. I have got a smarter coffee machine (version 1) and I would really like to be able to control it in home assistant please could someone post upto date step by step instructions for doing this? any advice would be very much appreciated.
So, I’m running iBrew Current version: 0.0.9 Test on iBrews on HASSIO on an RPI4? Is this platform supported? When I install and launch the addon, I get the following error…
[Info] Starting iBrew docker!
[INFO] Startting ibrew Web
2021-01-13 22:34:06,377 [INFO] GUI Started
Exception in thread 9dd13c5f-ibrew:
Traceback (most recent call last):
File “/usr/local/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/home/app/iBrew/source/iBrewBonjour.py”, line 49, in run
callBack = self.register_callback)
File “/home/app/iBrew/source/pybonjour.py”, line 1132, in DNSServiceRegister
None)
File “/home/app/iBrew/source/pybonjour.py”, line 286, in _errcheck
raise cls(result)
BonjourError: (-65537, ‘unknown’)
MacOS & Windows only
No coffee machine or kettle found
No coffee machine or kettle found
2021-01-13 22:34:10,561 [INFO] iBrew: Starting Web Interface & REST API on port 2080
Hello can someone help me? I’ve been trying to integrate my iKettle 2.0 into Home Assistant for 1 week and it doesn’t work. I installed @Tristan79 API and it works. I followed these instructions.
I created 2 files, ibrewcontrol.sh and ibrewstatus.sh and saved them in the /config/scripts/ directory. When I toggle the kettle switch nothing happens. I don’t know what else to do. Please help.
Thank you very much @brewston, that worked fine. I still have one question: Is it possible to specify a temperature before sending a start command? I would like to be able to start the kettle at 90 ° and at 100 °.
Not sure, I tried to simulate the kettle but couldnt get it working. Try playing around with a rest_command that calls one of these (if you have the ssh extention in HA you can probably run them from the shell instead of sticking them in the yaml files)
Status iKettle 2.0 /status
Start heating default /start
Stop heating /stop
Start heating /heat/(temperature)/(keepwarm)
Start heating in formula mode /formula/(temperature)/(keepwarm)
Thank you very much, but I’ve already tried that. Unfortunately, the kettle always starts at 90 °. Maybe someone will answer you who has a kettle. Thank you @brewston
After wasting some more time getting iBrew to work again on my new virtualized setup I decided to pick up an nodejs project of mine to control the kettle/coffemachine.
I fixed the lib to a point where it works fine with the kettle and packaged it all into a hassio addon.
It currently only supports the kettle because I have decommissioned my coffeemaker some time ago.
It needs an mqtt server
It supports mqtt autodiscovery
Just add this to the repos for hassio addons and install the addon. Dont forget to completely fill the config.