lua

Moderator: Telldus

lua

Postby pfassberg » Sat Aug 20, 2016 7:12 pm

Hi,

I'm trying to use the lua API, and the initial tests has been successful.

The sandbox seems to limit the usability a bit... "require" seems to be missing.

Is there a tcp/ip library that I can use and how?


// Peter
pfassberg
 
Posts: 6
Joined: Wed Sep 05, 2012 9:09 pm

Re: lua

Postby micke.prag » Sun Aug 21, 2016 7:17 am

Yes, currently the sandbox limits the use for external libraries.

I will put a tcp/ip library on the wish list, thanks.
Micke Prag
Software
Telldus Technologies
micke.prag
Site Admin
 
Posts: 2205
Joined: Thu Jul 27, 2006 8:25 pm
Location: Lund

Re: lua

Postby chrisq » Thu Feb 16, 2017 2:40 pm

micke.prag wrote:Yes, currently the sandbox limits the use for external libraries.

I will put a tcp/ip library on the wish list, thanks.


Any updates on when we can expect http or tcp libraries for lua scripting?
It would obviously open up a huge amount of possibilities.
chrisq
 
Posts: 3
Joined: Tue Feb 14, 2017 10:38 am

Re: lua

Postby kamsvag » Fri Feb 17, 2017 3:20 pm

+1
kamsvag
 
Posts: 48
Joined: Thu Mar 12, 2015 1:46 pm

Re: lua

Postby kamsvag » Wed Feb 22, 2017 11:58 am

It's not happening any time soon was the response I got. :(
kamsvag
 
Posts: 48
Joined: Thu Mar 12, 2015 1:46 pm

Re: lua

Postby chrisq » Fri Feb 24, 2017 10:31 am

kamsvag wrote:It's not happening any time soon was the response I got. :(


That's a shame, the tellstick znet is pretty useless for integration without it.
Such an easy feature to add as well, disappointed.
chrisq
 
Posts: 3
Joined: Tue Feb 14, 2017 10:38 am

Re: lua

Postby kamsvag » Tue Feb 28, 2017 7:36 am

I've built a script that pulls status of units from the Tellstick and compares to previous pull. Changes will be reported to given IP address. It's not as clean as having the Tellstick report changes but it gets the job done.

ex.
c:> c:\python27\python.exe c:\scripts\TDTools.py --requestsstatus-device 1 10.0.100.2

The IP of the Tellstick is configured in a config file so it's not required in this syntax. The '1' is for timeintervall, in this case one second and the IP is the address of the server to witch we report the changes.

I use eventGhost as server for my home automation and this sends a UDP message to that server so I can trigger events.
kamsvag
 
Posts: 48
Joined: Thu Mar 12, 2015 1:46 pm

Re: lua

Postby kamsvag » Tue Mar 07, 2017 8:12 pm

Still waiting for TCP in Lua...
kamsvag
 
Posts: 48
Joined: Thu Mar 12, 2015 1:46 pm

Re: lua

Postby kamsvag » Sat Apr 15, 2017 9:13 am

Any updates on when this could happen? Easter egg would be welcome. :)
kamsvag
 
Posts: 48
Joined: Thu Mar 12, 2015 1:46 pm


Return to Beta testing

Who is online

Users browsing this forum: No registered users and 1 guest