-
-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
Smart Meter Texas (SMT) Unable to connect with Integration #101166
Comments
Hey there @grahamwetzler, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) smart_meter_texas documentation |
I'm also seeing this issue since upgrading to HA 2023.9.3 (which might be a coincidence?). I haven't removed the integration, but I've tried disabling and re-enabling it a few times. In my logs I see:
|
The SMT website is showing a maintenance page for me.
|
Curious... i have been able to login and do on-demand reads from the website this entire time. My HA integration will not setup/initialize either. I hope SMT has not finally locked us out... |
Looks like my last update was 9/29 which lines up when I upgraded to 2023.9.3. Error log:
|
I've come to report the same issue! Following post for ideas! |
I had about 1.5 days worth of meter reads after updating to 2023.9.3 before it stopped working at 1am on 9/30, so i don't think it is related to HA version. I even downgraded to 2023.9.2 temporarily for a different problem and the integration would not initialize on that version either. |
Facing the same issue
Following for updates |
Same issue here. Got my last read Sept 29th and nothing since.
|
I looked into it closer. https://smartmetertexas.com/ shows a maintenance page (and the API endpoint shows an nginx error), while https://www.smartmetertexas.com/ appears to work fine. Can someone test whether the integration works with the new www domain? A bit off-topic, but does anyone have a good workflow for importing SMT 15-minute interval reports over the 1 hour interval data that the integration provides? |
interesting.... I can confirm that "www.smartmetertexas.com" is working but "smartmetertexas.com" shows that the website is under maintenance. HOWEVER, the last read when you log in through "www" address shows Sept 30th only. |
If that was under the "Latest End of Day Read" then that would be the correct information. It should tick over in ~1 hour. Using the "get current meter read" button I got a current reading that matches what I would expect if I went outside. |
Just confirming I have the same issue here. Deleted the integration and get the 'failed to connect' error for user authentication. |
Looks like the owner of the add-on opened an issue for this. It appears the Smart Meter Texas site has updated their site causing SMT updates to fail. It is broken for everyone using SMT until the owner can get the connection to the API fixed. |
Not for me. Tried to on SMT site "get current meter read" yesterday and today and there last reading is still Sept 30th |
I am having the same issue. Sept 30th was the last day of data. |
I'm afraid this might be the end of the road for this integration. The recent update to the SMT website protects the authentication endpoint with Akamai Bot Manager. |
I was looking and there is a section in the user account for an API interface, but when I attempted to create a key I'm getting a message "API integration not done". Either I don't have rights to create one or they don't have it finished yet. |
The "API" is a joke. It seems to be targeted to energy companies.
|
Just spitballing here but maybe nabu casa could help? If the home assistant cloud connection uses stable static IPs and they add a field to the letsencrypt certificates that might satisfy most of the requirements. I don't know if it's possible for integrations to proxy traffic like that through nabu casa though. |
@grahamwetzler I have the capability of providing a certificate and static IP to SMT long-term if that would be beneficial? I don't know how you are connecting with the API (I can't pretend to know python that well), but I'm thinking a sort of proxy that Texas folks could send requests through. However, the "...associated with the SMT registered company name" part confuses me. Are they expecting a SAN on the certificate? IE, smt.domain.com ? If so, that's easy enough as I have a wildcard for my domain at work and the capability of spinning up a VM with a public IP that would never change. Honestly doing it through nabu casa like @Seamus-Mccartin said is a good plan if they'll work with you on it, but I'm open to help if you hit a wall. |
apparently, they don't like wildcard certificates. But I think a SAN should be fine. The company name feels like it's more for organizations instead of individuals. |
I got an email from Smart Meter Texas recently (Thu, 21 Sept, 09:35) with a change to the TOS. New TOS here: https://www.smartmetertexas.com/security Section E.2 may be the culprit here. Bold emphasis mine.
I don't know if that is new or not, but it seems aimed squarely at any automation type projects. A possible work around might be to subscribe to a daily report using an email address and then giving HomeAssistant access to read that account and scrape the emails (it's easy for me to suggest how someone else can solve my problem since I don't know the details on any of this). I'd set up a new email account for this. Also, they provide a way to contact them for help. Given that we are all paying customers of theirs, I've sent them an email asking for help... Please Contact the SMT Helpdesk at 1-844-217-8595 or at support@smartmetertexas.com or Refer to Quick Reference Guide located at SMT Home Page |
Sorry everyone, even if the official API was a feasible option to replace the current integration, I'm not interested in working on a complete rewrite of this integration. Of course if someone else wants to tackle this, by all means, go for it. However, I will likely archive the grahamwetzler/smart-meter-texas repository shortly as I don't see this package being useful going forward. |
@grahamwetzler It was good while it lasted. Thanks for the work on this integration. |
The NodeRed implementation I am using in my HA setup started working again today. I also noticed that my energy provider (Energy Texas) insights dashboard hasn't updated since Sept 23. It might be a coincidence but any chance that the changes SMT made also affected energy providers and they rolled back their changes? |
Odd, I reloaded my integration and it didn't error out. Maybe?! |
Same here... |
@grahamwetzler It seems they made a change again, I'm now getting data from SMT again. Edit: Well I got one update and so far no more besides that... :\ |
I got a read too |
I was also able to re-add the integration over the weekend. |
@grahamwetzler It would seem the challenge manager at Akamai has changed. I've been able to scrape for about 24 hours now. Might not need archiving after all, but we'll see how the rest of the month goes. |
I experienced the original issue and then it started working as others reported back a couple of weeks ago. However, this has resurfaced for me as of today. Watchman flagged the sensor and when I reloaded the integration I received the following which is the same as reported above. Logger: homeassistant.config_entries Traceback (most recent call last): |
Issue has come back for me too. |
Same here... was fine then stopped Oct 20. |
Unofficial SMT API is available again as of today. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
An update on my SMT integration: I had some response from this integration over the past month, but unfortunately it was very intermittent. I would reload the integration and sometimes it would restore the service for days, other times it would not. If I don't reload it then it stays OFF. Collected data is spotty because of the service outage. I wanted to ask if it would be of benefit to do the following: create an script that would attempt 1 to 3 reloads 15 minutes apart. And set that up in a call from an automation at the beginning of the day. ¯_(ツ)_/¯ I do NOT want to create a denial of service issue with an automation and we lose this service permanently. Any help would be appreciated. Thanks in advance. THIS JUST CAME THROUGH ON SMT SITE: "SMT plans to deploy an upgrade that will require an Outage of all SMT services including the portal from Saturday February 10, 12:01 A.M. CST until Sunday February11, 10:30 P.M. CST. This should be a seamless upgrade to Smart Meter Texas users. If you have additional questions, please contact SMT website technical support at 1-844-217-8595" 🤞 |
It's been working as well as it was prior to SMT making their maintenance changes for me. With that said it is spotty, but I believe it's an issue on SMTs side. When I get 0 kw/h results it's because the SMT current reading was the same as the previous reading an hour earlier. |
Yes, I agree its on SMT. |
Everything was working fine for me up until Jan 9. It hangs when I try to log in to SMT from the integration. |
I haven't seen any energy data populate since February 9th, and I suspect this is the reason. |
There was an update to the Smart Meter Texas systems early January, after that finished, the integration stopped working for me. I wish home assistant could read the excel "subscriptions" that SMT generates and delivers via email. |
📌 As some status for everyone: In reviewing past posted issues I found this closed Issue: #88049; comment at the end says it all... bummer !: This integration doesn't use the official API because it's incredibly onerous to get setup and use. This integration uses the same API that the website uses. It appears they implemented anti-bot protection which is something I don't expect we can work around. |
The problem
HA's integration with SMT is unable to poll the sensor. I removed and tried to add the integration, it says it can't connect. Unfortunately, since I can't get it setup again after removing it, I don't have the diagnostic file and didn't download before removing it.
What version of Home Assistant Core has the issue?
2023.9.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Smart Meter Texas
Link to integration documentation on our website
https://www.home-assistant.io/integrations/smart_meter_texas
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: