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

The integration is not tolerant of temporary issues with the packet source. #181

Open
brucemiranda opened this issue Apr 2, 2024 · 8 comments
Assignees

Comments

@brucemiranda
Copy link

brucemiranda commented Apr 2, 2024

If ramses_cc detects an issue with the HGI80, it currently sets a Problem status, i.e. binary_sensor.18_199952_status

What might be even better is if it resets the serial interface and tries again when it detects an issue.

@zxdavb
Copy link
Owner

zxdavb commented Apr 3, 2024

User reports:

A simple Reload of the integration seems to kick things back into life.

I note Reload is only available with the config_flow version of the integration, version 0.41.x and later.

In summary: if there is an error in the transport layer of the integration, the integration will freeze, and the only solution is to restart HA, or Reload the integration (if that option exists).

@zxdavb zxdavb changed the title Allow ramses_cc to reset the serial interface and try again The integration will freeze if there is an issue with the serial device. Apr 3, 2024
@zxdavb zxdavb changed the title The integration will freeze if there is an issue with the serial device. The integration will freeze if there is a temporary issue with the packet source (serial device). Apr 3, 2024
@zxdavb zxdavb changed the title The integration will freeze if there is a temporary issue with the packet source (serial device). The integration is not tolerant of a temporary issue with the packet source. Apr 3, 2024
@zxdavb zxdavb changed the title The integration is not tolerant of a temporary issue with the packet source. The integration is not tolerant of temporary issues with the packet source. Apr 3, 2024
@zxdavb
Copy link
Owner

zxdavb commented Apr 3, 2024

This is an automation to reload the integration if a problem is detected (thanks @brucemiranda).

NOTE: this work-around only apples for the config flow (>0.41.x) release of RAMSES RF.

alias: Reload Ramses CC
description: Reload Ramses CC when HGI80 shows a Problem
trigger:
  - platform: state
    entity_id:
      - binary_sensor.18_002563_status
    to: "on"
condition: []
action:
  - service: homeassistant.reload_config_entry
    data:
      entry_id: 14f6287491ba233d7310fd7a82b32fec
mode: single

@brucemiranda
Copy link
Author

brucemiranda commented Apr 3, 2024

You can find the entity_id for ramses_cc by looking in the file config/.storage/core.config_entries and looking with the

domain:
  ramses_cc:

section.

@Swiftnesses
Copy link

This is helpful, I also started to see this a few months back (was faultless before that).

@Swiftnesses
Copy link

I don't have an entry in config/.storage/core.config_entries, any ideas @zxdavb or @brucemiranda?

@Swiftnesses
Copy link

Uploaded to the latest beta version and run the config flow, which provided me with the core config and allowed me to restart.

Thanks, both.

@zxdavb zxdavb self-assigned this Apr 9, 2024
@zxdavb
Copy link
Owner

zxdavb commented Apr 9, 2024

I don't have an entry in config/.storage/core.config_entries, any ideas @zxdavb or @brucemiranda?

The advice only applies for the config flow release of RAMSES RF.

@zxdavb
Copy link
Owner

zxdavb commented Apr 9, 2024

related to #182

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

No branches or pull requests

3 participants