Dial shows wrong value Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
isis59
Posts: 2
Joined: Sunday 22 October 2017 22:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dial shows wrong value

Post by isis59 »

Hi,

I have a problem with a dial block.
The IDX is the right one. It modifies the value of my temp meter, but once updated, it goes back to a wrong value...

here's the script of the block :

Code: Select all

blocks['tempSalon'] = {
        type: 'dial',
        idx: 445,
        title: 'Thermostat',
        temp: 595,
        width: 8,
        showunit: true,
        values: [
        {
                idx: 595,
                value: 'Humidity',
                label: 'Hum.',
                unit: '(%)',
        },
]
}

Thanks for your help.

I'm running the last 2022.2 domoticz version, and the last dashticz version.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dial shows wrong value

Post by HansieNL »

You can use the dial to set the temperature yourself (setpoint) or Domoticz can send new temperature value. Maybe Domoticz did just sent new temperature value when you tried to set the setpoint.
Can you try with config['enable_websocket'] = 0; to see if you still have the problem.
Blah blah blah
isis59
Posts: 2
Joined: Sunday 22 October 2017 22:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dial shows wrong value

Post by isis59 »

Hi,

Yes, if i modify the value in domoticz, it is sent to dashticz, but this value was bad interpreted.
Following your answer, I just checked and modified the definition of the dial. I don't know exactly why, but t seems to be good now.
Thanks for your help.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest