Skip to content

issue with get_io_data() after get_local_time() #51

Closed
@Stalkii

Description

@Stalkii

I stumbled upon an issue, which I was asked to file here.
My code creates an matrixportal object and calling get_local_time() works without issues. Once I try to get data from/to adafruit IO my program throws an exception and is stuck in it.

matrixportal.get_local_time()
matrixportal.get_io_data("test")
>>> An error occured, retrying! 1 - Sending request failed

I verified that there is data in the feed. I do also get data from it when switching both lines. They just don't run in this order.
Can someone else verify this?

By this time I forge my request URL myself and call it via a request object. I would, however, more likely use the matrixportal built-in functions.

Thanks and best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions