Skip to content

REST giving problems after updates >version 116.2 #43152

@Appie-rappie

Description

@Appie-rappie

All updates after version 116.2 give errors with a REST interface I have. Without changes to configuration.yaml, in which it works perfectly in version 116.2 and earlier, it won't connect to the REST interface in any version after that.

Configuration (snippet):
sensor:

  • platform: rest
    name: beeclear
    scan_interval: 10
    method: GET
    resource: http://192.168.1.190/bc_current
    username: username
    password: password
    json_attributes:
    • d
    • ed
    • tariefStatus
    • ul
    • uh
    • gl
    • gh
    • verbruik0
    • leveren0
    • verbruik1
    • leveren1
    • verbruik2
    • leveren2
    • u
    • g
    • gas
      value_template: "{{ json_value }}"

Errors in log in versions after 116.2 (in this case 117.6):

**Platform rest not ready yet. Retrying in 30 seconds.
9:31:07 PM – Sensor (WARNING)

Error fetching data: http://192.168.1.190/bc_current failed with illegal status line: bytearray(b'HTTP/1.1 200 OK\nServer: beeclear\nSet-Cookie: bctokpass=30c8a0f6\nContent-Length: 738\nConnection: Keep-Alive\nCache-Control: no-cache, no-store, must-revalidate\nContent-Type: text/json')
9:31:07 PM – rest (ERROR)**

Also the entity 'sensor.beeclear' is not present.

And yes, the REST endpoint is still reachable and working and works perfectly once I restore a snapshot with version 116.2.

Anybody any idea what could be causing this?

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