kinou74 / Domoticz-Palazzetti

Domoticz Python Plugin for Palazzetti Connection Box
GNU General Public License v3.0
8 stars 3 forks source link

error when back to back writes are done (power and fan levels updates) #7

Open vfd7 opened 3 years ago

vfd7 commented 3 years ago

Hi Kinou74,

Based on your very good plugin, I have written a thermostat script in domoticz (script_device) which controls the stove (power level, fan level, ON, OFF) based on temperature measurement taken by an oregon device.

Everything works fine except when I want to change the power level and the fan level. (if the room temp is low, I want to increase the power and fan levels)

The script does these 2 updates in a row but I often I error message and the connection is often resetted.

I am wondering if I need to have a tempo (1s ??) between the 2 commands in order to be sure that the first command has been properly executed before the second one is launch. I contact you to get your feedback because you might have noticed this behavior.

Thank you very much. vfd7

skarab22 commented 3 years ago

Have you notice that when you change the power value from 3 with a fan value at to 5 the fan speed turn automatically at 2. I know that it's not respond to your question but personally I never put the fan more than 2 because I found it two noisy