Dashticz v3.10.3 beta

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dashticz v3.10.3 beta

Post by Lokonli »

A new Dashticz beta release with the following new functionality:
  • OpenWeatherMap 3.0 API. See link
  • afvalinfo added as generic garbage company for the Netherlands. See link
See Release Notes
brandsrus
Posts: 20
Joined: Wednesday 27 October 2021 14:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.10.3 beta

Post by brandsrus »

City City name. Mandatory for company ‘afvalinfo’

City must be in lower case! In the config:

Example:

Code: Select all

blocks['garbage'] = {
    title: 'Afvalkalender',
   icon: 'fas fa-trash-alt',
    company: 'afvalinfo',
    city: 'xxxxxx',
    zipcode: 'xxxx xx',
    street: 'xxxxxxx',
    housenumber: xx,
    maxitems: 5,
    width: 12
}
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v3.10.3 beta

Post by EdwinK »

Got an error:

Code: Select all

[spoiler]
garbage.js:1001 Error loading garbage:  {width: 12, hideicon: NaN, company: 'afvalinfo', street: '', housenumber: '', …}
(anonymous) @ garbage.js:1001
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
done @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
load (async)
send @ bundle.js?t=72:309
ajax @ bundle.js?t=72:309
jQuery.each.jQuery.<computed> @ bundle.js?t=72:309
getAfvalInfoData @ garbage.js:275
loadDataForService @ garbage.js:996
refresh @ garbage.js:45
(anonymous) @ dashticz.js:197
fire @ bundle.js?t=72:309
add @ bundle.js?t=72:309
_mountSpecialBlock @ dashticz.js:183
_mount @ dashticz.js:331
addBlock2Column @ blocks.js:105
(anonymous) @ blocks.js:66
getBlock @ blocks.js:64
buildScreens @ main.js:757
onLoad @ main.js:444
(anonymous) @ main.js:276
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
done @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
load (async)
send @ bundle.js?t=72:309
ajax @ bundle.js?t=72:309
loadScript @ dt_function.js:212
loadDTScript @ dt_function.js:222
(anonymous) @ dashticz.js:53
(anonymous) @ dashticz.js:52
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
Deferred.jQuery.each.ne.<computed> @ bundle.js?t=72:309
(anonymous) @ domoticz-api.js:109
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
done @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
load (async)
send @ bundle.js?t=72:309
ajax @ bundle.js?t=72:309
jQuery.each.jQuery.<computed> @ bundle.js?t=72:309
newRequest @ domoticz-api.js:79
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
add @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
Deferred @ bundle.js?t=72:309
then @ bundle.js?t=72:309
domoticzRequest @ domoticz-api.js:56
requestSettings @ domoticz-api.js:509
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
Deferred.jQuery.each.ne.<computed> @ bundle.js?t=72:309
(anonymous) @ domoticz-api.js:109
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
done @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
load (async)
send @ bundle.js?t=72:309
ajax @ bundle.js?t=72:309
jQuery.each.jQuery.<computed> @ bundle.js?t=72:309
newRequest @ domoticz-api.js:79
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
add @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
Deferred @ bundle.js?t=72:309
then @ bundle.js?t=72:309
domoticzRequest @ domoticz-api.js:56
requestSecurityStatus @ domoticz-api.js:499
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
Deferred.jQuery.each.ne.<computed> @ bundle.js?t=72:309
(anonymous) @ domoticz-api.js:109
mightThrow @ bundle.js?t=72:309
le @ bundle.js?t=72:309
setTimeout (async)
(anonymous) @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fire @ bundle.js?t=72:309
fireWith @ bundle.js?t=72:309
done @ bundle.js?t=72:309
(anonymous) @ bundle.js?t=72:309
[/spoiler][/quote]
Last edited by EdwinK on Tuesday 02 May 2023 23:12, edited 2 times in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.10.3 beta

Post by Lokonli »

What's your zipcode?

Verstuurd vanaf mijn SM-A526B met Tapatalk

User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v3.10.3 beta

