Yesterday, 12:20
Create a resident script with 10 seconds sleep time.
On your weather station set Server IP to LM IP and Port to 8000. Set upload interval to 10-15 seconds and post what you get in LM Logs tab.
Code:
require('socket')
server = socket.bind('*', 8000)
while true do
client = server:accept()
client:settimeout(1)
data, err, partial = client:receive('*a')
log(data, err, partial)
client:send('HTTP/1.1 200 OK\r\nConnection: close\r\n\r\n')
client:close()
end
On your weather station set Server IP to LM IP and Port to 8000. Set upload interval to 10-15 seconds and post what you get in LM Logs tab.