I have DataYours up and running and I am tracking a few variables. One lingering issue is on the Configuration page upper left, the icons do not display and the links do not work. The reason is the IP address in the image and link URLs is 127.0.0.1 which is not correct. For example: http://127.0.0.1:3480/data_request?id=lr_DataDash&page=config On the dashboard page all the links are fine. Again for example: http://192.168.1.116:3480/data_request?id=lr_dashboard&height=300&page=whisper
I’m running openLuup on Linux w/ ALTUI and bridging to a single VeraPlus
I’ve been poking around in the lua files for DataYours but I’m not finding anything yet. I did have to manually copy the icon files from github. If I tunnel port 3480 from my PC (localhost) to the server the icons and links work fine. But without the tunnel of course they don’t.
Any insights will be appreciated. Some additional info below. Thanks!!!
Alpine Linux: 3.7
Lua: 5.1
openLuup: 19.2.13
ALTUI: 2.46.2533
DataYours: 16.10.4
DAEMON = {
VERSION = “2016.10.10”,
client = “DataDash”,
destinations = {},
errors = {count = 0},
http = {received = 2},
ip = “127.0.0.1”,
start_time = “Thu Oct 10 10:35:11 2019”,
udp = {
last_received = {},
last_sent = {},
received = 0,
sent = 0
}
}DATADASH = {
VERSION = “2016.01.04”,
whisper = “/etc/cmh-ludl/whisper/”
}DEBUG = {}
[cache] = {
LOCAL_DATA_DIR = “/etc/cmh-ludl/whisper/”,
UDP_RECEIVER_PORT = “2003”
}[dash] = {
DATAMINE_DIR = “”,
ICON_PATH = “/cmh/skins/default/img/devices/device_states/”,
LOCAL_DATA_DIR = “/etc/cmh-ludl/whisper/”,
VERAS = “192.168.1.116:3480”
}[graph] = {
DATAMINE_DIR = “”,
LOCAL_DATA_DIR = “/etc/cmh-ludl/whisper/”
}[mine] = {DATAMINE_DIR = “”}
[relay] = {
DESTINATIONS = “127.0.0.1:2003”,
LINE_RECEIVER_PORT = “”,
LIVE_ENERGY_USAGE = “”,
MEMORY_STATS = “”,
SYSLOG = “”
}
2019-10-10 10:35:11.016 openLuup.scheduler:: [28] DataYours device startup
2019-10-10 10:35:11.016 luup_log:28: DataYours: starting…
2019-10-10 10:35:11.016 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.StartTime was: Thu Oct 10 10:27:28 2019 now: Thu Oct 10 10:35:11 2019 #hooks:0
2019-10-10 10:35:11.017 luup_log:28: DataYours: starting heartbeat
2019-10-10 10:35:11.020 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 15576 now: 16961 #hooks:0
2019-10-10 10:35:11.148 luup_log:28: DataYours: starting services
2019-10-10 10:35:11.148 luup_log:28: DataYours: service: Graph - L_DataGraph
2019-10-10 10:35:11.177 luup_log:28: DataYours: service: Cache - L_DataCache
2019-10-10 10:35:11.184 luup_log:28: DataYours: service: Dash - L_DataDash
2019-10-10 10:35:11.210 luup_log:28: DataYours: service: Watch - L_DataWatcher
2019-10-10 10:35:11.225 luup_log:28: DataYours: …startup complete
2019-10-10 10:35:11.226 openLuup.scheduler:: [28] DataYours device startup completed: status=true, msg=OK, name=DataYours
2019-10-10 10:35:11.552 luup_log:3: ALTUI: UPNPregisterDataProvider(3,datayours,http://127.0.0.1:3480/data_request?id=lr_DataWatcherRelay&target={0},[{
2019-10-10 10:35:11.553 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DataStorageProviders was: {“Vera@192.168.1.31”:{“url”:"http://127.0.0.1:3480/data_request?id=lr_HTTP_VeraBridgeMirror_192.168.1.31","callback… now: {“datayours”:{“url”:“http://127.0.0.1:3480/data_request?id=lr_DataWatcherRelay&target={0}“,“callback”:”","parameter… #hooks:0
2019-10-10 10:35:11.859 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DataStorageProviders was: {“datayours”:{“url”:“http://127.0.0.1:3480/data_request?id=lr_DataWatcherRelay&target={0}“,“callback”:”","parameter… now: {“thingspeak”:{“url”:””,“callback”:“sendValueToStorage_thingspeak”,“parameters”:[{“type”:“number”,“key”:“channelid”… #hooks:0
2019-10-10 10:35:11.864 luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.VariablesToSend was: urn:micasaverde-com:serviceId:HumiditySensor1#CurrentLevel#0-38#datayours#Vera-88800000.038.urn^micasaverde-com^ser… now: urn:micasaverde-com:serviceId:HumiditySensor1#CurrentLevel#0-38#datayours#Vera-88800000.038.urn^micasaverde-com^ser… #hooks:0
2019-10-10 10:40:11.495 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 16961 now: 8148 #hooks:0
2019-10-10 10:45:11.991 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 8148 now: 11560 #hooks:0
2019-10-10 10:50:12.169 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 11560 now: 17206 #hooks:0
tail: logs/LuaUPnP.log has been replaced; following end of new file
2019-10-10 10:55:12.620 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 17206 now: 8594 #hooks:0
2019-10-10 11:00:12.700 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 8594 now: 8205 #hooks:0
2019-10-10 11:05:13.166 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 8205 now: 13347 #hooks:0
2019-10-10 11:10:13.233 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 13347 now: 16413 #hooks:0
2019-10-10 11:15:13.283 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 16413 now: 10162 #hooks:0
2019-10-10 11:20:13.717 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 10162 now: 15927 #hooks:0
tail: logs/LuaUPnP.log has been replaced; following end of new file
2019-10-10 11:25:13.788 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 15927 now: 7765 #hooks:0
2019-10-10 11:30:13.972 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 7765 now: 14261 #hooks:0
2019-10-10 11:35:14.305 luup.variable_set:: 28.urn:akbooer-com:serviceId:DataYours1.AppMemoryUsed was: 14261 now: 14393 #hooks:0