Re: Internorm Jalousien über http-Binding
Verfasst: 18. Mär 2023 00:48
Kannst Du bitte mal die Code-Ansicht der Gateway Things posten?
Code: Alles auswählen
Thing http:url:mediola1GW "Mediola SC1"
[
baseURL="http://192.168.0.5/command?",
refresh=60,
ignoreSSLErrors=true,
timeout=5000
]
{
Channels:
Type string : channelMediola1Out
[
mode = "WRITEONLY", commandExtension="XC_FNC=SendSC&type=IN&data=%2$s"
]
Type string : channelMediola1In
[
stateExtension="XC_FNC=GetStates"
]
}
Code: Alles auswählen
UID: http:url:mediola1GW
label: Mediola SC1
thingTypeUID: http:url
configuration:
authMode: BASIC
ignoreSSLErrors: true
baseURL: http://192.168.0.5/command?
delay: 0
stateMethod: GET
refresh: 60
commandMethod: GET
timeout: 5000
bufferSize: 2048
channels:
- id: channelMediola1Out
channelTypeUID: http:string
label: String-Kanal
description: null
configuration:
mode: WRITEONLY
commandExtension: XC_FNC=SendSC&type=IN&data=%2$s
escapedUrl: false
- id: channelMediola1In
channelTypeUID: http:string
label: String-Kanal
description: null
configuration:
mode: READWRITE
stateExtension: command?XC_FNC=GetStates
escapedUrl: false
Code: Alles auswählen
STA:{"type":"ER","sid":"05","adr":"03","state":"100B","ts":{"m":"7C582CA9"},"__srcId":"2fa2430e"}
2023-03-18 14:45:49 from 192.168.0.6:1901
STA:{"type":"ER","sid":"05","adr":"03","state":"100A","ts":{"m":"7C582CB0"},"__srcId":"2fa2430e"}
2023-03-18 14:46:00 from 192.168.0.10:63367
GET
2023-03-18 14:46:09 from 192.168.0.6:1901
STA:{"type":"ER","sid":"05","adr":"03","state":"100D","ts":{"m":"7C582CB2"},"__srcId":"2fa2430e"}
2023-03-18 14:46:30 from 192.168.0.10:63367
Code: Alles auswählen
Thing http:url:mediola3GW "Mediola SC2 Jalousien"
[
mode = "WRITEONLY",
baseURL="http://192.168.0.6/command?",
refresh=60,
ignoreSSLErrors=true,
timeout=5000
]
{
Channels:
Type string : channelMediola3Out
[
mode = "WRITEONLY", commandExtension="XC_FNC=SendSC&type=ER&data=%2$s"
]
Type string : channelMediola3In
[
stateExtension="XC_FNC=GetStates"
]
}
Code: Alles auswählen
I can confirm that the current IQONTROL for Android (not IQONTROl NEO) does send
http://192.168.2.208/cmd?XC_FNC=SendSC&type=ER&data=0109&_=1630072735789
for a "full down" on channel 1 and likewise
http://192.168.2.208/cmd?XC_FNC=SendSC&type=ER&data=0108&_=1630072868836
for a "full up" to my V5 AIO-Gateway and I confirmed that working as expected from a browser. The &_=1630072868836 is a UNIX timestamp value of unknown function. Maybe used to internally sort commands in the queue.
Neither XC_FNC=refreshER&adr=01 nor XC_FNC=refreshSC&adr=01&type=ER does anything meaningful with my V5 on newest firmware release 1.0.31 other than reply
{XC_ERR}{"CODE":"010000"}
or
{"XC_ERR":{"CODE":"010000"}}
depending on how I call it as /command?XC_FNC=... or rather /cmd?XC_FNC=...
Code: Alles auswählen
{XC_SUC}[{"sys":"GROUP","id":"FF","active":"0","triggerids":"","actionids":""},
{"sys":"GROUP","id":"01","active":"1","triggerids":"01","actionids":"01"},
{"sys":"ACTION","id":"08","type":"IT","code":"02e","rf":"00","ir":"00"},
{"sys":"EVENT","id":"01","type":"HM","active":"1","code":"4e141701c8"},
{"sys":"GROUP","id":"02","active":"1","triggerids":"02","actionids":"02"},
{"sys":"TASK","id":"04","active":"1","days":"1111111","time":"10:15","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"01","type":"FS20","code":"e79f021000","rf":"00","ir":"00"},
{"sys":"EVENT","id":"02","type":"HM","active":"1","code":"4e14170100"},
{"sys":"ACTION","id":"04","type":"FS20","code":"e79f020000","rf":"00","ir":"00"},
{"sys":"TASK","id":"05","active":"1","days":"1111111","time":"07:00","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ASTRO","id":"06","active":"1","days":"1111111","time":"2","dateStart":"2000-00-00","dateEnd":"2000-00-00","delay":"FFE2","t":""},{"sys":"ASTRO","id":"07","active":"1","days":"1111111","time":"1","dateStart":"2000-00-00","dateEnd":"2000-00-00","delay":"001E","t":""},
{"sys":"TASK","id":"08","active":"1","days":"1111111","time":"22:45","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"02","type":"FS20","code":"e79f020000","rf":"00","ir":"00"},
{"sys":"TASK","id":"09","active":"1","days":"1111111","time":"06:15","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ASTRO","id":"0A","active":"1","days":"1111111","time":"2","dateStart":"2000-00-00","dateEnd":"2000-00-00","delay":"FFE7","t":""},
{"sys":"ACTION","id":"05","type":"IT","code":"01e","rf":"00","ir":"00"},{"sys":"EVENT","id":"03","type":"HM","active":"1","code":"4e141701c8"},
{"sys":"ASTRO","id":"0B","active":"1","days":"1111111","time":"1","dateStart":"2000-00-00","dateEnd":"2000-00-00","delay":"001E","t":""},
{"sys":"TASK","id":"0C","active":"1","days":"1111111","time":"23:00","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"06","type":"IT","code":"016","rf":"00","ir":"00"},
{"sys":"ACTION","id":"07","type":"CODE","code":"190800820005003b05004b007200670060006700bb00960094006709120000010101010101010000000203030301010303020003010103030303030100000001010103030101010102000001030103010301010101000004","rf":"00","ir":"01"},
{"sys":"TASK","id":"0D","active":"1","days":"1111111","time":"08:20","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"09","type":"CODE","code":"190800820005003b05004b007200670060006700bb00960094006709120000010101010101010000000203030301010303020003010103030303030100000001010103030101010102000001030103010301010101000004","rf":"00","ir":"01"},
{"sys":"TASK","id":"0E","active":"1","days":"1111111","time":"11:25","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"0A","type":"CODE","code":"190800820005003b05004b007200670060006700bb00960094006709120000010101010101010000000203030301010303020003010103030303030100000001010103030101010102000001030103010301010101000004","rf":"00","ir":"01"},
{"sys":"TASK","id":"0F","active":"1","days":"1111111","time":"07:30","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"0B","type":"CODE","code":"190800820005003b05004b007200670060006700bb00960094006709120000010101010101010000000203030301010303020003010103030303030100000001010103030101010102000001030103010301010101000004","rf":"00","ir":"01"},
{"sys":"TASK","id":"10","active":"1","days":"1111111","time":"12:35","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"0C","type":"CODE","code":"190800820005003b05004b007200670060006700bb00960094006709120000010101010101010000000203030301010303020003010103030303030100000001010103030101010102000001030103010301010101000004","rf":"00","ir":"01"},
{"sys":"TASK","id":"11","active":"1","days":"1111111","time":"06:40","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"0D","type":"CODE","code":"190800820005003b05004b007200670060006700bb00960094006709120000010101010101010000000203030301010303020003010103030303030100000001010103030101010102000001030103010301010101000004","rf":"00","ir":"01"},
{"sys":"TASK","id":"12","active":"1","days":"1111111","time":"10:05","dateStart":"2000-00-00","dateEnd":"2000-00-00"},
{"sys":"ACTION","id":"0E","type":"AIO","code":"","rf":"00","ir":"00"},
{"sys":"ACTION","id":"03","type":"HM","code":"4cddeb011c01","rf":"00","ir":"00"}]
Code: Alles auswählen
case UP : strCommand = "08&_=1630072868836"
case DOWN: strCommand = "09&_=1630072868836"
case STOP: strCommand = "02&_=1630072868836"
default : strCommand = "02&_=1630072868836"
Code: Alles auswählen
{"XC_ERR":{"code":"000007", "msg":"access denied"}}