Sensus Analytics Integration via HACS available

When you say “simulate”, does that mean it loads yesterday’s data into today’s times? Is it possible to load the stale data into the recorder databases with correct times?

Hello, I have attempted to add this integration twice now and I have gotten the same error message both times:

I have followed the instructions available on the GitHub site, and have restarted HA after each attempt. I have the following version:

Any suggestions are appreciated!

What do you have under ‘Configure’?
Something like:

I have this under the ‘Configure’ tab:

It’s that 1st field (base url) that I’d be most suspicious of. Can you add the value you are using? I don’t think there’s too much sensitive there, it’ll likely tell us where you are (mine includes my-slc - Salt Lake City), but shouln’t say much else.
You seem to have …/portal/Das… in there - which I wouldn’t expect in a ‘base’ URL. And I don’t see ‘sensus-analytics’ (may be OK, depending on how your utility packages it, but different from mine that is working). Maybe add a screenshot of the ‘Usage Details’ or ‘Meters’ page of your utilities web site - just wanting to make sure it is sensus analytics based and how deeply it’s embedded into your utilities web site!

https://fwmyh2o.smartcmobile.com/portal/Dashboard.aspx# is the full address(Fort Worth).

Screenshot from 2025-04-25 15-54-50

There isn’t a “Meter” page, but this is what is on the billing statement. The city lists these as in use:

I am only assuming that this residential area is using the SRII meters, the house is only about 4 years old.

I have a feeling that your utility isn’t using sensus analytics. Here’s what my (Salt Lake) usage page looks like (note the copyright & logo at the bottom):


Yours looks like it uses “SEW - Smart Energy Water” and unfortunately, a quick search of this forum didn’t bring up an obvious integration for that.
However APIs: List - Smart Energy Water- developer portal lists some “Usage” APIs, so developing an integration looks possible.

Ah, I see. Thank you for looking into this. I will venture down alternate avenues.

For my Gas & Electric meters, I found they broadcast usage data that can be picked up by an SDR (Software Defined Radio) - e.g. https://rtl-sdr.com - and integrated to HA using the rtlamr2mqtt add-on. Though I think this is older technology & may not apply to your newer house.

I’m not a wizard, but I tried to extend this to gas and electric. I made it modular by having separate integrations for electric and gas (with separate configurations). There’s also a water version that I made basically to make the sensor names more specifically water, but is otherwise the same. I still haven’t figured out how to read solar electric energy put back on the grid. The meter number is the same as the one for pulling energy from the grid, but it looks like it has separate “sources” on the meter itself, but I can’t figure out if it’s possible to read source 2 from the web interface. Again, I’m not a wizard, so it seems to work okay, but it’s definitely not perfect.

Is anyone getting an error similar to:

Logger: custom_components.sensus_analytics.coordinator
Source: custom_components/sensus_analytics/coordinator.py:67
integration: Sensus Analytics Integration (documentation)
First occurred: 18:01:42 (15 occurrences)
Last logged: 18:17:37

Unexpected error: Expecting value: line 1 column 1 (char 0)

I enabled debug and the log has this:

2025-08-06 18:22:19.953 DEBUG (MainThread) [custom_components.sensus_analytics.coordinator] Async update of data started
2025-08-06 18:22:19.954 DEBUG (SyncWorker_4) [custom_components.sensus_analytics.coordinator] Starting data fetch from Sensus Analytics API
2025-08-06 18:22:19.955 DEBUG (SyncWorker_4) [custom_components.sensus_analytics.coordinator] Authentication URL: https://XXX.sensus-analytics.com/j_spring_security_check
2025-08-06 18:22:20.140 DEBUG (SyncWorker_4) [custom_components.sensus_analytics.coordinator] Authentication successful
2025-08-06 18:22:20.140 DEBUG (SyncWorker_4) [custom_components.sensus_analytics.coordinator] Widget URL: https://XXX.sensus-analytics.com/water/widget/byPage
2025-08-06 18:22:20.305 ERROR (SyncWorker_4) [custom_components.sensus_analytics.coordinator] Unexpected error: Expecting value: line 1 column 1 (char 0)
2025-08-06 18:22:20.307 DEBUG (MainThread) [custom_components.sensus_analytics.coordinator] Finished fetching sensus_analytics data in 0.354 seconds (success: False)

(Redacted the full URL). So it looks like it’s authenticating OK, but failing when trying to get the daily stats (according to the code). This used to work great, so not sure if something has changed on the Sensus end?

I was very excited about this integration but I am getting the same error so it has never worked for me. Looks like we may need make a modification to extract the data from a different url?

The base URL I am trying to make requests to is https://my-hpwtx.sensus-analytics.com.