09-03-2023, 12:50 AM
ok I figured out what is wrong!
I'm in this thread:
https://github.com/HomeSpan/HomeSpan/dis...nt-6893848
And using Homespan I put the relays to work addressing the P0 to P7 from PCF8574_RE directly to DEV_LED.h and solve the outputs, but the inputs are my problem! In PCF8574_IN1 the switches cant fit to SpanButton states easly I can't use the example 16 Statless Programmable Switch to sense the inputs.
maybe we need to create a library to PCF8574 inputs asswitches to homespan.
I've created later a other homekit test without the Homespan, but I don't a great programmer to solve a C++ to put PCF8574.h inside. now I've get homespan with realys, and not inputs and without a homespan I get inputs and not relays (I'm sad...)
I'm in this thread:
https://github.com/HomeSpan/HomeSpan/dis...nt-6893848
And using Homespan I put the relays to work addressing the P0 to P7 from PCF8574_RE directly to DEV_LED.h and solve the outputs, but the inputs are my problem! In PCF8574_IN1 the switches cant fit to SpanButton states easly I can't use the example 16 Statless Programmable Switch to sense the inputs.
maybe we need to create a library to PCF8574 inputs asswitches to homespan.
I've created later a other homekit test without the Homespan, but I don't a great programmer to solve a C++ to put PCF8574.h inside. now I've get homespan with realys, and not inputs and without a homespan I get inputs and not relays (I'm sad...)