Page 70 of 184
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 9:29
by poudenes
In last update the NEWS RSS Feed doesn't work here. Others have same issues? if not can someone send me a config so i can check if i do it correct in new update.
On OSX i can see a whole list of news, but not a small line with scrolling news items. On Android Tablet no news at all... Using chrome and firefox to test it.. nothing work
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 15:27
by gielie
oh crap, just did a git pull and now my CONFIG.js is overwritten, i never had this before. Allright start from scratch again.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 15:30
by SwordFish
I noticed that my graph isn't working after i put in the config 'graph_29'. It is only showing
- Knipsel.JPG (15.21 KiB) Viewed 1852 times
This is the output
Code: Select all
{
"ActTime" : 1493040354,
"ServerTime" : "2017-04-24 15:25:54",
"Sunrise" : "06:25",
"Sunset" : "20:50",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "4.253 kWh",
"CustomImage" : 0,
"Data" : "5842.296 kWh",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 11,
"HardwareName" : "MySensor gateway begane grond",
"HardwareType" : "MySensors Gateway USB",
"HardwareTypeVal" : 41,
"HaveTimeout" : false,
"ID" : "00000101",
"LastUpdate" : "2017-04-24 15:25:46",
"Name" : "Huidig verbruik",
"Notifications" : "false",
"Options" : "",
"PlanID" : "13",
"PlanIDs" : [ 13 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "198.0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "29"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ValueQuantity" : "",
"ValueUnits" : "",
"method" : 0,
"result" : [
{
"d" : "2017-04-23 15:00",
"v" : "200.000"
},
{
"d" : "2017-04-23 16:00",
"v" : "1202.000"
},
{
"d" : "2017-04-23 17:00",
"v" : "2130.000"
},
{
"d" : "2017-04-23 18:00",
"v" : "1574.000"
},
{
"d" : "2017-04-23 19:00",
"v" : "342.000"
},
{
"d" : "2017-04-23 20:00",
"v" : "382.000"
},
{
"d" : "2017-04-23 21:00",
"v" : "512.000"
},
{
"d" : "2017-04-23 22:00",
"v" : "807.000"
},
{
"d" : "2017-04-23 23:00",
"v" : "322.000"
},
{
"d" : "2017-04-24 00:00",
"v" : "558.000"
},
{
"d" : "2017-04-24 01:00",
"v" : "190.000"
},
{
"d" : "2017-04-24 02:00",
"v" : "171.000"
},
{
"d" : "2017-04-24 03:00",
"v" : "172.000"
},
{
"d" : "2017-04-24 04:00",
"v" : "168.000"
},
{
"d" : "2017-04-24 05:00",
"v" : "164.000"
},
{
"d" : "2017-04-24 06:00",
"v" : "197.000"
},
{
"d" : "2017-04-24 07:00",
"v" : "462.000"
},
{
"d" : "2017-04-24 08:00",
"v" : "356.000"
},
{
"d" : "2017-04-24 09:00",
"v" : "221.000"
},
{
"d" : "2017-04-24 10:00",
"v" : "205.000"
},
{
"d" : "2017-04-24 11:00",
"v" : "207.000"
},
{
"d" : "2017-04-24 12:00",
"v" : "255.000"
},
{
"d" : "2017-04-24 13:00",
"v" : "260.000"
},
{
"d" : "2017-04-24 14:00",
"v" : "244.000"
}
],
"status" : "OK",
"title" : "Graph counter day"
}
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 15:47
by SwordFish
SwordFish wrote:I noticed that my graph isn't working after i put in the config 'graph_29'. It is only showing
Knipsel.JPG
This is the output
Code: Select all
{
"ActTime" : 1493040354,
"ServerTime" : "2017-04-24 15:25:54",
"Sunrise" : "06:25",
"Sunset" : "20:50",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "4.253 kWh",
"CustomImage" : 0,
"Data" : "5842.296 kWh",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 11,
"HardwareName" : "MySensor gateway begane grond",
"HardwareType" : "MySensors Gateway USB",
"HardwareTypeVal" : 41,
"HaveTimeout" : false,
"ID" : "00000101",
"LastUpdate" : "2017-04-24 15:25:46",
"Name" : "Huidig verbruik",
"Notifications" : "false",
"Options" : "",
"PlanID" : "13",
"PlanIDs" : [ 13 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "198.0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "29"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ValueQuantity" : "",
"ValueUnits" : "",
"method" : 0,
"result" : [
{
"d" : "2017-04-23 15:00",
"v" : "200.000"
},
{
"d" : "2017-04-23 16:00",
"v" : "1202.000"
},
{
"d" : "2017-04-23 17:00",
"v" : "2130.000"
},
{
"d" : "2017-04-23 18:00",
"v" : "1574.000"
},
{
"d" : "2017-04-23 19:00",
"v" : "342.000"
},
{
"d" : "2017-04-23 20:00",
"v" : "382.000"
},
{
"d" : "2017-04-23 21:00",
"v" : "512.000"
},
{
"d" : "2017-04-23 22:00",
"v" : "807.000"
},
{
"d" : "2017-04-23 23:00",
"v" : "322.000"
},
{
"d" : "2017-04-24 00:00",
"v" : "558.000"
},
{
"d" : "2017-04-24 01:00",
"v" : "190.000"
},
{
"d" : "2017-04-24 02:00",
"v" : "171.000"
},
{
"d" : "2017-04-24 03:00",
"v" : "172.000"
},
{
"d" : "2017-04-24 04:00",
"v" : "168.000"
},
{
"d" : "2017-04-24 05:00",
"v" : "164.000"
},
{
"d" : "2017-04-24 06:00",
"v" : "197.000"
},
{
"d" : "2017-04-24 07:00",
"v" : "462.000"
},
{
"d" : "2017-04-24 08:00",
"v" : "356.000"
},
{
"d" : "2017-04-24 09:00",
"v" : "221.000"
},
{
"d" : "2017-04-24 10:00",
"v" : "205.000"
},
{
"d" : "2017-04-24 11:00",
"v" : "207.000"
},
{
"d" : "2017-04-24 12:00",
"v" : "255.000"
},
{
"d" : "2017-04-24 13:00",
"v" : "260.000"
},
{
"d" : "2017-04-24 14:00",
"v" : "244.000"
}
],
"status" : "OK",
"title" : "Graph counter day"
}
Edit:
nevermind, its working
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 15:49
by SwordFish
[quote="SwordFish"][quote="SwordFish"]I noticed that my graph isn't working after i put in the config 'graph_29'. It is only showing
Knipsel.JPG
This is the output
Code: Select all
{
"ActTime" : 1493040354,
"ServerTime" : "2017-04-24 15:25:54",
"Sunrise" : "06:25",
"Sunset" : "20:50",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "4.253 kWh",
"CustomImage" : 0,
"Data" : "5842.296 kWh",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 11,
"HardwareName" : "MySensor gateway begane grond",
"HardwareType" : "MySensors Gateway USB",
"HardwareTypeVal" : 41,
"HaveTimeout" : false,
"ID" : "00000101",
"LastUpdate" : "2017-04-24 15:25:46",
"Name" : "Huidig verbruik",
"Notifications" : "false",
"Options" : "",
"PlanID" : "13",
"PlanIDs" : [ 13 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "198.0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "29"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ValueQuantity" : "",
"ValueUnits" : "",
"method" : 0,
"result" : [
{
"d" : "2017-04-23 15:00",
"v" : "200.000"
},
{
"d" : "2017-04-23 16:00",
"v" : "1202.000"
},
{
"d" : "2017-04-23 17:00",
"v" : "2130.000"
},
{
"d" : "2017-04-23 18:00",
"v" : "1574.000"
},
{
"d" : "2017-04-23 19:00",
"v" : "342.000"
},
{
"d" : "2017-04-23 20:00",
"v" : "382.000"
},
{
"d" : "2017-04-23 21:00",
"v" : "512.000"
},
{
"d" : "2017-04-23 22:00",
"v" : "807.000"
},
{
"d" : "2017-04-23 23:00",
"v" : "322.000"
},
{
"d" : "2017-04-24 00:00",
"v" : "558.000"
},
{
"d" : "2017-04-24 01:00",
"v" : "190.000"
},
{
"d" : "2017-04-24 02:00",
"v" : "171.000"
},
{
"d" : "2017-04-24 03:00",
"v" : "172.000"
},
{
"d" : "2017-04-24 04:00",
"v" : "168.000"
},
{
"d" : "2017-04-24 05:00",
"v" : "164.000"
},
{
"d" : "2017-04-24 06:00",
"v" : "197.000"
},
{
"d" : "2017-04-24 07:00",
"v" : "462.000"
},
{
"d" : "2017-04-24 08:00",
"v" : "356.000"
},
{
"d" : "2017-04-24 09:00",
"v" : "221.000"
},
{
"d" : "2017-04-24 10:00",
"v" : "205.000"
},
{
"d" : "2017-04-24 11:00",
"v" : "207.000"
},
{
"d" : "2017-04-24 12:00",
"v" : "255.000"
},
{
"d" : "2017-04-24 13:00",
"v" : "260.000"
},
{
"d" : "2017-04-24 14:00",
"v" : "244.000"
}
],
"status" : "OK",
"title" : "Graph counter day"
}
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 15:51
by SwordFish
I noticed that my graph isn't working after i put in the config 'graph_29'. It is only showing
- Knipsel.JPG (15.21 KiB) Viewed 1847 times
This is the output
Code: Select all
{
"ActTime" : 1493040354,
"ServerTime" : "2017-04-24 15:25:54",
"Sunrise" : "06:25",
"Sunset" : "20:50",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CounterToday" : "4.253 kWh",
"CustomImage" : 0,
"Data" : "5842.296 kWh",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 11,
"HardwareName" : "MySensor gateway begane grond",
"HardwareType" : "MySensors Gateway USB",
"HardwareTypeVal" : 41,
"HaveTimeout" : false,
"ID" : "00000101",
"LastUpdate" : "2017-04-24 15:25:46",
"Name" : "Huidig verbruik",
"Notifications" : "false",
"Options" : "",
"PlanID" : "13",
"PlanIDs" : [ 13 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "198.0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "29"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ValueQuantity" : "",
"ValueUnits" : "",
"method" : 0,
"result" : [
{
"d" : "2017-04-23 15:00",
"v" : "200.000"
},
{
"d" : "2017-04-23 16:00",
"v" : "1202.000"
},
{
"d" : "2017-04-23 17:00",
"v" : "2130.000"
},
{
"d" : "2017-04-23 18:00",
"v" : "1574.000"
},
{
"d" : "2017-04-23 19:00",
"v" : "342.000"
},
{
"d" : "2017-04-23 20:00",
"v" : "382.000"
},
{
"d" : "2017-04-23 21:00",
"v" : "512.000"
},
{
"d" : "2017-04-23 22:00",
"v" : "807.000"
},
{
"d" : "2017-04-23 23:00",
"v" : "322.000"
},
{
"d" : "2017-04-24 00:00",
"v" : "558.000"
},
{
"d" : "2017-04-24 01:00",
"v" : "190.000"
},
{
"d" : "2017-04-24 02:00",
"v" : "171.000"
},
{
"d" : "2017-04-24 03:00",
"v" : "172.000"
},
{
"d" : "2017-04-24 04:00",
"v" : "168.000"
},
{
"d" : "2017-04-24 05:00",
"v" : "164.000"
},
{
"d" : "2017-04-24 06:00",
"v" : "197.000"
},
{
"d" : "2017-04-24 07:00",
"v" : "462.000"
},
{
"d" : "2017-04-24 08:00",
"v" : "356.000"
},
{
"d" : "2017-04-24 09:00",
"v" : "221.000"
},
{
"d" : "2017-04-24 10:00",
"v" : "205.000"
},
{
"d" : "2017-04-24 11:00",
"v" : "207.000"
},
{
"d" : "2017-04-24 12:00",
"v" : "255.000"
},
{
"d" : "2017-04-24 13:00",
"v" : "260.000"
},
{
"d" : "2017-04-24 14:00",
"v" : "244.000"
}
],
"status" : "OK",
"title" : "Graph counter day"
}
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 15:54
by SwordFish
Sorry something went really wrong
But it is still not working
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 17:05
by HansieNL
gielie wrote:oh crap, just did a git pull and now my CONFIG.js is overwritten, i never had this before. Allright start from scratch again.
I've several backup scipts. This is one for example...
Code: Select all
#!/bin/bash
### PLACE THIS SCRIPT IN:/home/pi/domoticz/scripts as Dashticz_backup.sh
echo -e "\n\e[1;33mCopying Dashticz customized files. Please standby...\e[0m\n"
cp /home/pi/domoticz/www/dashboard/CONFIG.js /backupz/dashticz
mkdir -p /backupz/dashticz/css
cp /home/pi/domoticz/www/dashboard/css/custom.css /backupz/dashticz/css
mkdir -p /backupz/dashticz/js
cp /home/pi/domoticz/www/dashboard/js/custom.js /backupz/dashticz/js
mkdir -p /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/bg0.jpg /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/bg9.jpg /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/desktop.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/duffy.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/emergency.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/f1_logo.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/homey.jpg /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/notebook.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/sleep.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/sleep2.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/switch.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/switch_off.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/switch_on.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/toon.png /backupz/dashticz/img
cp /home/pi/domoticz/www/dashboard/img/tv.png /backupz/dashticz/img
echo -e "\n\e[1;33mCopying Dashticz customized files finished!\e[0m\n"
This is part of my menu script...
Code: Select all
cd ~/domoticz/www/dashboard
git pull
cp -R /backupz/dashticz/* /home/pi/domoticz/www/dashboard
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 17:09
by SwordFish
The graph is working, i noticed that it takes some time to load on my tablet.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 17:57
by Ierlandfan
I was thinking about a code for showing the traffic layer on top of Google Maps.
It's probably as simple as this
Code: Select all
$.ajax('https://crossorigin.me/https://maps.googleapis.com/maps/api/js?sensor=false', {
success:function(data) {
RefreshSwitchData();
var map = new google.maps.Map(document.getElementById('map'), {
mapTypeId: google.maps.MapTypeId.TERRAIN,
zoom: $.ZoomLevel
});
var trafficLayer = new google.maps.TrafficLayer();
trafficLayer.setMap(map);
var geocoder = new google.maps.Geocoder();
geocoder.geocode({
'address': $.Address
},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
new google.maps.Marker({
position: results[0].geometry.location,
map: map
});
map.setCenter(results[0].geometry.location);
} else {}
});
And then do some formatting to show it
Anybody who's more experienced in javascript to help me here?
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 19:58
by SwordFish
Is it possible to change the color of the graph line?
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 20:06
by maluko
and what about a clikable sound when we click on blinds? or a popup.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 20:06
by mvveelen
poudenes wrote:In last update the NEWS RSS Feed doesn't work here. Others have same issues? if not can someone send me a config so i can check if i do it correct in new update.
On OSX i can see a whole list of news, but not a small line with scrolling news items. On Android Tablet no news at all... Using chrome and firefox to test it.. nothing work
If someone could post a working config or a step-by-step how-to to get news from Telegraaf.nl or Nu.nl working, that would be great. Somehow it won't work on my setup.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 20:13
by madrian
I am thinking on a prev/next (play?) button for RSS feed + it should stop the scrolling if you click on any of these buttons.
If you find it useful, maybe Rob should write on their Trello.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 22:06
by b00n
Is it possible to make the blocks bigger like:
And put the temp and humi in one box like:
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 22:13
by TapNL
Ierlandfan wrote:I was thinking about a code for showing the traffic layer on top of Google Maps.
It's probably as simple as this
Code: Select all
$.ajax('https://crossorigin.me/https://maps.googleapis.com/maps/api/js?sensor=false', {
success:function(data) {
RefreshSwitchData();
var map = new google.maps.Map(document.getElementById('map'), {
mapTypeId: google.maps.MapTypeId.TERRAIN,
zoom: $.ZoomLevel
});
var trafficLayer = new google.maps.TrafficLayer();
trafficLayer.setMap(map);
var geocoder = new google.maps.Geocoder();
geocoder.geocode({
'address': $.Address
},
function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
new google.maps.Marker({
position: results[0].geometry.location,
map: map
});
map.setCenter(results[0].geometry.location);
} else {}
});
And then do some formatting to show it
Anybody who's more experienced in javascript to help me here?
Google has a script for that - you need to register and get an api key.
See the script below and the link. It should not be to hard to implement. Will give it a try and come back to you.
By the way I really love this Dashboard - found it about two weeks ago and this was exactly what I was looking for.
@Rob: thank you for all the good work!
Code: Select all
https://developers.google.com/maps/documentation/javascript/examples/layer-traffic
Code: Select all
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Traffic layer</title>
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
height: 100%;
}
/* Optional: Makes the sample page fill the window. */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 13,
center: {lat: 34.04924594193164, lng: -118.24104309082031}
});
var trafficLayer = new google.maps.TrafficLayer();
trafficLayer.setMap(map);
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap">
</script>
</body>
</html>
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 23:01
by mkscity
is it somehow possible to show more infos for moon phase?
Actually i have the following visible:
And this code in custom.js:
Code: Select all
function getExtendedBlockTypes(blocktypes){
blocktypes.Name['Download'] = { icon: 'fa fa-download', title: '<Name>', value: '<Data>' }
blocktypes.Name['Mondphase'] = { icon: 'fa fa-moon-o', title: '<Name>', value: '<Data>' }
blocktypes.Name['Mondaufgang'] = { icon: 'fa fa-moon-o', title: '<Data>', value: '<Name>' }
return blocktypes;
}
But whatever i try to add for showing correct values for "Mondaufgang" and "Monduntergang" i see only switches.
Same Problem is actually that order is not changed, it shows always first <Data> then <Name>
Switch is set to true in config.js.
Code: Select all
//Mondphase
blocks[192] = {}
blocks[192]['width'] = 6;
blocks[192]['switch'] = true;
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Monday 24 April 2017 23:06
by robgeerts
Giving back some time to my clients so I'm not answering every hour but I read all your posts and will update again tomorrow or wednesday. Although, good to see that most of your questions are answered by others and users come up with great ideas!
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Tuesday 25 April 2017 1:50
by HansieNL
mkscity wrote:is it somehow possible to show more infos for moon phase?
I had same problem with Dutch texts. Can you try these settings? Don't forget to change the idx to yours.
blocks[idx] = {} //Mondaufgang
blocks[idx]['switch'] = true;
blocks[idx]['icon'] = 'fa-moon-o';
blocks[idx] = {} //Monduntergang
blocks[idx]['switch'] = true;
blocks[idx]['icon'] = 'fa-moon-o';
blocktypes.Name['Mondaufgang'] = { icon: 'fa-moon-o', title: '<Name>', value: '<Data>' }
blocktypes.Name['Monduntergang'] = { icon: 'fa-moon-o', title: '<Name>', value: '<Data>' }
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Tuesday 25 April 2017 7:41
by Maartenkr
HansieNL wrote:Maartenkr wrote:DvD wrote:Moon LUA script working but in Dashboard no Picture is displayed. I can see the picture frame but there is no moon in it.
What am I doing wrong ?
I have the same problem
Have you both installed latest Dashticz version?
The moon.XX.png pictures should be installed in subfolder of image folder. If you don't have this folder there are no pictures to load.
@Maartenkr: I don't see a picture frame on your image. There must be something else wrong.
I can not find it. What do you need to fill in the config file at the follow line?
Code: Select all
var _IDXmoonpicture = 12; //index of the uservariabele MoonPicture