IrDA home automation web code written in Python and with the Flask framework