diff --git a/backend.pyc b/backend.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9abac1de3c388bf08302d5b7782a76dbaef6a097 Binary files /dev/null and b/backend.pyc differ diff --git a/configpi.pyc b/configpi.pyc new file mode 100644 index 0000000000000000000000000000000000000000..df100b4c3df446beab746a1e6cfe7c776173dbeb Binary files /dev/null and b/configpi.pyc differ diff --git a/post_client.py b/post_client.py index aa34ec44efb3a08c8b3dfe85b88eda4c92835c26..e475c516451a23c7901c377b4514f876df5a8158 100644 --- a/post_client.py +++ b/post_client.py @@ -34,11 +34,11 @@ import json req = requests.post('http://192.168.1.2:5000/dimmers/set_level',headers={'Content-Type': 'application/json'}, data=json.dumps({'node_id': '6','value':'120'})) #### Put controller in inclusion mode -#req = requests.put('http://192.168.1.2:5000/nodes/add_node') +#req = requests.post('http://192.168.1.2:5000/nodes/add_node') #### Put controller in exclusion mode -#req = requests.put('http://192.168.1.2:5000/nodes/remove_node') +#req = requests.post('http://192.168.1.2:5000/nodes/remove_node') print (req.text) # print server response