Juerd / eq3-max

Yet another thing that talks to the "eQ-3 MAX! Cube Lan Gateway"
Other
34 stars 15 forks source link

set room temperature sets temperature for all rooms? #7

Closed Sen5ation closed 4 years ago

Sen5ation commented 5 years ago

Hi,

i got a cube and 2 radiators and 2 windows detectors now . I have 2 rooms setup with the IDs 1 and 2. I run the command "max set room 2 21". Not only room 2 but also room 1 got now the temperature 21 degres. Why is that? Can you reproduce that?

servidge commented 5 years ago

Same setup here and it worked fine. The command should be "max set 2 21" if you want to set room number 2 to 21 degree. With your input "max set room 2 21" perl should give error messages.

Sen5ation commented 5 years ago

I looked into my code today morning and i guess my problem could be, that i run the max set 2 21 with php. So that i have: system("max set 2 ".$value);

i changed it to

$cmd="max set 2 ".$value;
system($cmd);

and it looked good today morning. I'll test it further.

Sen5ation commented 5 years ago

Hmm, I deleted all rooms on the maxcube all thought it seems all good. Now it does what it should do. Thanks for your time ;)