I’ve starting learning how to write plugins for the Ezlo platform. It’s been a while since I wrote the Yamaha Receiver plugin many years ago.
When calling a test action that makes a network call, I’m getting the following error (in the ha-luad.log):
ERROR: LuaInterpreter: Couldn’t run a Lua code: [string “HUB:samsung-tv-serial/scripts/turn_tv_on”]:21: fail to send data to a connection with handle (1) : AsyncSocket: Resource temporarily unavailable
WARN : LuaAddon: a script: HUB:samsung-tv-serial/scripts/turn_tv_on has been terminated abnormally
Line 21 is the network.send() command, constructed as per the LUA API documentation:
conn = network.send( hndl, “hello world” )
I know the receiving device (a Digi Portserver) is receiving the connection as it shows up in it’s GUI as a connection established by the Plus’ ip address.
Any ideas as what to look at next to figure out what’s causing the error?
I’ve looked at all the logs in /tmp/log/firmware and didn’t find anything. Is there another way to surface more error details?
Is the “network” functionality just not ready yet on the Ezlo platform?