Search found 4 matches
- Sunday 08 January 2023 18:17
- Forum: Dashticz
- Topic: Compare gas/electricity usage with certain limits per day/week
- Replies: 3
- Views: 352
Re: Compare gas/electricity usage with certain limits per day/week
You could solve that with one or more custom functions, similar to what I was asking for here: https://www.domoticz.com/forum/viewtopic.php?t=39690 The list you can either read from disk (just save it as csv or json next to your custom.js file). Since the data will not change for the entire year, I ...
- Sunday 08 January 2023 18:08
- Forum: Dashticz
- Topic: Struggle with custom getStatus function β never called
- Replies: 4
- Views: 295
- Saturday 07 January 2023 12:57
- Forum: Dashticz
- Topic: Struggle with custom getStatus function β never called
- Replies: 4
- Views: 295
Re: Struggle with custom getStatus function β never called
However, the data for a custom graph are calculated by the javascript function 'eval' meaning you can call any function. For instance: total: "(d\.v_101*getValue1())+(d\.v2_97*getValue2())-(d\.r2_97*getValue3())+(d\.v_97*getValue4())-(d\.r1_97*getValue5())", and then just define the getValuex ...
- Thursday 05 January 2023 9:10
- Forum: Dashticz
- Topic: Struggle with custom getStatus function β never called
- Replies: 4
- Views: 295
Struggle with custom getStatus function β never called
I'm working on an energy dashboard and would like to adjust price per m3 / price per kWh based on dates. If I understand correctly, this is what getStatus in the custom\.js is made for. Bare minimum config file I have right now: var config = {}; config["domoticz_ip"] = "[xxxxxx]"; blocks["costs ...