Skip to content
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

Flume API not receiving data #116798

Open
n1cameron opened this issue May 4, 2024 · 5 comments
Open

Flume API not receiving data #116798

n1cameron opened this issue May 4, 2024 · 5 comments
Assignees

Comments

@n1cameron
Copy link

The problem

A few days ago, the Flume Integration stopped receiving data. It looks like it is connecting successfully to the API but not receiving details.

What version of Home Assistant Core has the issue?

core-2024.3.0

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

Flume

Link to integration documentation on our website

https://www.home-assistant.io/integrations/flume

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-05-04 10:41:05.138 DEBUG (SyncWorker_37) [pyflume] Token expiration time: 2024-05-09 06:27:04
2024-05-04 10:41:05.138 DEBUG (SyncWorker_37) [pyflume] Token comparison time: 2024-05-04 22:41:05.138576
2024-05-04 10:41:05.318 DEBUG (SyncWorker_37) [pyflume] get_devices Response: {"success":true,"code":602,"message":"Request OK","http_code":200,"http_message":"OK","detailed":null,"data":[{"id":"7066327750355218834","type":2,"connected":true,"last_seen":"2024-05-04T17:40:44.000Z","location_id":162726},{"id":"7077221437683803633","type":1,"connected":true,"last_seen":"2024-05-04T17:36:58.000Z","location_id":162726}],"count":2,"pagination":null}
2024-05-04 10:41:05.323 DEBUG (SyncWorker_17) [pyflume] Token expiration time: 2024-05-09 06:27:04
2024-05-04 10:41:05.323 DEBUG (SyncWorker_17) [pyflume] Token comparison time: 2024-05-04 22:41:05.323163
2024-05-04 10:41:05.482 DEBUG (SyncWorker_17) [pyflume] get_devices Response: {"success":true,"code":602,"message":"Request OK","http_code":200,"http_message":"OK","detailed":null,"data":[{"id":"7066327750355218834","type":2,"connected":true,"last_seen":"2024-05-04T17:40:44.000Z","location_id":162726},{"id":"7077221437683803633","type":1,"connected":true,"last_seen":"2024-05-04T17:36:58.000Z","location_id":162726}],"count":2,"pagination":null}
2024-05-04 10:41:23.430 DEBUG (SyncWorker_60) [pyflume] Token expiration time: 2024-05-09 06:27:04
2024-05-04 10:41:23.430 DEBUG (SyncWorker_60) [pyflume] Token comparison time: 2024-05-04 22:41:23.430723
2024-05-04 10:41:23.596 DEBUG (SyncWorker_60) [pyflume] get_devices Response: {"success":true,"code":602,"message":"Request OK","http_code":200,"http_message":"OK","detailed":null,"data":[{"id":"7066327750355218834","type":2,"connected":true,"last_seen":"2024-05-04T17:41:15.000Z","location_id":162726},{"id":"7077221437683803633","type":1,"connected":true,"last_seen":"2024-05-04T17:36:58.000Z","location_id":162726}],"count":2,"pagination":null}

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented May 4, 2024

Hey there @ChrisMandich, @bdraco, @jeeftor, mind taking a look at this issue as it has been labeled with an integration (flume) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of flume can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign flume Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


flume documentation
flume source
(message by IssueLinks)

@n1cameron
Copy link
Author

Note: I manually deleted the toke file at

/homeassistant/FLUME_TOKEN_FILE-

I then reloaded the integration and everything started working. Seems like possibly the token expired and wasn't being replaced with a new one?

@jeeftor
Copy link
Contributor

jeeftor commented May 4, 2024

It's possible

@genem2
Copy link

genem2 commented May 29, 2024

My flume requires reauthentication quite frequently and I was wondering if this integration supported a token refresh function. Should this be refreshing automatically?

@MaxVonEvil
Copy link

Note: I manually deleted the toke file at

/homeassistant/FLUME_TOKEN_FILE-

I then reloaded the integration and everything started working. Seems like possibly the token expired and wasn't being replaced with a new one?

This happened to me as well two days ago. Deleting the token and reloading did the trick. Would be great if this happened automagically :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants