Search found 1 match

by rathio
Fri Jun 04, 2021 5:24 pm
Forum: Programs, Libraries and Tools
Topic: Refresh webserver physical push button
Replies: 0
Views: 998

Refresh webserver physical push button

Hello together, is there a easy solution to update the state of the relay in this webside? There is also a physical push button to control the relay. def web_page(): if relay.value() == 1: relay_state = '' else: relay_state = 'checked' html = """<html><head><meta name="viewport" content="width=devic...