I’ve build myself a little io module with the help of a raspberry pi.
It controls the inputs and outputs via i2c bus. Apache HTTP Server is running on the raspberry pi and provides a PHP file, which OPENHAB requests to change a output.
This works, but sometimes the HTTP Request fails and OPENHAB thinks it has successfully turned on the Output, even thought it is NOT turned on.
I’d like to send something like an ACK for that. Of course I can’t use HTTP for that purpose. I thought about UDP and building a ACK by myself. I’m open for any other protocoll as well, but it needs to be implemented into a python script.
Can anyone please give me some advice? Thanks!