Closed rct closed 3 years ago
Have you tried to manually download and install the SpaPackStruct.xml file and put it in the config directory?
Your error looks to be related to the async download issue.
Have you tried to manually download and install the SpaPackStruct.xml file and put it in the config directory?
Your error looks to be related to the async download issue.
I have two Gecko units. The Gecko unit that's being discovered is actually for a steam shower, marketed as "SteamLinx" for Mr. Steam steam generators. The definitions for it aren't in SpaPackStruct. There is a separate mobile app for the steam unit.
See https://github.com/gazoodle/geckolib/issues/6
I wasn't clear from where that thread got dropped off whether the problem was finding the equivalent XML file or fixing a naming convention issue.
In any case, I'd be happy to get the Hass integration (probably the Geckolib component) to ignore the steamlinx for now.
So what happens when the steamlink is disconnected?
Does it find the tub ok and populate entities?
Are you just trying to ignore the steamlink in the integration?
Just trying to establish your goals.
Krs
Mark
I haven't tried with the steamlinx disconnected yet. I will be trying that in the next few days, but I'd prefer not to have to disconnect the steamlinx from the network.
My goal is to be able to monitor the hot tub, ideally from Hass.
We can probably modify to ignore steamlink.
I would need access to your HA installation to try that!
PM me your email address if you would like me to take a look.
Krs
Mark
I've been under the impression GitHub lacks a PM feature,
Thanks for your offer, but opening up outside access for someone isn't something I'd do.
Thats fine. Perfectly understand. I've already fixed several.
Just giving back.
Krs
Mark
An update, after disconnecting the Steamlinx Gecko unit, deleting and re-adding the Gecko integration, and restarting Home Assistant I'm still seeking the same "Failed to set up" error. Judging by the other pen issues with the same exception being thrown RuntimeError: I/O must be done in the executor;
I now need to look at the other fixes.
That exception is usually to do with downloading SpaPackStruct.xml. Are you sure that you have manually tried copying that file to the HA root "config" directory?
Krs
Mark
Circling back to close the loop on this. I got things working by:
I can now restart Hass with both connected without issues.
I don't know if disconnecting the steamlinx unit during discovery/config was actually necessary.
At some point I should test with a fresh Hass instance that has no gecko config history. I'm closing this now and will reopen if needed. Updates related to the steamlinx will be the related Geckolib issue - https://github.com/gazoodle/geckolib/issues/6
Version of the custom_component
Version 0.0.5 - from manifest.json Version 0.0.1 - from const.py
pulled from master (default) branch at github.
Configuration
Integration added through UI, no other configuration done. All options still enabled (binary sensor, climate, light, sensor, switch)
Describe the bug
Added the gecko-home-assistant custom component. Enabled the integration. It auto detected the Mr. Steam Steamlinux Gecko unit, which isn't currently handled by Geckolib. See Geckolib issue: https://github.com/gazoodle/geckolib/issues/6
Note: when I added the integration to Home Assistant the Gecko unit for the hot tub wasn't connected yet.
I'm not expecting Home Assistant support for the Mr. Steam yet, just looking to avoid the error from the auto-detection of the Mr. Steam unit.
Will report back what happens when integration/hass restarted with in.touch2 (hot tub) Gecko connected.
Debug log