I got stucked.
I plugged a keypad as picture attached.
PCF8574 with GPIO 0 and GPIO 2
and setup my MQTT
all i want is that every keyinput should be reported to my MQTT Broker
connection to my broker is working
but the states are not reported to the MQTT Broker i only see the state -1 which i setted as startup script
![Image](https://i.ibb.co/tPMxH1r/Unbenannt.jpg)
![Image](https://i.ibb.co/61NQ30c/Unbenannt.jpg)
![Image](https://i.ibb.co/DD4WXy0/IMG-20191229-170938.jpg)