Intellifire (Wifi Fireplace Module) - Hearth and Home

I would love it and wish that I could help. I’ve never been able to get the HA complication to work and would welcome a cloud based HACS option.

HACS shouldn’t be too hard to maintain. You could even do development on the integration out of the repository used for HACS.
Just note that you can’t include it in the default repository list (so that it can be found from within HACS), as HACS does not allow beta/development versions of integrations in HACS.
People would have to add it as a custom repository, which is just a few clicks.

So I got VERY sidetracked getting the tempest weatherflow integration into core today. I’ll need a breather and then I’ll get back to this guy here :slight_smile:

1 Like

As someone who ALSO has a weather flow, thank you for your efforts!

Ok so I pushed some code to Hacs today which may or may not.

The main issue is both intellifire and the hacs one use the same backing lib - but vastly different versions. You may need to uninstall the intellifire first before testing the HACS.

This is very much Work In Progress … but - I did want to try to test some of the cloud stuff I’ve been playing with

Added an options flow - but I dont think everything is actually working yet btw
image

And you can reconfigure:

image

For dev purposes there are switches that probably dont work :slight_smile:

Okay I am able to install fine and it detects my 3 fireplaces fine. Main branch intellifire was previously uninstalled (it actually hasn’t been installed for months as I could never get it to work). I installed and successfully entered username/password and checked the 2 cloud options. Choosing “flame” or “lights” had no effect. Not sure where the error is at. The Intellifire app on my phone is still working fine.

Are you using cloud or local mode? Do you know how to access the logs?

Always using cloud mode as previously discussed. The logs look okay but I noticed that I only added one fireplace to test and the IP address it has under the entity detail is the IP address of a different fireplace.

Edit: Now it appears hung as I deleted the integration I did and rebooted HA but that integration is still showing up and won’t load so not sure how to reset to fresh for the HACS integration.

Also, if I try to add the other 2 fireplaces, it errors out with “invalid flow specified”

Waiting and then re-adding the 3 back eventually “takes” but none work and even though they are essentially identical fireplaces, the entities are different (see attached). More importantly, under Diagnostic all three have the same IP address.


Did this work with the old version?

I mean it looks like it should use the serial number of each device to make a unique id — but only having one fireplace … I can’t know for sure
image

Oh I think I have an idea … but I’m not 100% sure. unset would mean it didn’t get a read on the device yet to pull its serial number - and thats why they stepped on each other…

AND/OR → The cloud version doesn’t actually have a serial number … this is the cloud data:

{
  "timestamp": 1696257667,
  "name": "Fireplace",
  "temperature": "19",
  "battery": "0",
  "pilot": "0",
  "light": "0",
  "height": "4",
  "fanspeed": "0",
  "hot": "0",
  "power": "0",
  "schedule_enable": "0",
  "thermostat": "0",
  "setpoint": "0",
  "timer": "0",
  "timeremaining": "0",
  "prepurge": "0",
  "remote_downtime": "0",
  "remote_uptime": "184",
  "remote_connection_quality": "104656",
  "ecm_latency": "1",
  "ipv4_address": "192.168.1.69",
  "errors": [],
  "feature_light": "0",
  "feature_thermostat": "1",
  "power_vent": "0",
  "feature_fan": "1",
  "firmware_version": "0x00030200",
  "firmware_version_string": "0.3.2+hw2",
  "brand": "H&G"
}

Dude… nice bug find! … I’ll have to figure something else out I guess… maybe I can work off the IP

Local data does have the IP

{
  "name": "",
  "serial": "D9E2B3A8F7C6D5A1B9E2A3F8C7D6B2A",
  "temperature": 19,
  "battery": 0,
  "pilot": 0,
  "light": 0,
  "height": 4,
  "fanspeed": 0,
  "hot": 0,
  "power": 0,
  "thermostat": 0,
  "setpoint": 0,
  "timer": 0,
  "timeremaining": 0,
  "prepurge": 0,
  "feature_light": 0,
  "feature_thermostat": 1,
  "power_vent": 0,
  "feature_fan": 1,
  "errors": [],
  "fw_version": "0x00030200",
  "fw_ver_str": "0.3.2+hw2",
  "downtime": 0,
  "uptime": 196,
  "connection_quality": 113609,
  "ecm_latency": 0,
  "ipv4_address": "192.168.1.69"
}

I have never gotten the Intellifire integration to work on any fireplace in my system. That’s why I’ve been asking about the HACS cloud version. As far as I can tell, your HACS version seems to “think” it’s correctly sending a signal (ie light or flame) but nothing happens on the fireplace side.

Can you pull up the web inspector?

http://iftapi.net/webaccess/user.html

Login with your credentials and control the fireplace from there? I’m pretty sure this is the exact same interface the app uses. And if that works and/or you navigate to the fireplace - and mess with it through the webpage.

Does your version even read the fireplace (btw I pushed an update when your HACS refreshes you can pull it down)

Web inspector works and correctly identifies the IP address.

I mean can you use the tool to power on/off your fireplace? - if you can through the web it should work for you via the cloud api.

If you are skilled you can directly run the python lib with test scripts … and if you’re insane I think you can pull curl commands off of the web inspector to run locally

Yes, the web inspector works to control the fireplace and also correctly identifies the IP address. I’d prefer not to drive myself crazy trying to cobble something together that is out of my wheelhouse. But if we cannot get the HACS working and if the Intellifire core never gets updated then I may tackle that. Again, thanks for all the work you’ve put into this.

I you want to re-try hacs today see if it works any better… I did push that change you’ll have to remove everything and re-add it I think. I’m just taking the code that is in a draft PR for core and moving it into hacs… so if we get HACS good hopefully that will help with core

Yes I am happy to help troubleshoot this. I removed the Intellifire HACS download and rebooted. The core Intellifire still comes up as finding my 3 fireplaces. I want to make sure I’m doing this right before redownloading HACS version. Is there anything I need to do to remove or deactivate the core version (again, I don’t have anything configured but the fireplaces are showing up as discovered)?

I removed Intellifire HACS, rebooted and downloaded it. Unfortunately, I can’t see or find it. Not sure what I’m doing wrong.

Edit: it’s not showing up under integrations in HA. When I downloaded your first version, it showed up as Intellifire HACS.

As an aside, when I used main and clicked on the link for th web inspector it never worked. Makes me wonder if the incorrect IP address parsing is breaking local IP control.

Here’s the error in logs for the current version:

2023-10-20 06:25:39.683 ERROR (SyncWorker_3) [homeassistant.loader] The custom integration ‘intellifire_hacs’ does not have a version key in the manifest file and was blocked from loading. See Custom integration changes | Home Assistant Developer Docs for more details