1) it's slightly more secure - depends on the cert you use
2) I currently don't handle http requests, which kills Controlicz dead - it's on my list to fix asap

Moderator: leecollings
rickwilleme wrote:Hey guys,
It's Friday evening, so got myself some coding time.
Managed to install the Alexa - Domoticz integration (https://github.com/madgeni/alexa_domo) and it's actually working pretty well!
Only weird thing I notice is that I'm missing my ZWave dimmers in the discovered devices. Still able to control them with a scene, so got myself a workaround.
Any clue if I should do something special with my ZWave dimmers to get them discovered?
Thanks,
Rick
The type is Light/Switch and the subtype is Switch.Madgeni wrote:Hi Rick - the alexa-domo integration thread is here:
viewtopic.php?f=38&t=9446
I'd need some more detail on the dimmers, to tweak the discovery. In that thread can you give me detail on their Type/Subtype etc from Domoticz?
rickwilleme wrote:Hi Madgeni,
Original post at here
The type is Light/Switch and the subtype is Switch.
Thanks for looking into this!
Regards,
Rick
Code: Select all
START RequestId: 770c26c8-a765-11e7-9b8a-3116929d30f8 Version: $LATEST
2017-10-02T11:33:15.291Z 770c26c8-a765-11e7-9b8a-3116929d30f8 https://xxxx:[email protected]:60900/json.htm?type=command&idx=140¶m=switchlight&switchcmd=Off
2017-10-02T11:33:16.189Z 770c26c8-a765-11e7-9b8a-3116929d30f8 SyntaxError: Unexpected token <
at Object.parse (native)
at Request._callback (/var/task/node_modules/domoticz-api/api/domoticz.js:94:58)
at Request.self.callback (/var/task/node_modules/domoticz-api/node_modules/request/request.js:200:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/var/task/node_modules/domoticz-api/node_modules/request/request.js:1067:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage.<anonymous> (/var/task/node_modules/domoticz-api/node_modules/request/request.js:988:12)
at emitNone (events.js:72:20)
END RequestId: 770c26c8-a765-11e7-9b8a-3116929d30f8
REPORT RequestId: 770c26c8-a765-11e7-9b8a-3116929d30f8 Duration: 1439.27 ms Billed Duration: 1500 ms Memory Size: 128 MB Max Memory Used: 37 MB
RequestId: 770c26c8-a765-11e7-9b8a-3116929d30f8 Process exited before completing request
Code: Select all
{
"header": {
"messageId": "01ebf625-0b89-4c4d-b3aa-32340e894688",
"name": "TurnOffRequest",
"namespace": "Alexa.ConnectedHome.Control",
"payloadVersion": "2"
},
"payload": {
"accessToken": "123",
"appliance": {
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
},
"applianceId": "140"
}
}
}
Users browsing this forum: No registered users and 1 guest