I am trying to create an edge driver to control a very simple LAN device. My device uses the provided tutorial as its base.
Whenever I try to send an http.request I recieve this error:
[string “socket/http.lua”]:281: attempt to index a nil value (local ‘schemedefs’).
I am very new to lua but my research suggests the error is generated from with-in the socket.http library?
Hi @DavidMcK welcome to SmartThings Community
please can you share how you send the request?
An update from my part, as you mentioned you used the example lan driver, I tested it to validate that it is working with the new SmartThings Lua library and is working fine. only some comments that changed on the SmartThings CLI.
Thanks. Will hopefully have time to look at it this weekend