From b67ce75008dc8030f6a553ad33c5f4ede6ab2d72 Mon Sep 17 00:00:00 2001 From: flatsiedatsie Date: Thu, 25 Feb 2021 23:35:56 +0100 Subject: [PATCH 1/2] fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c54e7b8..54bbb86 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ thingtalk can be installed via pip, as such: ## Running the Sample `$ wget -https://raw.githubusercontent.com/hidaris/thingtalk/master/example/test.py` +https://raw.githubusercontent.com/hidaris/thingtalk/master/example/test_light.py` `$ uvicorn test:app --reload` From 3efed28a45527fb27e187d00df9d05c27e9939df Mon Sep 17 00:00:00 2001 From: flatsiedatsie Date: Thu, 25 Feb 2021 23:38:00 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54bbb86..9de14ef 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ thingtalk can be installed via pip, as such: `$ wget https://raw.githubusercontent.com/hidaris/thingtalk/master/example/test_light.py` -`$ uvicorn test:app --reload` +`$ uvicorn test_light:app --reload` This starts a server and lets you search for it from your gateway through mDNS. To add it to your gateway, navigate to the Things page in the gateway's UI and click the + icon at the bottom right. If both are on the same network, the example thing will automatically appear.