Page 1 of 2

Condition with minus celcius

PostPosted: Tue Oct 10, 2017 12:06 pm
by mortenkols
Im setting up and condition based on the outside temperature. But I can't get it to execute. its working if the temperature is between 0-100 degrees, but when i try between -6 and 7 nothing happen. The outside temp is around 5 degrees now.

What is wrong with my condition ?

Re: Condition with minus celcius

PostPosted: Tue Oct 10, 2017 3:34 pm
by matt (support)
Could the problem be that the "-" in front of the 6 is a hyphen and not a minus/negative sign? Does it work if you change it from -6 to 0 (given then current temperature is around 5 degrees)?

Re: Condition with minus celcius

PostPosted: Tue Oct 10, 2017 3:41 pm
by mortenkols
yes. it works if I set the condition from 0 to 6. what sign should I use as negative?

Re: Condition with minus celcius

PostPosted: Tue Oct 10, 2017 3:52 pm
by matt (support)
Just the key to the right of the zero key.

Re: Condition with minus celcius

PostPosted: Tue Oct 10, 2017 10:57 pm
by mortenkols
I have tryed this ‘-‘ sign.

Re: Condition with minus celcius

PostPosted: Wed Oct 11, 2017 2:27 pm
by matt (support)
I just tried, and I'm unable to reproduce this problem. Using a negative value for the lower bounds of a between conditional worked correctly here.

Are you accessing the Indigo Server from the Indigo Client (GUI) on the same Mac? I'm wondering if an extra invisible character is getting entered in the edit field before or after the number somehow. That is the only way I can think that it would fail to recognize the entry as a number.

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 3:53 am
by mortenkols
Im accessing indigo server from a remote macbook air. Indigo server is on a mac mini with no display

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 6:29 am
by matt (support)
I think that might be the problem. We've had problems with screen sharing inserting invisible characters on the registration code entry dialog, so the same thing might be happening here.

Are you accessing it remotely using the Indigo client, or via screen sharing?

Maybe try copy/pasting the entire value "-6" to see if that gives a different result?

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 10:51 am
by mortenkols
I have tried indigo client, screen sharing and copy the value you posted. I have also connected mouse and keyboard to the Mac mini server. nothing works.

As you can se from the two pictures, the minus sign changing(longer minus sign) after i save the schedule, if you understand me.

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 10:52 am
by matt (support)
What version of Indigo are you running?

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 10:55 am
by mortenkols
se my last post again. I edited it with another picture.

I use 7.0.3

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 11:05 am
by matt (support)
Get it into the state where it is failing (condition evaluation should be true but isn't working), then choose the Indigo 7->Stop Server menu item and email us (support AT indigodomo DOT com) your database file. We'll try to reproduce it here with your database.

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 11:17 am
by mortenkols
i have sent the database now.

I think the problem is that the minus sign is changing format.

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 11:33 am
by FlyingDiver
Go to System Preferences, Keyboard Panel, Text tab. Check for a substitution there. Also try unchecking the "Use smart quotes and dashes" box.

Re: Condition with minus celcius

PostPosted: Thu Oct 12, 2017 12:12 pm
by mortenkols
FlyingDiver wrote:
Go to System Preferences, Keyboard Panel, Text tab. Check for a substitution there. Also try unchecking the "Use smart quotes and dashes" box.


I tried it, but I have the same problem.