Oct-02-2020, 10:27 AM
Quote:For some reason my-url/get-temp does not do anythingYou should be able to get current temperature just by typing
my-url/get-temp
in browser.Try fake temperature values instead, e.g.
self.wfile.write(json.dumps({'temp_c': 10, 'temp_f': 10}))If this works, the problem in the block that getting temperature.