-
Notifications
You must be signed in to change notification settings - Fork 24
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
Additional HomeAssistant Examples and Testing #45
Comments
This is the configuration for my Dishwasher and CookProcessor. Since not all information is always available, I have defined a default in Bosch Cookit MCC9555DWC (CookProcessor)switch:
- name: "PowerState"
unique_id: "cookprocessor_powerstate_SERIAL"
icon: mdi:pot-mix
state_topic: "homeconnect/cookprocessor/state"
state_off: "Standby"
state_on: "On"
payload_on: '[{"uid":539,"value":2}]'
payload_off: '[{"uid":539,"value":3}]'
command_topic: "homeconnect/cookprocessor/set"
value_template: "{{ value_json.PowerState|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
name: "Bosch Cookit"
manufacturer: "BOSCH"
model: "MCC9555DWC/01"
serial_number: "SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
sensor:
- name: "OperationState"
unique_id: "cookprocessor_operationstate_SERIAL"
icon: mdi:gauge-full
state_topic: "homeconnect/cookprocessor/state"
value_template: "{{ value_json.OperationState|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "ActiveProgram"
unique_id: "cookprocessor_activeprogram_SERIAL"
icon: mdi:pot-mix
state_topic: "homeconnect/cookprocessor/state"
value_template: >
{% set program = '{ "40":"AutomaticProgram", "24":"GuidedProgram", "24577":"ManualProgram", "24578":"Turbo"}'|from_json %}
{{ program[value_json.ActiveProgram|string]|default("None") }}
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "SelectedProgram"
unique_id: "cookprocessor_selectedprogram_SERIAL"
icon: mdi:pot-mix
state_topic: "homeconnect/cookprocessor/state"
value_template: >
{% set program = '{ "40":"AutomaticProgram", "24":"GuidedProgram", "24577":"ManualProgram", "24578":"Turbo"}'|from_json %}
{{ program[value_json.ActiveProgram|string]|default("None") }}
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "CurrentStepRemainingTime"
unique_id: "cookprocessor_currentstepremainingtime_SERIAL"
icon: mdi:progress-clock
unit_of_measurement: s
device_class: duration
state_topic: "homeconnect/cookprocessor/state"
value_template: "{{ value_json.CurrentStepRemainingTime|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "CurrentStepProgress"
unique_id: "cookprocessor_currentstepprogress_SERIAL"
icon: mdi:percent
unit_of_measurement: "%"
state_topic: "homeconnect/cookprocessor/state"
value_template: "{{ value_json.CurrentStepProgress|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "TotalNumberOfSteps"
unique_id: "cookprocessor_totalnumberofsteps_SERIAL"
icon: mdi:playlist-edit
unit_of_measurement: "steps"
state_topic: "homeconnect/cookprocessor/state"
value_template: "{{ value_json.TotalNumberOfSteps|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "CurrentStepNumber"
unique_id: "cookprocessor_currentstepnumber_SERIAL"
icon: mdi:playlist-check
unit_of_measurement: "steps"
state_topic: "homeconnect/cookprocessor/state"
value_template: "{{ value_json.CurrentStepNumber|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "ProgramProgress"
unique_id: "cookprocessor_programprogress_SERIAL"
icon: mdi:percent
unit_of_measurement: "%"
state_topic: "homeconnect/cookprocessor/state"
value_template: "{{ value_json.ProgramProgress|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest
- name: "HeatupProgress"
unique_id: "cookprocessor_heatupprogress_SERIAL"
icon: mdi:thermometer
unit_of_measurement: "%"
state_topic: "homeconnect/cookprocessor/state"
value_template: "{{ value_json.HeatupProgress|default('unavailable') }}"
device:
identifiers: "BOSCH-MCC9555DWC-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/cookprocessor/LWT"
availability_mode: latest Bosch Dishwasher SMV88UX36Eswitch:
- name: "PowerState"
unique_id: "dishwasher_powerstate_SERIAL"
icon: mdi:dishwasher
state_topic: "homeconnect/dishwasher/state"
state_off: "Off"
state_on: "On"
payload_on: '[{"uid":539,"value":2}]'
payload_off: '[{"uid":539,"value":1}]'
command_topic: "homeconnect/dishwasher/set"
value_template: "{{ value_json.PowerState|default('unavailable') }}"
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
name: "Bosch Dishwasher"
manufacturer: "BOSCH"
model: "SMV88UX36E/74"
serial_number: "SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
binary_sensor:
- name: "Door"
unique_id: "dishwasher_door_SERIAL"
state_topic: "homeconnect/dishwasher/state"
value_template: "{{ value_json.DoorState|default('unavailable') }}"
payload_on: "Open"
payload_off: "Closed"
device_class: door
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
- name: "RemoteControlStartAllowed"
unique_id: "dishwasher_remotecontrolstartallowed_SERIAL"
state_topic: "homeconnect/dishwasher/state"
value_template: "{{ value_json.RemoteControlStartAllowed|default('unavailable') }}"
payload_on: true
payload_off: false
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
sensor:
- name: "ActiveProgram"
unique_id: "dishwasher_activeprogram_SERIAL"
icon: mdi:dishwasher
state_topic: "homeconnect/dishwasher/state"
value_template: >
{% set program = '{ "8195":"Auto2", "8196":"Eco50", "8197":"Glas40", "8192":"Intensiv70", "8213":"Kurz60", "8215":"MachineCare", "8202":"NightWash", "8200":"PreRinse", "8199":"Quick45"}'|from_json %}
{{ program[value_json.ActiveProgram|string]|default("None") }}
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
- name: "SelectedProgram"
unique_id: "dishwasher_selectedprogram_SERIAL"
icon: mdi:dishwasher
state_topic: "homeconnect/dishwasher/state"
value_template: >
{% set program = '{ "8195":"Auto2", "8196":"Eco50", "8197":"Glas40", "8192":"Intensiv70", "8213":"Kurz60", "8215":"MachineCare", "8202":"NightWash", "8200":"PreRinse", "8199":"Quick45"}'|from_json %}
{{ program[value_json.SelectedProgram|string]|default("None") }}
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
- name: "ProgramPhase"
unique_id: "dishwasher_programphase_SERIAL"
icon: mdi:gauge-full
state_topic: "homeconnect/dishwasher/state"
value_template: "{{ value_json.ProgramPhase|default('unavailable') }}"
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
- name: "OperationState"
unique_id: "dishwasher_operationstate_SERIAL"
icon: mdi:gauge-full
state_topic: "homeconnect/dishwasher/state"
value_template: "{{ value_json.OperationState|default('unavailable') }}"
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
- name: "ProgramProgress"
unique_id: "dishwasher_programprogress_SERIAL"
icon: mdi:percent
unit_of_measurement: "%"
state_topic: "homeconnect/dishwasher/state"
value_template: "{{ value_json.ProgramProgress|default('unavailable') }}"
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
- name: "RemainingProgramTime"
unique_id: "dishwasher_remainingprogramtime_SERIAL"
icon: mdi:progress-clock
unit_of_measurement: s
device_class: duration
state_topic: "homeconnect/dishwasher/state"
value_template: "{{ value_json.RemainingProgramTime|default('unavailable') }}"
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest
- name: "StartInRelative"
unique_id: "dishwasher_startinrelative_SERIAL"
icon: mdi:timer-play-outline
unit_of_measurement: s
device_class: duration
state_topic: "homeconnect/dishwasher/state"
value_template: "{{ value_json.StartInRelative|default('unavailable') }}"
device:
identifiers: "BOSCH-SMV88UX36E-SERIAL"
availability:
- topic: "homeconnect/LWT"
- topic: "homeconnect/dishwasher/LWT"
availability_mode: latest |
I've added cook processor to wiki and merged in the dishwasher settings as they work for mine and I think they are pretty generic. |
This is my current setup. All sensors, switches, settings etc. are named same as in devices.json so they can be differently named than in official app. Bosch Dishwasher SMU4ECI15S
|
I've added your options into the wiki. @Dis90 thanks :D |
Here's updated SilenceOnDemand switch. It's now only available when dishwasher is running.
And here's binary sensors for diagnostics Details
|
I am currently working on my oven and got some issue. I try to toggle the led light and there are some things in the json:
What i found out so far: When toggling in the official app
|
Hmm, I dont think we've come across any I have a common cooking lighting option (on my hood), which you might want to check for?
If not the properties for e.g.
If you can paste up full |
This is the complete file I see |
Can you post full snippet? Probably need to add a debug option to get more data for new things :D To experiment you probably want to comment out line 265 in First I would just try the some simple options like:
or
If those dont work as its a setting list I wonder if it wants an array of values rather than a single value. e.g.
However thats just a shot in the dark unless we intercept some of the real comms |
I tried:
I created a fork to comment out the mentioned line because i use the home assistant addon. State Json
|
Did you try There is a |
ah looks like i first have to build the docker container to be able to use it with home assistant and local i get click_config_file not found |
@Nailik the debug setting should be in the latest Addon version now so should be an easy update I believe. |
I tested again (debug helped) and
is working - i think last time i had Now i understand better how it works and will post a config file with most/all functionality in a couple of days. |
not working with Oven - HBG7341W1, logs: |
Using HA Addon? The latest version lets you specify the domain suffix which should get you around connection errors. Or alternatively you can manually modify the devices.json to include full hostname/IP. |
Using HA Addon and direct IPs. dishwasher work fine, oven - nope... 2024-05-17 16:46:57.878766 MQTT connection established: 0 Perhaps the problem is that the latest Bosch device models do not support "Local network only" mode and always work through the cloud (no checkbox "Connection to the server" in "Home Connect" application) ? |
@SkyTest-123 the "Local network only" checkbox is not needed. For me even after restricting internet access i can still use the bosch app as it uses the local network. Did you check for any firmware update on your oven? |
I tried turning off internet to oven IP on the router, it doesn’t work. dishwasher work with and without internet. |
Hmm .. which oven do you have? what's the Software version? (you can find it in the official app) Did you activate full remote control? By default it's only set to Manual Remote Control (you have to start it manual on the oven everytime), there is also permanent remote control (you have to only accept it once on the oven) Did you fix the Ip-Adress in the router? |
Oven Bosch HBG7341W1/01 |
Okay so i was on Software Version 4.0 ... and updated to 6.0 now. |
Might be useful to do some packet captures from your router. Could be that model is doing something different, maybe using a different port or something? If you can capture the connection from mobile and the attempted connection from HCPY that would be a good starting point. |
device using port 443 |
Button for starting dishwasher with currently selected program
Select for programs (change programs to what your machine supports)
This program wasn't previously listed 8203 Quick65. There was typo in stop button unique id
Can you change it to wiki dishwasher_stop? |
Oven Bosch HBG7341W1 tested. Work fine. mqtt config (russian translate): Details
|
I have Fridge, Freezer, Hood, and Dishwasher.
Could use example MQTT configurations and testing of:
Coffee Machine
Cook Processor
Cooktop
Oven
Warming Drawer
Cleaning Robot
Dryer
Washer
Washer Dryer
Fridge Freezer
WineCooler
The text was updated successfully, but these errors were encountered: