cmd2jura.ino
is an HTTP gateway for the (serial) Jura service port that runs on an ESP8266.
This allows you to control your Jura coffee maker from a webinterface (power on Machine, make coffee etc.)
It also exposes a simple REST / POST API that can be utilized by Home automaization software like IO Broker, Homie, ITTT etc.
Fork of the awesome work of Hajo Noerenberg
I re-implemented the webinterface, to make it more accessible. No breaking changes to the API, so you can use this as a replacement for the original project.
- Download this repository
- Install the Arduino IDE (if you don't have it already) and open it
- Add the Board files to your Arduino IDE (File -> Settings -> Additional Board Manager URLs)
- Connect ESP8266 board to your computer
- Choose correct board and COM Port
- open
cmd2jura/cmd2jura.ino
in the Arduino IDE - Install WiFiManager as library (Sketch->Libraries->Install from .zip)
- Compile and upload .ino
- Upload Sketch Data (Tools -> ESP8266 Sketch Data Upload)
It uses WiFiManager to setup WiFi, so you have to connect to the JURA
WLAN AP with your mobile phone first.
Once you put in your Wifi Credentials in WifiManager, you should be able access the Webinterface at:
http://jura/
- Connect ESP8266 Board to your Jura coffee makers "Service Port".
If you are using a Wemos D1 mini (or similar) board, connect it up like this:
The API is available at /api
, so http://jura/api
.
It only accepts POST requests, the request body should be the "JURA Command" (f.e. AN:01
).
For a list of commands, check out this awesome repository
The response will be plain text from the JURA serial connection.
user@workstation:~$ curl -d 'AN:01' http://jura/api
ok:
user@workstation:~$ curl -d 'TY:' http://jura/api
ty:E30 MASK 3
user@workstation:~$ curl -d 'RT:10' http://jura/api
rt:33DA01B1000C0640AA1116B301180000000000001E02007100150000000009D5
user@workstation:~$