I’ve been using the Dexcom integration for several months, but it stopped working early this afternoon with the following error:
File "/usr/local/lib/python3.9/site-packages/pydexcom/__init__.py", line 44, in __init__
self.trend_description = DEXCOM_TREND_DESCRIPTIONS[self.trend]
TypeError: list indices must be integers or slices, not str
2021-11-30 19:17:06 ERROR (MainThread) [homeassistant.components.dexcom] Unexpected error fetching dexcom data: list indices must be integers or slices, not str
I restarted the server with no improvements and then removed and re-added the integration with no luck. Same error. Just wondering if anyone else is seeing this?
My plan if this issue persists is that I’ll setup a Nightscout instance in my homelab. From my Loop app, I’ll send the data to Nightscout. Once the data is within Nightscout, I’ll use the Nightscout integration to get a near real-time blood sugar number.
I’m going to assume that Dexcom changed something and will wait for a day or two. I have several automations based upon my son’s readings and really need a solution. I will look into Nightscout as well.
Same error message here, mine broke as of yesterday morning (Canada). I thought it was something I did, as it coincided with a sensor change. Really like using this integration, hoping to see this fixed up shortly. Anyone know if there is an open issue for it yet?
Anyone comfortable with it, I’d appreciate help on the OUS side – unfortunately I can only test US-based connections…
Just a quick check to make sure the fixes are working would be appreciated. As we learn more about the API (it is all undocumented), more updates will follow. However, this should get OUS connections back, along with supporting the changes should (read: when) the US servers move to the updated API responses.