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

Huge Delay When Turning on/off Switches in HASS #419

Open
albeedelacruz opened this issue Jan 25, 2025 · 1 comment
Open

Huge Delay When Turning on/off Switches in HASS #419

albeedelacruz opened this issue Jan 25, 2025 · 1 comment

Comments

@albeedelacruz
Copy link

albeedelacruz commented Jan 25, 2025

I have installed this to 3 RPi4s and successfully integrated PIN14 of each Pi as fan switches in HASS. My problem is, intermittently, the switches wouldn't work. If you set it on, the fans wont turn on unless you keep on setting it on then eventually it will turn on, The switch indicator in HASS keeps on going back to off like there is some sort of delay.
This is happening on all of the 3 RPi4 I have this installed on.

Any ideas? Pis 2 and 3 have the same configuration but names are docker2_fan_gpio and docker3_fan_gpio respectively.

mqtt:
host: "10.0.0.47"
port: 1883
topic_prefix: "MQTT GPIO"
ha_discovery:
enabled: yes

gpio_modules:

  • name: "rpi"
    module: "raspberrypi"

digital_outputs:

  • name: docker1_fan_gpio
    module: rpi
    pin: 14
    ha_discovery:
    component: switch
    name: "Docker1 GPIO Fan"

Image

@BenjiU
Copy link
Collaborator

BenjiU commented Jan 26, 2025

Hi,

can you please provide the logfiles from mqtt_io and maybe you can also capture the mqtt messages with mqtt_sub (https://mosquitto.org/man/mosquitto_sub-1.html)?

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

2 participants