AC Infinity Bluetooth 69 PRO controllers SUCCESSFUL

I’ve also been working on a HACS integration for AC Infinity UIS wifi controllers. Read only atm, but I’ll be working on getting setting values setup next.

1 Like

I don’t think that works if you’ve got HAOS installed because you can’t get access to it. If you use one of the ssh add-ons, that just opens up a docker shell that’s within HAOS. Anything installed there isn’t seen by the parent.

I think.

Regardless, I tried ssh into it and did a pip install ac-infinity-ble, which appears to have worked (see photo)

but doesn’t actually.

Apologies for an image, there’s no way to copy the text of the terminal output while on my phone).

After rebooting, the HA logs show:

2023-09-09 18:39:36.417 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration ac_infinity: Requirements for ac_infinity not found: ['ac-infinity-ble==0.4.2'].

homeassistant.requirements.RequirementsNotFound: Requirements for ac_infinity not found: ['ac-infinity-ble==0.4.2'].

Since the installation logs in the photo claim to have installed ac-infinity-ble 0.4.2 successfully and the log files say that it’s not installed, I suspect I’m correct about not being able to manually install this.

Do I need a token to connect to the device?

I don’t think so.

Type your AC username and password. It works

What are you referring to? There’s no user name or login for ac infinity controllers that are related to this HA integration that I know of. The phone app doesn’t need any sort of login.

you have to access docker with

docker exec -it homeassistant bash

then run

pip install ac-infinty-ble

youll need to do this everytime you update home assistant as it will remove the packages you manually add

Not to my knowledge with supervised installations:
image

Yeah that’s what I thought. That only works if you installed HA as a docker container. HA provides 3 different approaches to install it and for a Pi they recommend the supervised method. There’s no access to the underlying OS when installed this way, which is great because users can’t screw up the setup and can be assured that it should all just run out of the box. I don’t know what percentage of HA users install it this way but I’d guess it’s the overwhelming majority. Even for us hardcore tech guys it’s still the better way don’t it greatly simplifies matters.

That shouldn’t mean that add-ons and integrations may not be installable. Everything works fine. But it does mean that you can’t manually install or change the underlying os drivers and libraries.

If this integration requires a certain version of ac-infinity-ble then it needs to be installed automatically during setup. Users can’t manually update parts of HA to make it work.

That likely means that hunterjm will need to update his ac-infinity-hacs integration to work with the latest HA.

I thought I should try this again just to be sure. I used the ssh add-on into HA and did the $pip install ac-infinity-ble. It installed correctly (see my photo screenshot in my earlier comment). Then I rebooted, and the system log file shows:

2023-09-10 22:06:09.397 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration ac_infinity: Requirements for ac_infinity not found: ['ac-infinity-ble==0.4.2'].

homeassistant.requirements.RequirementsNotFound: Requirements for ac_infinity not found: ['ac-infinity-ble==0.4.2'].

which shows that ac-infinity-ble 0.4.2 isn’t actually installed. It only installed inside a docker shell not HAOS.

you need to use advanced ssh terminal not standard

not saying manual method is working jus saying you can enter the docker


yea i pulled it over to vscode and cant get it to even use the library dunno why

you need to use advanced ssh terminal not standard

@mikeybatoz

That’s what I use. And that doesn’t gain you entry to the actual OS where HAOS is running. It simply opens an ssh session into a separate docker.

That’s how even the advanced ssh add-on works. My understanding is that the HAOS image that gets installed is Debian with docker installed, and HA runs within a docker container. The advanced ssh terminal creates its own docker container. So when you ssh using it, you’re in a secure container where you can access files, dbus, and a few other things. But you can’t affect HA directly nor the underlying Debian.

I’m assuming that the author of the code is understandably busy /away and hasn’t abandoned it.

Correct.

Yep.

Hence why I asked too, but it sounds as though mikeybatoz isn’t using a Supervised install.

Both the “Terminal & SSH” as well as the “Advanced SSH & Web Terminal” give exactly the same access.

Fixed in 1.03 release

Confirmed it seems to work now for me, many thanks

I have installed it through HACS but get an error when adding a controller.

500 Internal Server Error Server got itself in trouble

Hi there - total noob. Can anybody point me to instructions on how to install this in HACS? I searched but cannot find it.

I’ve seen reference to SSH but not sure where to go after that. Any help is appreciated.

I believe you can go into HACS, then using the 3 dot menu at the top right of the browser, select ‘custom repositories’ then in the ‘Repository’ field, enter

hunterjm / ac-infinity-hacs

category ‘integration’, then tap Add.

I believe that typically at this point once it’s added it you have to restart HA but perhaps not.
I that adds it but if not, then after restarting, you go back into HACS and do the ‘Explore & Download Repositories’, search for AC Infinity, and add it. It should then appear. (Sorry, I’m doing this from a mixed memory so some of these steps may not be necessary).
Once it’s added (again, perhaps a restart is needed), I think it should find your controller by itself and you can then configure it via HA Setttings.

Hello, I am in need of some help if possible.
I looked everywhere but couldn’t find anything else on the web. I see that you guys are trying to customize the controller firmware?
Let me explain, I am a beekeeper and overwinter my bees inside. The temperature should be about 41f as consistent as possible.
Now I really like the auto function, only problem though is, it doesn’t work for me. The smallest increments are 1 degree for 1 speed. So I would have to go up 10 degrees to be at speee level 10. This simply doesn’t work for me. I’d like it for it to do that in the .1 or .2 increments.
Would that be something somebody could get that scripted for me?