Clicking on Datawatch, datacache, datagraph and datadash doesnt actually do anything using the Chrome browser, if you open a console log on chrome the buttons then work but you get errors in the console, they are all about the location of icons but on my machine I donre have the directories listed
DataYours has a variable ICON_PATH which is set, by default, to the path that you show. Under openLuup, that directory does not, by default, exist, but the icons should be in /etc/cmh-ludl/icons/.
well they werent on my machine anywhere - so I went to [url=https://github.com/akbooer/DataYours]https://github.com/akbooer/DataYours[/url] and downloaded them (had to open and save image as - gave me an error when I tried to download them any other way)
Changed the path in the variable and put them on the path but no luck
Looking at the console in chrome - it dosent appear to be using port 3480 and get connection refused rather than not found
regards
Nik
edit: I didnt even have the datayours icon locally - looking in your datayours.json - that icon was being pulled from your Github I think
edit2 Line 1106 datadash.lua adding a couple of lines above and line under this line - icons load ok - see attachment - works fine in FFox but chrome still needs developer tools/console open - but doesnt show any erroes
local tempIp = myIP
myIP=‘192.168.2.222:3480’
local content = {img = {src = table.concat {"http://", myIP, icon_path, name, ".png"}, alt = name}}
myIP=tempIP
so
1106 local content = {img = {src = table.concat {"http://", myIP.."3480", icon_path, name, ".png"}, alt = name}}
solves the Icon issue in both Firefox and chrome and the 4 screens open fine in Firefox but not without developer console in chrome
dunno will try - took me a little while to fine where it loaded it
as a workaround - Yeah that works - at least for Firefox - chrome still wont open the datawatcher… datacache… pages without the development console open ;D
Best Home Automation shopping experience. Shop at Ezlo!