Post by EdwinK »

3161LH 27
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.10.3 beta

Post by Lokonli »

Can you try with using city: 'Barendrecht'?
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v3.10.3 beta

Post by EdwinK »

Still getting 'garbage.js:1001 Error loading garbage: Object
(anonymous) @ garbage.js:1001
'

in the bottom right screen I can see 'Error loading garbage data: undefined'
Spoiler: show
idth: 12, hideicon: NaN, company: 'afvalinfo', street: '', housenumber: '', …}c: 3clickHandler: truecompany: "afvalinfo"containerClass: "trash"date_separator: ": "defaultGarbage: "kerstboom"garbage: {gft: {…}, rest: {…}, papier: {…}, kerstboom: {…}}gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'}kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'}papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'}rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'}[[Prototype]]: Objecthideicon: NaNhousenumber: ""housenumberSuffix: ""icon_use_colors: 1ignoressl: falsekey: "garbage"layout: 1mapping: {rest: Array(5), gft: Array(7), papier: Array(4), kerstboom: Array(1)}gft: (7) ['gft', 'tuin', 'refuse bin', 'green', 'groen', 'Biodégradables', 'snoei']kerstboom: ['kerst']papier: (4) ['papier', 'blauw', 'blue', 'recycling bin collection']rest: (5) ['grof', 'grey', 'rest', 'grijs', 'grijze'][[Prototype]]: Objectmaxdays: 32maxitems: 5refresh: 14400street: ""type: "garbage"use_colors: 0use_cors_prefix: 1use_names: 0width: 12zipcode: ""[[Prototype]]: Objectconstructor: ƒ Object()assign: ƒ assign()create: ƒ create()defineProperties: ƒ defineProperties()defineProperty: ƒ defineProperty()entries: ƒ entries()freeze: ƒ freeze()fromEntries: ƒ fromEntries()getOwnPropertyDescriptor: ƒ getOwnPropertyDescriptor()getOwnPropertyDescriptors: ƒ getOwnPropertyDescriptors()getOwnPropertyNames: ƒ getOwnPropertyNames()getOwnPropertySymbols: ƒ getOwnPropertySymbols()getPrototypeOf: ƒ getPrototypeOf()hasOwn: ƒ hasOwn()is: ƒ is()isExtensible: ƒ isExtensible()isFrozen: ƒ isFrozen()isSealed: ƒ isSealed()keys: ƒ keys()length: 1name: "Object"preventExtensions: ƒ preventExtensions()prototype: {constructor: ƒ, __defineGetter__: ƒ, __defineSetter__: ƒ, hasOwnProperty: ƒ, __lookupGetter__: ƒ, …}seal: ƒ seal()setPrototypeOf: ƒ setPrototypeOf()values: ƒ values()arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]hasOwnProperty: ƒ hasOwnProperty()length: 1name: "hasOwnProperty"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]isPrototypeOf: ƒ isPrototypeOf()length: 1name: "isPrototypeOf"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]propertyIsEnumerable: ƒ propertyIsEnumerable()length: 1name: "propertyIsEnumerable"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]toLocaleString: ƒ toLocaleString()length: 0name: "toLocaleString"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]toString: ƒ toString()length: 0name: "toString"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]valueOf: ƒ valueOf()length: 0name: "valueOf"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]__defineGetter__: ƒ __defineGetter__()length: 2name: "__defineGetter__"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]__defineSetter__: ƒ __defineSetter__()length: 2name: "__defineSetter__"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]__lookupGetter__: ƒ __lookupGetter__()length: 1name: "__lookupGetter__"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]__lookupSetter__: ƒ __lookupSetter__()length: 1name: "__lookupSetter__"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]__proto__: (...)get __proto__: ƒ __proto__()length: 0name: "get __proto__"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]set __proto__: ƒ __proto__()length: 1name: "set __proto__"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]
(
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v3.10.3 beta

Post by EdwinK »

Fixed :)

I accidentally put the block in the config part of CUSTOM.js, so it was cleared later on.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest