-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAML Example for Esphome? #1
Comments
I've tried the below with no success: external_components:
- source: github://xdecock/esphome-jura
components: [jura]
refresh: 1s
uart:
tx_pin: GPIO22
rx_pin: GPIO21
baud_rate: 9600
id: uart_bus
sensor:
- platform: jura
ristretto:
name: "Ristretto Count"
- platform: jura
ristretti:
name: "Ristretti Count"
- platform: jura
espresso:
name: "Espresso Count"
- platform: jura
espressi:
name: "Espressi Count"
- platform: jura
coffee:
name: "Coffee Count"
- platform: jura
double_coffee:
name: "Double Coffee Count"
- platform: jura
powder_coffee:
name: "Powder Coffee Count"
- platform: jura
cappuccino:
name: "Cappuccino Count"
- platform: jura
latte_machiato:
name: "Latte Macchiato Count"
- platform: jura
milk:
name: "Milk Count"
- platform: jura
water:
name: "Water Count"
- platform: jura
cleaning:
name: "Cleaning Status"
- platform: jura
cappuccino_cleaning:
name: "Cappuccino Cleaning Status"
- platform: jura
water_filter:
name: "Water Filter Status"``` |
what jura do you have? i have a J6, and it was a mess to get all the commands, I'd probably need to add a way to provide the mapping |
@xdecock I've got the XJ9, so should be the same commands/structure from what I've gathered. I'm happy to do some testing and provide a PR for anything I discover. The main issue I'm facing right now is just how to get the Esphome portion working as I can't seem to build it properly. Is the YAML example above close to your implementation, or how did you craft yours? |
Impressa J9 here, sorry
Here is my yaml slightly pruned. The tricky part is finding the correct numbers and offset for the counters i initialy implemented a custom uart component, and it was tricky to get the records. |
Thank you, I'll give this a shot and see what I can get working. I saw in your code that you've made some room for stuff like actually pressing buttons/actions and sensors for power, tray, water etc. Is that something you're working on implementing as well, and would you want help discovering those commands? |
no, i got all the commands, but they're exposed as service, i just need to document how you can call them, but i got home assistant automations on those. i call : esphome: coffee_press_coffee (which presses the coffee button) for double coffee you need double call with a 400ms delay) and in my experience a 80s is a good delay after a double coffee to do a quad coffee, but ymmv |
I've been playing around with this for a few weeks now and I've gotten the buttons to work (make a espresso etc), but for the life of me I can't get the sensors/water/tray/number of cups to work with the YAML above. Any chance you could give a pointer on how to call those or check if the YAML you posted above is correct? |
Water and tray i'm not sure i got them right if i remember correctly
there's some register read that provide bits but i never quite got which
bit means what, the counters were ok, but error fields looked from what i
remember as a complex set of combinations and each time inthought i got the
right one i saw nothing change with another set of conditions, i suspect we
can get all internal binary sensors
Le ven. 10 nov. 2023, 14:28, Oakman ***@***.***> a écrit :
… I've been playing around with this for a few weeks now and I've gotten the
buttons to work (make a espresso etc), but for the life of me I can't get
the sensors/water/tray/number of cups to work with the YAML above. Any
chance you could give a pointer on how to call those or check if the YAML
you posted above is correct?
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAME7LCZSW2RK4HIVTHL33YDYTXRAVCNFSM6AAAAAA6OJV2DGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVG4ZDMMRQGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Would it be possible for you to share an example YAML on how to use this? I'm designing a open-source PCB to work inside a Jura with an EPS32 and this would pair perfectly.
The text was updated successfully, but these errors were encountered: