Lua Script t=ds18b20.read() "bad argument #1 to 'read' (Must be function))

Hello together,

i am totally new to lua language. I kindly ask you for support to get my very first setup up and
running to improve from there :slight_smile:

I am using a ESP 8266-01 module where i try to get an DS18B20 temperature sensor to work.

I tried several script on the internet but i  get always a failure on this “function”:

 t=ds18b20.read()  error message in Esplorer is:

"PANIC: unprotected error in call to Lua API (domoticz.lua:7: bad argument #1 to ‘read’ (Must be function))

"

the link where i copied the from is this one:

https://www.domoticz.com/wiki/ESP8266_WiFi_module

the firmware on the ESp8266 is:

NodeMCU custom build by frightanic.com

branch: master

commit: 443e8219527f5b2190324a969a4586f9d3d731bf

SSL: false

modules: bme280,cron,dht,ds18b20,encoder,enduser_setup,file,gpio,http,net,node,ow,rtcfifo,rtctime,sjson,spi,tmr,uart,websocket,wifi

 build built on: 2017-11-02 22:02

 powered by Lua 5.1.4 on SDK 2.1.0(116b762)