From e2b635565c7f4982d17f64bbc3967ee7f349f027 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 28 Jul 2016 23:08:25 +0200 Subject: [PATCH] Use ip address out of the same range --- source/_posts/2016-07-28-esp8266-and-micropython-part1.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/2016-07-28-esp8266-and-micropython-part1.markdown b/source/_posts/2016-07-28-esp8266-and-micropython-part1.markdown index 5fc75eeb2f2..ef91fc3e7b6 100644 --- a/source/_posts/2016-07-28-esp8266-and-micropython-part1.markdown +++ b/source/_posts/2016-07-28-esp8266-and-micropython-part1.markdown @@ -124,7 +124,7 @@ If a module is missing then you need to download is it from [MicroPython Library # Sample code to request the state of a Home Assistant entity. API_PASSWORD = 'YOUR_PASSWORD' -URL = 'http://10.100.0.197:8123/api/states/' +URL = 'http://192.168.0.5:8123/api/states/' ENTITY = 'sensor.kitchen_temperature' TIMEOUT = 30 PIN = 5