Search found 6 matches

by logger02
Thursday 17 November 2016 11:43
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 34034

Re: Domoticz - air conditioning control

You are welcome ;)
by logger02
Wednesday 16 November 2016 20:19
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 34034

Re: Domoticz - air conditioning control

Im not sure, but I think that your script is ok. The problem can be in other part.

What is the name of your script? you can try a name like "script_device_heatpumpalt.lua"
by logger02
Wednesday 16 November 2016 13:30
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 34034

Re: Domoticz - air conditioning control

I can see in your log that there is no fail now.

Code: Select all

   2016-11-16 09:06:29.031 (MySensors) Lighting 2 (IRsend)  


Are you sure that the text sensor is not updating now?

To print you can use: print(otherdevices_idx[textDev])
by logger02
Tuesday 15 November 2016 19:22
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 34034

Re: Domoticz - air conditioning control

"AC_model" is to select the model of the heatpump becuase in the arduino I can use all heatpump What happen if you print "otherdevices_idx[textDev]"? it's null or it's the value of idx that you have in the devices window. I have some problems because the text sensor wasn't connected to the gateway ...
by logger02
Monday 14 November 2016 22:22
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 34034

Re: Domoticz - air conditioning control

Try my script. I use your script with a little modification: -- These are the configuration variables, set them according to your system -- Mode command modelCmd = '13' --fuego -- Name of the devices from MySensor textDev = 'acIRcmd' irSendDev = 'acIRset' -- Name of the dummy Devices AC_Model = 'AC ...
by logger02
Saturday 12 November 2016 17:20
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 34034

Re: Domoticz - air conditioning control

Maybe you have found the solution, but could be useful for other user:

In the line: commandArray['UpdateDevice'] = otherdevices_idx[textDev] .. '|0|' .. modeCmd
change for: commandArray[otherdevices_idx[textDev]] = {['UpdateDevice'] = otherdevices_idx[textDev] .. '|0|' .. modeCmd }