Help with JSon Somfy Command
Posted: Wed Jun 13, 2018 10:00 am
Hi, my new Somfy awning was installed yesterday - I hooked up a Somfy Mylink (IP to RTS bridge). I have the Mylink device working great and I can control the awning with my phone or alexa.
I'm trying to figure out how to control it with Indigo via JSon commands
I have been issuing commands via the terminal app and I can connect to the MYlink device fine - but when I try to issue a command I get a parsing error back.
See below for what I type and what comes back and examples from their API
Please help - been at it for hours and tried everything I can think of but I only get the same error back....
I'm trying to figure out how to control it with Indigo via JSon commands
I have been issuing commands via the terminal app and I can connect to the MYlink device fine - but when I try to issue a command I get a parsing error back.
See below for what I type and what comes back and examples from their API
Please help - been at it for hours and tried everything I can think of but I only get the same error back....
{
“METHOD” : “MYLINK.MOVE.DOWN”,
“PARAMS” : {"DEVICEID":“XXXXXX.1”},
“AUTH” : “Test”,
"ID" : 1
}
{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error"},"id":"null"}