I recently purchased the Intellifire wifi module for my fireplace so that we can sit on the couch and tell Alexa to turn on / off the fireplace. I did a little digging around and I’m unable as of yet to figure out how to capture the Auth token needed to actually control the fireplace - but after decomposing the android App - I found a rest endpoint to get data. As such I’ve put together a set of sensors from the fireplace:
The IP of the fireplace in my case is 192.168.1.80
sensor:
- platform: rest
name: intellifire
resource: http://192.168.1.80/poll
json_attributes:
- timer
- timeremaining
- setpoint
- serial
- pilot
- fanspeed
- hot
- temperature
- fanspeed
- thermostat
value_template: "{% if value_json.power == 1 %}On{%- else -%}Off{%- endif -%}"
- platform: template
sensors:
fireplace_on_off:
friendly_name: "On Off"
value_template: "{{ states('sensor.intellifire') }}"
fireplace_is_hot:
friendly_name: "Hot"
value_template: "{{ is_state_attr('sensor.intellifire', 'hot', 1) }}"
fireplace_fan_speed:
friendly_name: "Fan Speed"
value_template: "{{ state_attr('sensor.intellifire', 'fanspeed') }}"
fireplace_temperature:
friendly_name: "Temperature"
value_template: "{% set t = state_attr('sensor.intellifire', 'temperature') | float %} {{((t) * 9/5) + 32 }}"
unit_of_measurement: 'F'
fireplace_temperature_c:
friendly_name: "Temperature"
value_template: "{{ state_attr('sensor.intellifire', 'temperature') }}"
unit_of_measurement: 'C'
fireplace_timer_on:
friendly_name: "Timer Enabled"
value_template: "{{ is_state_attr('sensor.intellifire', 'timer', 1) }}"
fireplace_time_remaining:
friendly_name: "Time Remaining"
value_template: "{{ state_attr('sensor.intellifire', 'timeremaining') }}"
I may try to write an integration in the future - or if somebody who is more skilled wants to walk me through capturing the auth-token flow I could probably write some control logic. The vendor didn’t seem to happy to assist in any way whatsoever