Page 71 of 114
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Thursday 14 June 2018 22:28
by EdwinK
Looking into this now and then but still not sure about step 1
The https port is defined in /etc/init.d/domoticz.sh
DAEMON_ARGS="$DAEMON_ARGS -www 8080 -loglevel=normal"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
So, is this something that needs added to the domoticz.sh? Isn't it overwritten bij a new update of Domoticz?
-sslwww port (for example, -sslwww 443). https runs by default. Set port to 0 to ensure https socket won't be open.
Or should I set port to '0'?
I'm a little hesitant to change this now, without being sure of it.
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Friday 15 June 2018 16:12
by Madgeni
Hi - afaik, Domoticz is running on 443, so no reconfig needed. I would recommend a non-standard port for ssl, then it's just a port forwarding on your router.
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Sunday 17 June 2018 16:46
by deennoo
Madgeni wrote: ↑Thursday 14 June 2018 18:27
Hey

Controlicz is definitely up - it was down for very short periods whilst I deployed some code changes. It's possible that coincided with your test (but downtime is <10 seconds per deployment).
if it's any consolation, I can't ping or traceroute to it either - frankly i'm happy about that.
On my side ( and 4 friends of mine who got alexa/google home & domoticz) controlicz can't connect to domoticz.
We don't use regulare 433 port but routed on to our domoticz.
we all recieved the same error :
Controlicz is unable to connect. Please check your config.
I test all config for my and my friend and for every i can connect and drive domoticz using a mobile connection using Chrome.
Chrome give a warning message saying that this HTTPS website can be dangerous, and i have to clikc on "continu anyway".
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Sunday 17 June 2018 19:30
by Madgeni
Hi -
Can you check the username/password - it's returning "unauthorized"
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Sunday 17 June 2018 20:20
by getdown
Hello Madgeni,
I use controlicz since the begin and it gives me lot of joy ! I've add some new devices today (2 mysensors relays) to switch 2 lights. I've add them to the plan in domoticz, sync my devices in google home. They aren't recongnized as lights but as switchs so I can't controle them with the voice command "switch on the lights of the living room".
They are configured as lights in domoticz so I don't understand why controlicz don't recognize them as lights to.
Maybe I have made a mistake ?
Thank's a lot for the very good work and hope you have the solution of my issue !
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Monday 18 June 2018 9:11
by Madgeni
Hi there - can you mail me from your Controlicz profile, and i'll take a look
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Monday 18 June 2018 15:47
by Madgeni
Madgeni wrote: ↑Sunday 17 June 2018 19:30
Hi -
Can you check the username/password - it's returning "unauthorized"
hi deenoo - did you fix this?
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Monday 18 June 2018 19:46
by getdown
Madgeni wrote: ↑Monday 18 June 2018 9:11
Hi there - can you mail me from your Controlicz profile, and i'll take a look
It's done !
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Monday 18 June 2018 23:07
by Madgeni
it's fixed

Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Tuesday 19 June 2018 23:37
by lec668
Hi Magdeni,
I was using Controlicz a few months ago, then changed of ISP.
I reconfigured my installation, nated the ssl port, I'm so able to access domoticz from outside with the credentials from my controlicz profile,
but the connect test fails from Controlicz.
I double checked user/password, entered them again, but it still fails.
Would it be possible to have a look ? And you can include me in the beta if still needed.
Thanks a lot
My Controlicz id : 5aaed24b655b955935620b35
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Wednesday 20 June 2018 19:46
by miremi
Hi,
i have little problem from last week controlicz is not working anymore. I see all devices in controlicz profile but still get the message "unable to connect"
Nothing is changed in my setup. When i push "test connection" then i see incoming connection from controlicz on my domoticz pc but again i get error from controlicz and also from google.
Any idea?
My ID: 5a37b10b72cffb747b5957be
Thanks!
Nevermind i found solution: remove controlicz from google account and add it again.
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Wednesday 20 June 2018 23:15
by jpvaneijk
Also having problems now connecting to Controlicz. Something going on Madgeni?
Did a unlink/relink ofcourse. Had to put the devices in the rooms again and giving permissions. That gave troubles.
Website reported:
Code: Select all
Controlicz is unable to connect. Please check your config.
and:
Code: Select all
Error: Failed to lookup view "error" in views directory "/opt/bitnami/apps/Controlicz/views"
at EventEmitter.render (/opt/bitnami/apps/Controlicz/node_modules/express/lib/application.js:580:17)
at ServerResponse.render (/opt/bitnami/apps/Controlicz/node_modules/express/lib/response.js:1008:7)
at /opt/bitnami/apps/Controlicz/app.js:98:13
at Layer.handle_error (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:315:13)
at /opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:335:12)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:275:10)
at /opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:635:15
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/index.js:260:14)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/route.js:127:14)
at Layer.handle_error (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/layer.js:67:12)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/route.js:135:13)
at Layer.handle_error (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/layer.js:67:12)
at next (/opt/bitnami/apps/Controlicz/node_modules/express/lib/router/route.js:135:13)
at loaded (/opt/bitnami/apps/Controlicz/node_modules/oauth2orize/lib/middleware/transactionLoader.js:36:25)
Domotocz on port 443 is working ok. Devices are in rooms, etc.
Reset for Google Home app and my Google Home Mini gave no results either.
Can you advice please?
Thanx!
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Thursday 21 June 2018 14:42
by Madgeni
Hi all, so the Test button is broken, I'm reworking the backend, so need it there, but it will return a failure no matter what.
If you see Devices in your profile, your connection is good.
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Thursday 21 June 2018 18:03
by jpvaneijk
Thanks for the update Madgeni. I'm trying to understand what the implications could be for the situation I'm in.
My problem you solved in this post (june 13) seems te be back:
http://www.domoticz.com/forum/viewtopic ... 24#p183424
All the hubs activitys's seem to by 'Light' again in Controlicz in column Google/Alexa.
I know you can fix this, you waved your magic wand before.
Is it something I did? How to permanently solve this?
I know you'll be bellyshaking when your in my home when I say: Hey Google, turn all the lights on

Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Thursday 21 June 2018 19:05
by Madgeni
Hi there - it's quite possible i reverted a change by accident. I'm working on some additional functionality, and some changes Google have asked for (from all smart home apps), in readiness for their new updates.
Try now?
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Thursday 21 June 2018 19:28
by jpvaneijk
That's it Madgeni. You did it again!
Controlicz looks fine again. Syncing devices (ok, syncing devices for controlicz)
Turning the lights on works perfectly again. Thanks man, you're king.
Grtz,
JP
On a even hotter topic while you're at it: any idea when google updates to the dutch language?
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Thursday 21 June 2018 19:40
by Madgeni
great, i'll make sure I don't break it again
I don't, as soon as it's available, Controlicz should work (its already certified for Dutch)
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Thursday 21 June 2018 22:57
by arjanw
My lights are now showing as switches, is this related to the changes you are making ?
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Friday 22 June 2018 0:04
by Madgeni
No doubt. Can you mail me from your controlicz profile, with details?
Re: Controlicz - Domoticz to Google Home/Assistant integration
Posted: Friday 22 June 2018 21:38
by HarR
Since a few days I cannot control my dimmer anymore. On and off still works, but not setting a percentage. When asking for a percentage, or to lower or increase the light; it replies sorry I cannot reach Controlicz.
Sent from my iPad using Tapatalk