Page 35 of 36

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Thursday 13 July 2017 13:05
by Madgeni
afraid it's necessary for 2 good reasons:
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 :)

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Thursday 13 July 2017 13:07
by Madgeni
super easy to configure:
go here: /etc/init.d/domoticz.sh

double check this line exists (should be there by default now):
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443" <-maybe change the port number to a higher number, then fix your port forwarding on your router. Restart Domoticz - update Controlicz

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Thursday 13 July 2017 13:23
by Madgeni
any further Controlicz talk - can we put it here? viewtopic.php?f=21&t=16670

Thanks

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Sunday 16 July 2017 20:08
by rickwilleme
Hi Madgeni,

Original post at here
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
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?
The type is Light/Switch and the subtype is Switch.

Thanks for looking into this!

Regards,
Rick

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Sunday 16 July 2017 21:20
by remb0
it works!

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Wednesday 19 July 2017 17:27
by borcon
Hey madgeni,
some smarthome skills like Philips Hue have the scenes in the scene section in alexa not in devices.
Are there differences or only for better view?

I would like to control my color hue lights with domoticz.
Switch on or off works in alexa but i can't set colors.

Any ideas?

Thanks

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Wednesday 19 July 2017 18:52
by Madgeni
Hi there - as far as i can tell, it's cosmetic - i will take a look tho, as it would make it 'neater'

Yes, colours should/were working, so will take another look. I'll do them for Controlicz first..

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Wednesday 19 July 2017 19:00
by Madgeni
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

Hi - not sure why they aren't being discovered - both type and subtype are standard. Is there anything in your logs? I'm assuming they are in Room Plans.

I saw your note about Controlicz on the FB page - not sure what you mean about testing? It's worth noting that these two are essentially the same ( i should know ;-) ) - also you say you've built your own skill, is this using my code?
Controlicz will probably be updated more rapidly, and obviously, relies on no/little effort on your side!

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Monday 07 August 2017 15:51
by Scoobydoo
Issues with the wesbite, cant access the website or discover anything at the moment. Seems to be down?.

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Monday 07 August 2017 16:23
by Madgeni
Doh - sorry it's back - User error - was doing some testing.

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Wednesday 30 August 2017 11:30
by ressof
Hi

Just wondering if there are any differences between the manual install and the Controlicz?

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Wednesday 30 August 2017 14:13
by Madgeni
no effort to Controlicz (apart from registering) - and i'll be updating Controlicz with functionality in future (As and when it comes to Alexa)

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Tuesday 05 September 2017 21:10
by FrankCGN
Hi
I have noticed that Alexa meanwhile understands the commands "up" and "down" respectively "open" and "close" in blinds. Unfortunately the blinds are closed with "open" and vice versa.
Is there any way to change that and if so, how?
I use 433Mhz blinds over an RFXCOM - RFXtrx433 on a Raspi 3

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Monday 11 September 2017 22:35
by stingone
Hopefully someone can help me. i did a reinstall of domoticz / raspian. system is working. Alexa is also discovering the devices in the homeplan however when im giving alexa a command it says that the device is not being found.....

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Tuesday 12 September 2017 20:23
by stingone
Stange.... seems there was a bug in the description of the device name alexa_name: i removed and added the device and now its working :)

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Tuesday 19 September 2017 18:31
by Madgeni
weird! glad it's working :)

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Monday 02 October 2017 14:18
by chal
First of all thank you for your work.

I tried to setup the skill it discovers the devices in my alexa app but when i try to switch something alexa says that the device is currently not available or in German "reagiert gerade nicht".

when i run a test in lambda i get this:

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&param=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
The Test:

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"
}
}
}
also tried to setup it from scratch but same problem

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Monday 02 October 2017 15:14
by Madgeni
can you just double check the conf.json file for formatting?

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Friday 06 October 2017 17:42
by hayman
hallo,
im using domoticz on my synology and ive forword the port 8443 ,try to singup but not working i get error on the website ...?
please help .....

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

Posted: Friday 06 October 2017 18:24
by Madgeni
weird, website is up, and i've just registered a test account fine