You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may mostly be a test issue as I have added and removed PCF8574 devices several times in firmware testing. But it might also arise in field use.
The issue: If a PCF8574 IO expander is connected and configured in Home Assistant, then the PCF8574 is removed, the PCF8574 configuration remains in Home Assistant and is difficult to delete.
This happens because the HW-584 firmware doesn't know if the hardware configuration change (removal of the PCF8574) is temporary or permanent. If the firmware were to assume it is permanent and sent delete messages to Home Assistant then information like pin names in Home Assistant would be lost. The user may want to re-attach the PCF8574 (or perhaps replace it with another PCF8574), in which case they want the Home Assistant configuration information to be retained.
So, removal of the PCF8574 from Home Assistant needs to be an action taken on command by the user. However, the HW-584 firmware can make intentional removal of the PCF8574 a little easier for the user by adding a URL cmd that tells the firmware that the PCF8574 removal is intentional, and that the firmware should send PCF8574 configuration delete messages to Home Assistant.
I've added a new URL command (/85) that will signal the firmware to Disable all pins in the PCF8574 configuration and send PCF8574 pin delete messages to Home Assistant. The /85 command will then reboot the module so that the new configuration is established with Home Assistant.
The text was updated successfully, but these errors were encountered:
This may mostly be a test issue as I have added and removed PCF8574 devices several times in firmware testing. But it might also arise in field use.
The issue: If a PCF8574 IO expander is connected and configured in Home Assistant, then the PCF8574 is removed, the PCF8574 configuration remains in Home Assistant and is difficult to delete.
This happens because the HW-584 firmware doesn't know if the hardware configuration change (removal of the PCF8574) is temporary or permanent. If the firmware were to assume it is permanent and sent delete messages to Home Assistant then information like pin names in Home Assistant would be lost. The user may want to re-attach the PCF8574 (or perhaps replace it with another PCF8574), in which case they want the Home Assistant configuration information to be retained.
So, removal of the PCF8574 from Home Assistant needs to be an action taken on command by the user. However, the HW-584 firmware can make intentional removal of the PCF8574 a little easier for the user by adding a URL cmd that tells the firmware that the PCF8574 removal is intentional, and that the firmware should send PCF8574 configuration delete messages to Home Assistant.
I've added a new URL command (/85) that will signal the firmware to Disable all pins in the PCF8574 configuration and send PCF8574 pin delete messages to Home Assistant. The /85 command will then reboot the module so that the new configuration is established with Home Assistant.
The text was updated successfully, but these errors were encountered: