The Device cannot stream this resource error

Hi All,
I am getting websocket error that indicates “Arduino:the device cannot stream this resource. Maybe the resource name is not defined”. but everything works fine except this annoying error message:))
thanks…

I found the reason guys. sorry for wasting your time to read this topic.

Glad you managed to solve the problem!

Just for future support for other people getting this error, what was the error? I suppose that you had a device resource configured in the dashboard that was not defined any more in the device. is it?

Thanks!

you are totaly right:) actually I was working on DHT11. first I defined different values like

thing[“Temp”] >> [](pson& out){
out = dht.readTemperature();
};

and

thing[“Hum”] >> [](pson& out){
out = dht.readHumidity();
};

then I decided to change the code like

thing[“dht11”] >> [](pson& out){
out[“hum”] = dht.readHumidity();
out[“temp”] = dht.readTemperature();
};

but I forget to update dashboard widgeds :))

1 Like