i have a simple GET request node setup to reqest the status of a lamp.
If i trigger it with a hostname that i can reach with any browser it does not work.
As soon as i put the IP of that device instead, it works.
this is the simple flow:
[{"id":"431ec79c.efa0f","type":"http request","z":"ecf5db33.a01038","name":"digitalswitch GET","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://my-device.local:8888/1/properties/switch","tls":"","persist":false,"proxy":"","authType":"basic","credentials":{},"x":970,"y":640,"wires":[["11d1a488.390d03","38ef20d5.5fd8f"]]},{"id":"5a48f3bf.5b5b0c","type":"inject","z":"ecf5db33.a01038","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":"2","topic":"","payload":"true","payloadType":"bool","x":780,"y":640,"wires":[["431ec79c.efa0f"]]},{"id":"38ef20d5.5fd8f","type":"debug","z":"ecf5db33.a01038","name":"get","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1170,"y":640,"wires":[]}]
Is it normal that hostnames do not get resolved?