Page 1 of 1

Dial shows wrong value

Posted: Saturday 12 November 2022 21:41
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.

Re: Dial shows wrong value

Posted: Sunday 13 November 2022 13:58
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.

Re: Dial shows wrong value

Posted: Friday 18 November 2022 9:32
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.