Last active
November 12, 2015 18:31
-
-
Save AgustinPelaez/348270e362730193ac4a to your computer and use it in GitHub Desktop.
A config file to store some parameters of a program that measures Internet latency in an Openwrt router and sends this value to the Ubidots cloud.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local conf = { | |
variables = { | |
['52d481d9f91b284cd22af757'] = '8.8.8.8', | |
}, -- Add one variable id per each site to check the ping | |
token = '9xtbvHL8hFKxfkmlXUW3qNoUpOEZAtp0qkkwPqffbn6DiR3ElRJ4B5m1hZMs', --Replace with your own token | |
host = 'things.ubidots.com', -- Host to establish connection | |
port = '80', -- Port where service is listening | |
} | |
return conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment