-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
OnCue being discontinued by Kohler #125813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey there @bdraco, @PeteRager, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) oncue documentation |
Replacing their app does not mean they are replacing the API that the app uses. It sounds like you are using the new app and the integration is still working? |
They are discontinuing the old app by next week. From the email received last week from Kohler, I believe the API will no longer work as well. Sign in and password changes as well. OnCue Plus The existing OnCue Plus application is still available for generator monitoring. The app will be discontinued in the next few weeks, however during the transition period to the new application, the OnCue Plus app remains available to all users. If you have additional questions or encounter any issues with the application. Please reach out to: Kohler Home Energy Customer Care Center Sent an email to this address and called the 800 number an no useful response yet. |
It does look like you create a new login. So it does look like that indeed be the case. I'll start looking at it when the iOS app is released. |
There is a dealer version maybe that version will have the sensors. I do not have access to it yet. The new version is useless. Basically saying the generator ran, is running, an issue. No sensors. |
I have tried a number times to contacted Kohler. Never have I gotten through to support. Email is answered with check FAQ. Not good! There is a support email on Google play store that I have now contacted. |
Just got an email from Kohler support. I asked if they will have a way that HA can communicate with the new app (API). I'll post any updates. |
@PeteRager @bdraco you may want to reach out to Paul O’Dell PAUL.O'DELL@kohler.com. He is the manager of software development at Kohler. Maybe he can help you figure out what changes can be done so we can still see the Kohler product in HA. |
Do you know him? How did we get his contact? |
His name was list in the google play store as the contact for the app. When he replied it had his contact information: |
Hi, |
The new app does not have any sensors (yet). I was told by Kohler a fix would be released soon. My onCue still works in HA, I just need to refresh the credentials. |
I did contact the Kohler manager and got a reply. it sounded like the sensors are not exposed in the new API. We may get some help later, but for now it sounded like they are under pressure to get the sensors back in even though they were initially told they were not necessary. It's fairly easy on iOS to do protocol research by configuring a burp proxy and then running the app. |
@PeteRager would you please loop me into the email chain? I’ll take a look when I get back from holiday next week. thanks |
The apps have been updated now to include all of the missing sensor data. Hopefully they're willing to provide an easy to access API for this data as well. |
Don't like how the put the sensors in multiple tabs. |
The only 2 parameters, out of 23, that I can't find in the new updated app (iOS) are the Latest Firmware and the Remote Reset Counter. And now that I look at it in (old) OnCue the Latest Firmware is 2.0.6 and the Current Firmware is 3.3.2. So even in OnCue the Latest Firmware doesn't seem to have been updated in a while. And I don't know what Remote Reset Counter is used for. |
Maintainers, how can we help? I just installed a 26RCA and was surprised about the OnCue change. Do we need to do snoops of the new iOS app? What info do you need? |
I've migrated to the new app and the integration still works. Are you saying that the integration no longer works for you? |
Once they turn off the old API the integration will stop working. So far, they have not. |
Maybe it’s just a problem on my end, but the OnCue integration doesn’t accept my Koher Energy Management credentials. Perhaps it’s still working for folks who were originally set up with OnCue? |
That is likely true. We'll need to find the new endpoints. To get started we'd want to capture a BURP proxy log or equivalent. |
Update from me: As a new owner, I started off with the Kohler Energy Management app. OnCue doesn't accept those credentials, but I was still able to create an OnCue account. So both apps work, but with their separate credentials. I have HA OnCue integration set up now with my OnCue credentials. |
The app uses Oauth2 for authentication. After that it's not clear how it gets the data. There is nothing in the burp proxy. |
Any updates? |
Again, Any updates? |
We need someone to dive in with wireshark and research the new protocol the app is using |
I did the tiniest amount of this already while exploring another solution. From what I can tell, they are still talking to the old server using the same name and address. I'm very new to all of this, so don't know that anything I have found is helpful. But I'm happy to explore more if I can be of service. |
That's a cool link - thank you. That is the protocol the generator uses to talk to the kohler cloud. It's different than the protocol the App uses to talk to the cloud. I had looked the stream several years back to see what they were sending. It's possible to intercept this stream which is what they are doing in that link. I was able to use my pfsense router to capture the traffic. Anyways we need to do a similar thing with the app. |
That makes sense. I can try to give this a go, if needed. I've got a list of things I want to poke around on with respect to this topic (as you can see in that thread), so I'm happy to add this to it. Hopefully, I can do some of this later this week. |
I took a shot at monitoring the app comms, but I can't seem to find the specific communications we need. I did see what I'm pretty sure was my old OnCue app talking to the server, but I couldn't find anything I could attribute to the new app. I did all this by having my laptop host a hotspot, connecting my phone to that hotspot, and using Wireshark on the laptop to monitor the phone's comms. I then just opened the app and tried to spot anything of use in Wireshark. If there is something else I should try, please let me know. |
@arw00d thats an interesting approach. I suspect the app may be caching alot of stuff. Try deleting the app and app data , reinstall, then connect to the laptop hotspot and login when wireshark is running. |
Just got this message from Kohler today.
I would think this will also stop Oncue from working in HA? |
It will likely stop working. We will remove this integration when it does. |
If someone has time, it could be helpful to contact Kohler and see if they have API docs or interest in supporting their customers. Happy to participate if we can get a contact. |
I did manage to get another reading in Wireshark where I can see more of what is going on. I can see the Okta verification process (with kohler-homeenergy.okta.com) followed by a lot of chatter with 20.253.63.244 - which seems to be an Azure container. Again, I don't really know what to make of any of that though. |
When the app was first coming out, I contacted He replied to my questions. Maybe he can help? |
Thanks, now I remember.. we contacted him, and he was not helpful. I'll email him again and cold call him on Monday. Regarding okta, this should be a standard outh2 flow. I know HA has built in support to execute the flow. This is an area I've never looked at. Guidance would,be helpful. https://developer.okta.com/docs/concepts/oauth-openid/ On the wireshark to that azure host. What port is it connecting to? How is wireshark reporting the data. Maybe post a sample. Finding the apk for the android app would also be helpful. |
While both my generators are still connect to HA. The data has not changed since yesterday. Anyone else see that? |
My generator was going online/offline overnight and then this morning I received the "Your generator has been offline for at least 30 minutes" email from Kohler. It shows as offline in both the old and the new app. Locally I can ping the generator and I can see it is establishing a connection with an Azure server out in the cloud so network connectivity seems to be fine. |
All me sensors in both HA and the new Kohler app appear to have stagnated. It says they are connected, but the data hasn't changed since sometime yesterday. |
It's also stale in the new app ... so they must have an internal problem. The good news is I understand how the new API works and have put together a postman collection. This part looks simple. I also have an overview of the Oauth2 flow and have started trying to hack this into working shape in HA. But could certainly use some guidance. |
If they are using oauth, we'd need to have app credentials for home assistant to access user data on thier behalf. Kohler would have to make that available to us with something like a personal access token or a client registration. |
Yes, after a long night - I think I actually have it!! It would be good if someone could test this to see if they can repeat the outcome. Yes, we can't use the OAuth2 flow since the HA redirect URL isn't allowed by okta. But we can get a token through a simple authentication exchange. This CURL returns an access token, refresh token and id token. The access token is the bearer token. Okta has good documentation here:
One authenticated and in possession of the bearer token, these are the API endpoints.
This returns this data, the important part is the "id" which is the generator id needed for the next call.
Then to get the device data where 29999 is the device id:
We can also get the event history though this URL.
|
It looks like you are using Kohler's Phone App's Client Credentials to get a token. So I guess in a way they made it available to us 😆 |
I can confirm that this process works for me as well. Getting the latest data through these requests. |
I had an email exchange with Kohler's engineering manager. They see value in having a connector in HA and want it to continue. He mentioned they are going to create some new APIs and will get back to us. We will continue moving forward in parallel. We have decided to create a new integration. I'll try to get a custom component version of it put together so we can do some beta testing in a quick iteration. |
Yea they have said that before. Looking forward to the customer component. Sent from my iPhoneOn Apr 14, 2025, at 12:35, Pete Sage ***@***.***> wrote:
I had an email exchange with Kohler's engineering manager. They see value in having a connector in HA and want it to continue. He mentioned they are going to create some new APIs and will get back to us. We will continue moving forward in parallel.
We have decided to create a new integration. I'll try to get a custom component version of it put together so we can do some beta testing in a quick iteration.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
PeteRager left a comment (home-assistant/core#125813)
I had an email exchange with Kohler's engineering manager. They see value in having a connector in HA and want it to continue. He mentioned they are going to create some new APIs and will get back to us. We will continue moving forward in parallel.
We have decided to create a new integration. I'll try to get a custom component version of it put together so we can do some beta testing in a quick iteration.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Amazing the amount of work done in a short time. Let me know what I can do to help test. |
We have an initial version of the new API with a sample.py program https://github.com/kohlerlibs/aiokem Next step is an integration. |
The problem
The app by Kohler is getting replaced by Kohler Energy Management. This will cause this integration to no longer function. First look at this new app to me is a downgrade as all the Favorite parameters (sensors) are missing.
What version of Home Assistant Core has the issue?
core-2024.9.1
What was the last working version of Home Assistant Core?
core-2024.9.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Oncue by Kohler
Link to integration documentation on our website
https://www.home-assistant.io/integrations/oncue/
Diagnostics information
None
Example YAML snippet
None
Anything in the logs that might be useful for us?
No response
Additional information
I have an email to Kohler to see if there is anything that can be done to still get the missing sensors. So far, no answers. They are not answering there support line after an hour on hold.
The text was updated successfully, but these errors were encountered: