I did try to connect to the MQTT broker too when i received my afterburner but then realised there needs to be a add-on created in HA so that HA knows what to listen for form the afterburner.
Ill have a look at my settings and i post a pic of my MQTT settings.
Thanks
Did you get sorted with this, looks to be broker (MQTT) is not set, change core-mosquitto to your home assistant IP or homeassitant.local if hostname is default.
I’ve got my afterburner en-route so researching issues beforehand…
I just got mine working with help from Ray, you need to type your IP address in Broker port 1884 for websocket (default Mosquitto broker settings), my Afterburner settings attached and Home assistant config below. They needed to be added manually as wouldn’t auto discover the sensors/switch… Happy automating
Hi Ashley
Thanks for looking up this info.
Did you just copy the switch and sensor info into the config file.
My Mqtt broker hasn’t detected the heater
Was there any thing else i need to do
Hi Nicko1,
Sorry for the late reply, where is states Afterburner34C224/ in the config you will need to change 34C224/ to your own specific Afterburner…
But here’s another link i’d like to point you to from pturner1989, this show’s a better way now with perfected thermostat option, but again change his 626E9C/ config to your own…
This a great little device from down under to control your cheap Chinese diesel heater - a bummer for the rich who can afford a £1k+ Webasto unit as it does not work with that
I had two problems though. I does not work remotely (http vs https issue) and although I am Ray’s one of the biggest fan, I don’t particularly like the aesthetics of the web page
I agree, the device is amazing and mine is used daily however the interface is not the strongest area, easy to rectify in Home Assistant though as most of the functionality can be lifted and shifted into a nice dashboard.
Looking at this implementation & seem to be hitting a problem that’s out of my league.
I’m Getting Entities I read for some things but also getting an error in the code.
Any thoughts?
My Code in Configuration.yaml
mqtt:
climate:
- name: Van Heating
action_topic: "AfterburnerFF4E3C/sts/RunState"
action_template: >
{% if value in ("0", "1", "6", "7", "8") %}
off
{% elif value in ("10", "12") %}
idle
{% else %}
heating
{% endif %}
current_temperature_topic: "AfterburnerFF4E3C/sts/TempCurrent"
max_temp: 35
min_temp: 8
modes:
- "off"
- "heat"
mode_state_topic: "AfterburnerFF4E3C/sts/Run"
mode_state_template: >
{% if value == "1" %}
heat
{% else %}
off
{% endif %}
mode_command_topic: "AfterburnerFF4E3C/cmd/Run"
mode_command_template: >
{% if value == "heat" %}
1
{% else %}
0
{% endif %}
precision: 0.1
temperature_command_topic: "AfterburnerFF4E3C/cmd/TempDesired"
temperature_state_topic: "AfterburnerFF4E3C/sts/TempDesired"
temp_step: 0.5
sensor:
- name: Afterburner Status
unique_id: afterburner_status
state_topic: "AfterburnerFF4E3C/sts/RunString"
- name: Afterburner Error
unique_id: afterburner_error
state_topic: "AfterburnerFF4E3C/sts/ErrorString"
- name: Afterburner Internal Temperature
unique_id: afterburner_internal_temp
state_topic: "AfterburnerFF4E3C/sts/TempBody"
device_class: temperature
unit_of_measurement: °C
state_class: measurement
- name: Afterburner Consumption (Total)
unique_id: afterburner_consumption
state_topic: "AfterburnerFF4E3C/sts/TotalFuelUsage"
unit_of_measurement: mL
state_class: total_increasing
- name: Afterburner Pump Rate
unique_id: afterburner_pump
state_topic: "AfterburnerFF4E3C/sts/PumpActual"
unit_of_measurement: Hz
device_class: frequency
state_class: measurement
- name: Afterburner Fan Speed
unique_id: afterburner_fan
state_topic: "AfterburnerFF4E3C/sts/FanRPM"
unit_of_measurement: RPM
state_class: measurement
- name: Afterburner Glow Plug
unique_id: afterburner_glowplug
state_topic: "AfterburnerFF4E3C/sts/GlowCurrent"
device_class: current
unit_of_measurement: A
state_class: measurement
Other thing I just found is that if I move the yaml to a different file,
as in mqtt.yaml, and put in an include in configuration.yaml, I don’t see the same error showing in the code editor.
Have it Working now, but it seems to not be receiving a few topics.
The two I can’t get are FuelUsage & FuelRate as seen here.
Have you tried adding them?
Should be noted that currently I have all mine sitting in another file called mtqq.yaml.
I consider that to be irrelevant, as the other 7 entities work & it’s accepted practice what I’ve done with the include.
Edit.
This is my entire mqtt.yaml and its refered to by this in the main config.
For the record its is not running on my main HA instance, it’s on a Test NUC I have that has very little installed.
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Text-to-speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt: !include mqtt.yaml
#mqtt:
climate:
- name: Van Heating
action_topic: "AfterburnerFF4E3C/sts/RunState"
action_template: >
{% if value in ("0", "1", "6", "7", "8") %}
off
{% elif value in ("10", "12") %}
idle
{% else %}
heating
{% endif %}
current_temperature_topic: "AfterburnerFF4E3C/sts/TempCurrent"
max_temp: 35
min_temp: 8
modes:
- "off"
- "heat"
mode_state_topic: "AfterburnerFF4E3C/sts/Run"
mode_state_template: >
{% if value == "1" %}
heat
{% else %}
off
{% endif %}
mode_command_topic: "AfterburnerFF4E3C/cmd/Run"
mode_command_template: >
{% if value == "heat" %}
1
{% else %}
0
{% endif %}
precision: 0.1
temperature_command_topic: "AfterburnerFF4E3C/cmd/TempDesired"
temperature_state_topic: "AfterburnerFF4E3C/sts/TempDesired"
temp_step: 0.5
sensor:
- name: Afterburner Status
unique_id: afterburner_status
state_topic: "AfterburnerFF4E3C/sts/RunString"
- name: Afterburner Error
unique_id: afterburner_error
state_topic: "AfterburnerFF4E3C/sts/ErrorString"
- name: Afterburner Internal Temperature
unique_id: afterburner_internal_temp
state_topic: "AfterburnerFF4E3C/sts/TempBody"
device_class: temperature
unit_of_measurement: °C
state_class: measurement
- name: Afterburner Current Usage
unique_id: afterburner_current_usage
state_topic: “AfterburnerFF4E3C/sts/FuelUsage”
unit_of_measurement: mL
state_class: total_increasing
- name: Afterburner Consumption (Total)
unique_id: afterburner_consumption
state_topic: "AfterburnerFF4E3C/sts/TotalFuelUsage"
unit_of_measurement: mL
state_class: total_increasing
- name: Afterburner Pump Rate
unique_id: afterburner_pump
state_topic: "AfterburnerFF4E3C/sts/PumpActual"
unit_of_measurement: Hz
device_class: frequency
state_class: measurement
- name: Afterburner Fan Speed
unique_id: afterburner_fan
state_topic: "AfterburnerFF4E3C/sts/FanRPM"
unit_of_measurement: RPM
state_class: measurement
- name: Afterburner Glow Plug
unique_id: afterburner_glowplug
state_topic: "AfterburnerFF4E3C/sts/GlowCurrent"
device_class: current
unit_of_measurement: A
state_class: measurement
- name: Afterburner Fuel Rate
unique_id: afterburner_fuelrate
state_topic: “AfterburnerFF4E3C/sts/FuelRate”
# unit_of_measurement:
# state_class:
I agree, if most of the entities are reporting then you should be seeing all. Il send over config shortly I’m out atm. But all config is above in one of my first posts.
The only reason I asked to remove your webpage panel (temporarily) is so afterburner is not hosting http page and broadcasting mqtt at the same time.
Is your afterburner mqtt setup the same as my above post?