Decimal Separator

#1

How do I change the decimal separator to a comma instead of a point. I am running a german locale on my raspberry, but this didn't change anything.
Reagrds,
Torsten

0 Likes

#2

You haven't told us where. However, assuming that you mean in Dashboard or maybe the admin interface, you need to change the locale on your browser too. That may come from the OS locale setting.

0 Likes

#3

Sorry, I am talking about the dashboard, and it is not the browser, since this is German Chrome on German Windows 10. The client does not matter. It must be the settings on the raspberry where my NODE-RED is installed.
Regards, Torsten

0 Likes

#4

OK, then you need to show us a flow I think so we can look at it.

0 Likes

#5

Hi, please find an example attached. It is the step "Geblockte Requests" that shows the decimal. Since I cannot upload ... Please find it here:

[
    {
        "id": "efbd8c1d.828db",
        "type": "tab",
        "label": "pihole",
        "disabled": false,
        "info": ""
    },
    {
        "id": "19f2b200.eb0f7e",
        "type": "http request",
        "z": "efbd8c1d.828db",
        "name": "pi-hole/summaryRAW",
        "method": "GET",
        "ret": "obj",
        "url": "http://192.168.xxx.xxx/admin/api.php?summaryRaw&auth=xxx",
        "tls": "",
        "x": 380,
        "y": 40,
        "wires": [
            [
                "ff07f62d.cd6b28",
                "2dc978f1.294718",
                "7813f118.6be0d",
                "3fa07ddb.b1e382"
            ]
        ]
    },
    {
        "id": "c7dd59c2.8ba468",
        "type": "inject",
        "z": "efbd8c1d.828db",
        "name": "alle 10 Sekunden",
        "topic": "",
        "payload": "",
        "payloadType": "num",
        "repeat": "10",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "x": 150,
        "y": 40,
        "wires": [
            [
                "19f2b200.eb0f7e"
            ]
        ]
    },
    {
        "id": "4304973b.132318",
        "type": "ui_text",
        "z": "efbd8c1d.828db",
        "group": "e68b880f.fb9558",
        "order": 1,
        "width": "0",
        "height": "0",
        "name": "",
        "label": "Geblockte Domains:",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "x": 1000,
        "y": 40,
        "wires": []
    },
    {
        "id": "aae52c5c.ce5c8",
        "type": "ui_gauge",
        "z": "efbd8c1d.828db",
        "name": "",
        "group": "e68b880f.fb9558",
        "order": 6,
        "width": 0,
        "height": 0,
        "gtype": "gage",
        "title": "Geblockte Requests",
        "label": "",
        "format": "{{value | number:1}}%",
        "min": 0,
        "max": "100",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 1000,
        "y": 160,
        "wires": []
    },
    {
        "id": "ff07f62d.cd6b28",
        "type": "function",
        "z": "efbd8c1d.828db",
        "name": "extract domains_being_blocked",
        "func": "return {payload: msg.payload.domains_being_blocked};",
        "outputs": 1,
        "noerr": 0,
        "x": 690,
        "y": 40,
        "wires": [
            [
                "4304973b.132318"
            ]
        ]
    },
    {
        "id": "2dc978f1.294718",
        "type": "function",
        "z": "efbd8c1d.828db",
        "name": "extract ads_percentage_today",
        "func": "return {payload: msg.payload.ads_percentage_today};",
        "outputs": 1,
        "noerr": 0,
        "x": 690,
        "y": 160,
        "wires": [
            [
                "aae52c5c.ce5c8"
            ]
        ]
    },
    {
        "id": "59295518.763bec",
        "type": "ui_text",
        "z": "efbd8c1d.828db",
        "group": "e68b880f.fb9558",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Gesamt DNS Abfragen",
        "label": "Gesamt DNS Abfragen",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "x": 1000,
        "y": 80,
        "wires": []
    },
    {
        "id": "aacb27bc.ab9548",
        "type": "ui_text",
        "z": "efbd8c1d.828db",
        "group": "e68b880f.fb9558",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Geblockte DNS Abfragen",
        "label": "Geblockte DNS Abfragen",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "x": 1010,
        "y": 120,
        "wires": []
    },
    {
        "id": "7813f118.6be0d",
        "type": "function",
        "z": "efbd8c1d.828db",
        "name": "extract dns_queries_today",
        "func": "return {payload: msg.payload.dns_queries_today};",
        "outputs": 1,
        "noerr": 0,
        "x": 680,
        "y": 80,
        "wires": [
            [
                "59295518.763bec"
            ]
        ]
    },
    {
        "id": "3fa07ddb.b1e382",
        "type": "function",
        "z": "efbd8c1d.828db",
        "name": "extract ads_blocked_today",
        "func": "return { payload: msg.payload.ads_blocked_today};",
        "outputs": 1,
        "noerr": 0,
        "x": 680,
        "y": 120,
        "wires": [
            [
                "aacb27bc.ab9548"
            ]
        ]
    },
    {
        "id": "340cfc33.732d74",
        "type": "ui_text",
        "z": "efbd8c1d.828db",
        "group": "e68b880f.fb9558",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "IP V4",
        "label": "IP V4:",
        "format": "192.168.111.3",
        "layout": "row-spread",
        "x": 950,
        "y": 200,
        "wires": []
    },
    {
        "id": "9a36e83a.6dce08",
        "type": "inject",
        "z": "efbd8c1d.828db",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "x": 130,
        "y": 200,
        "wires": [
            [
                "340cfc33.732d74"
            ]
        ]
    },
    {
        "id": "77620db3.393af4",
        "type": "ui_text",
        "z": "efbd8c1d.828db",
        "group": "e68b880f.fb9558",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "IP V6",
        "label": "IP V6:",
        "format": "2a02:810d:580:2190:45a4:e28:508e:1da3",
        "layout": "row-spread",
        "x": 950,
        "y": 240,
        "wires": []
    },
    {
        "id": "308fd1bc.85f52e",
        "type": "inject",
        "z": "efbd8c1d.828db",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "x": 130,
        "y": 240,
        "wires": [
            [
                "77620db3.393af4"
            ]
        ]
    },
    {
        "id": "e68b880f.fb9558",
        "type": "ui_group",
        "z": "",
        "name": "DNS Proxy",
        "tab": "6b0b7cfa.bb4434",
        "disp": true,
        "width": "8",
        "collapse": true
    },
    {
        "id": "6b0b7cfa.bb4434",
        "type": "ui_tab",
        "z": "",
        "name": "Netzwerk",
        "icon": "language",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]
0 Likes