diff --git a/README.md b/README.md index 50bac23..94d4b83 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ You can set the Pi up to automatically login to the desktop but the recommended #### Network Connections -Before installing the Raspberry Pi in its final location (gallery/exhibition), make sure it can connect to the galleries internet -- either via wi-fi or Ethernet cable. If you use an Ethernet cable, you do not need to do anything, but the wi-fi requires a little work on the command-line (if you are using a "headless" version of Rasbpian). If you are unsure how to connect to a router via wi-fi, use the following link to learn how: +Before installing the Raspberry Pi in its final location (gallery/exhibition), make sure it can connect to the galleries internet -- either via wi-fi or Ethernet cable. If you use an Ethernet cable, you do not need to do anything, but the wi-fi requires a little work on the command-line (if you are using a "headless" version of Raspbian). If you are unsure how to connect to a router via wi-fi, use the following link to learn how: - [Raspbian Wi-Fi Tutorial](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md) diff --git a/cli_meter.py b/cli_meter.py index dfd60af..79b8c5c 100755 --- a/cli_meter.py +++ b/cli_meter.py @@ -78,13 +78,13 @@ def push_reading(lvalue): time = get_timestamp() headers = {"content-type": "application/json"} payload = { "reading": int(lvalue), "time": time, "token": "QWERTYuiopasdfghjklzxcvbnm_1234567890"} - print(payload) + # print(payload) # For testing. res = requests.post(api_url, data=json.dumps(payload), headers=headers) def update_reading(): light = light_from_r(read_resistance()) reading_str = "{:.0f}".format(light) - print(reading_str) + # print(reading_str) # For testing. push_reading(light) def main():