Sample syntax for Indigo Action
-
- Posts: 164
- Joined: Mon Sep 14, 2015 9:57 am
Re: Sample syntax for Indigo Action
For sure. Just PM me your email address
Re: Sample syntax for Indigo Action
Gary,
Thanks for the beta of Home Remote but when I try to add an INDIGO action I get this error.?
Sent from my iPhone using Tapatalk
Thanks for the beta of Home Remote but when I try to add an INDIGO action I get this error.?
Sent from my iPhone using Tapatalk
-
- Posts: 164
- Joined: Mon Sep 14, 2015 9:57 am
Re: Sample syntax for Indigo Action
Thanks. Indigo sometimes generates bad JSON, I am trying to fix it where possible.
Can you please go to http://10.0.1.231:8176/actions.json and http://10.0.1.231:8176/devices.json please
They will spit out a load of JSON. If you can then pm me it or email me at Gary (at) bouncing ball (.) mobi that would be great.
Can you please go to http://10.0.1.231:8176/actions.json and http://10.0.1.231:8176/devices.json please
They will spit out a load of JSON. If you can then pm me it or email me at Gary (at) bouncing ball (.) mobi that would be great.
-
- Posts: 164
- Joined: Mon Sep 14, 2015 9:57 am
Re: Sample syntax for Indigo Action
Jay, is there any way of fixing up a users JSON in Indigo?
- jay (support)
- Site Admin
- Posts: 18411
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Sample syntax for Indigo Action
I think I'm only aware of the one bug (json lists can start with a comma). If you can provide pointers to others I will make sure they're addressed in the next release. Unfortunately, I'm not sure when we'll get that release out.
-
- Posts: 164
- Joined: Mon Sep 14, 2015 9:57 am
Re: Sample syntax for Indigo Action
Another I've seen were new lines in action names. I fixed it by removing carriage returns in the JSON string before making it JSON.
When mlooss sends his I'll see what's wrong and let you know
When mlooss sends his I'll see what's wrong and let you know
- jay (support)
- Site Admin
- Posts: 18411
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Sample syntax for Indigo Action
Ah, right, I did know about that one, though to be honest that's more of a Indigo Client error - it should never allow carriage returns or line feeds in object names (I don't think you can type them in, but if you paste something that has a carriage return it won't invalidate the value). When it does happen, it's an accidental thing...
Re: Sample syntax for Indigo Action
The beta works fine for me...
//jens
Sent from my iPhone 6 using Tapatalk
//jens
Sent from my iPhone 6 using Tapatalk
Re: Sample syntax for Indigo Action
Gary,
I sent the outputs you requested this morning, did you receive them?
Sent from my iPhone using Tapatalk
I sent the outputs you requested this morning, did you receive them?
Sent from my iPhone using Tapatalk
-
- Posts: 164
- Joined: Mon Sep 14, 2015 9:57 am
Re: Sample syntax for Indigo Action
Yes, I replied 3 minutes later.
I see the issue, the Indigo client has something named illegally:
Media Luna, La Parguera
Media Luna, La Parguera (LPRP4)
Media Luna, La Parguera (LPRP4)
Media Luna, La Parguera (LPRP4)
Remove the line breaks (and tabs) and it will work.
Version 2.9 would have fixed this but you have tabs as well as line breaks which I didn't think to sort out. The version after 2.9 will fix your issue without you having to edit the name.
I see the issue, the Indigo client has something named illegally:
Media Luna, La Parguera
Media Luna, La Parguera (LPRP4)
Media Luna, La Parguera (LPRP4)
Media Luna, La Parguera (LPRP4)
Remove the line breaks (and tabs) and it will work.
Version 2.9 would have fixed this but you have tabs as well as line breaks which I didn't think to sort out. The version after 2.9 will fix your issue without you having to edit the name.
Re: Sample syntax for Indigo Action
Gary,
I need to look for your e-mail, maybe it ended up in my spam filter.
I renamed the item, to a single simple word and it would still generate the same error, even disabling communication would not solve the issue but deleting it did.
Not sure how a tab and line break was introduced here?
This will be my first time working with Home Remote and so far I created two action and they work from the Today Widget.
Thanks for all your help.
I need to look for your e-mail, maybe it ended up in my spam filter.
I renamed the item, to a single simple word and it would still generate the same error, even disabling communication would not solve the issue but deleting it did.
Not sure how a tab and line break was introduced here?
This will be my first time working with Home Remote and so far I created two action and they work from the Today Widget.
Thanks for all your help.
-
- Posts: 164
- Joined: Mon Sep 14, 2015 9:57 am
Re: Sample syntax for Indigo Action
When you renamed it did you select all of it, or did you just rename the first line, leaving the others in place? It's introduced by copy and pasting, or allowing something to populate the name at a guess.
2.9 will most likely be out tomorrow, after which I will submit a 2.9.1 that will fix that specific issue.
2.9 will most likely be out tomorrow, after which I will submit a 2.9.1 that will fix that specific issue.
Re: Sample syntax for Indigo Action
I deleted the comma first, then the part in front of the comma leaving just one word. I never deleted all of it, but I did place my cursor trying to find empty space and found none. This is a weather station and it was set up a long time ago so I don't recall if I copy pasted it or not. Now that I know about this issue, I will always type the name in the future.
Thanks again.
Sent from my iPad using Tapatalk
Thanks again.
Sent from my iPad using Tapatalk
-
- Posts: 164
- Joined: Mon Sep 14, 2015 9:57 am
Re: Sample syntax for Indigo Action
Ah ok.
2.9 is out now for everyone so we might see a few more of these. I will create a topic explaining the situation here.
The next Home Remote release will fix all the bad data issues, whether it be 2.9.1 or 3.0, I am not sure yet.
2.9 is out now for everyone so we might see a few more of these. I will create a topic explaining the situation here.
The next Home Remote release will fix all the bad data issues, whether it be 2.9.1 or 3.0, I am not sure yet.