Page 47 of 52

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Friday 18 January 2019 21:59
by l0gic
Enable/Disble - Sorted! Thanks

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 20 January 2019 15:33
by freijn
Would it be possible to setup email notifications? Like if something happens like this we receiven an email with the notification and resolution ?
I found it didn't work yesterday but only had time now to login to the forum and find the resolution.
Or a status webpage on the controlixz.com , but if that one is down.....

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 20 January 2019 15:35
by Madgeni
Hi - there's a twitter page, but will add a status page also.

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Tuesday 22 January 2019 12:54
by michaldobrotka
My Controlicz isn’t working properly, I can switch devices, but alexa cant read temperatures from sensors, just says “doesn’t support that”. I reenabled skill, restarted Domoticz, tested connection from Controlicz – is working, but still no temperature readings.
Thanks for help

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Tuesday 22 January 2019 15:10
by Madgeni
michaldobrotka wrote: Tuesday 22 January 2019 12:54 My Controlicz isn’t working properly, I can switch devices, but alexa cant read temperatures from sensors, just says “doesn’t support that”. I reenabled skill, restarted Domoticz, tested connection from Controlicz – is working, but still no temperature readings.
Thanks for help
taking a look now

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Friday 25 January 2019 13:29
by garrywma
Hi Nick

Is there any way of having a domoticz device trigger an Alexa routine with Controlicz?

Cheers
Garry

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Friday 25 January 2019 14:14
by Madgeni
Hi - as i think others have realised, it requires additional work, and also approval by Amazon.
I've implemented the code, and submitted the latest version of Controlicz for approval - this will allow users to set a notification by http to Controlicz for proactive reporting to Alexa. From there, specific types of device (sensors/switches) should be available to Routines
Will keep you all posted

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Friday 25 January 2019 15:40
by Madgeni
For those using ngrok (which seems like a really great security option) - there's the issue of ngrok changing dns name on reboot.
However, with the idea, help and code of one of the forum users mraichura - there is a neat solution.

https://github.com/mayankraichura/ngrok ... utoupdater
You run this on your Domoticz instance (requires node) - and it will auto update your hostname in Controlicz whenever ngrok changes it.

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Friday 25 January 2019 21:50
by l0gic
Madgeni wrote: Friday 25 January 2019 15:40 For those using ngrok (which seems like a really great security option) - there's the issue of ngrok changing dns name on reboot.
However, with the idea, help and code of one of the forum users mraichura - there is a neat solution.

https://github.com/mayankraichura/ngrok ... utoupdater
You run this on your Domoticz instance (requires node) - and it will auto update your hostname in Controlicz whenever ngrok changes it.
Nice one Nick!
I had a look at ngrok when you first mentioned it but was put off with the changing domains on restart.
I've spent this evening setting this up and it seems to be working fine.

One thing to note is that the auto-updater uses rc.local as the initiator script, this is depreciated on the latest Debian versions and I couldn't be bothered to set it all back up again.
So I added the line into the Domoticz service start up script which seems to do the trick ok.

I'll feed back if I hit any long term issues.

cheers

Kevin

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Saturday 26 January 2019 10:33
by Madgeni
That's great - will ping mraichura and let him know about rc.local

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Saturday 26 January 2019 23:14
by l0gic
The script bombed out in less than a day for reasons unknown, leaving me unconnected. Ngrok stopped running, not sure about the auto-updater part.
I've restarted auto-updater again and it seems to be holding at the moment.
Next week I'll have a look to see if I can build it as a service, is the API for changing the ngrok domain name public or is it specifically between youself and mraichura?

cheers
Kevin

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 27 January 2019 9:33
by Madgeni
It's a public API, you can see the detail in the script.

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 27 January 2019 15:24
by mraichura
l0gic wrote: Saturday 26 January 2019 23:14 The script bombed out in less than a day for reasons unknown, leaving me unconnected. Ngrok stopped running, not sure about the auto-updater part.
I've restarted auto-updater again and it seems to be holding at the moment.
Next week I'll have a look to see if I can build it as a service, is the API for changing the ngrok domain name public or is it specifically between youself and mraichura?

cheers
Kevin
Hi Kevin,

Thanks for trying out the script. It's always great to have feedback from users. I'm unsure what could have caused the issue. The auto-updater is pretty much straight-forward. It relies on the ngrok sub-module which is, in turn, a wrapper around the native binary. The auto-updater waits for an event from the ngrok module and whenever the URL changes, it forwards it to the Controlicz. Nick (@madgeni) was kind enough to cooperate and provide the working API. You can look at the code. It's just a single file with less than 100 lines of code. Of course, you are welcome to contribute and update it for the sake of the community.

As for the rc.local, it was just a choice of convenience. I was considering to use PM2 which is a nodejs based process manager but it was an overkill for my single core, 512 MB RPi B+ and settled on old fashioned rc.local. Of course, advanced users can use any method to start this script at startup. In fact, do share your systemd and I'll update the READ ME.

PS: I'd the auto-updater script running for 3-4 days before I decided to push the code to GH.

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 27 January 2019 16:54
by l0gic
Hi mraichura,
sorry I didn't have the time to investigate the base status when I lost connectivity, I'm heavily tied up with a house build at the moment.
If it happens again I'll have a deeper look rather than just re-running your script.
I was thinking about running it a a service as I use Monit to manage my system and I could use monit to actively keep an eye on things.

I'm running on a Debian based Intel system, so I shouldn't expect much difference from a Pi build.

ATB

Kevin

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Monday 28 January 2019 11:38
by garrywma
Madgeni wrote: Friday 25 January 2019 14:14 Hi - as i think others have realised, it requires additional work, and also approval by Amazon.
I've implemented the code, and submitted the latest version of Controlicz for approval - this will allow users to set a notification by http to Controlicz for proactive reporting to Alexa. From there, specific types of device (sensors/switches) should be available to Routines
Will keep you all posted
Sounds great.

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 03 February 2019 19:21
by hayman
hello,
i still have problem with Milight RGB-CCT from warmwhite to coolwhite it's freez with Echo...?
you promiss way back with fix it ,
thanks

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 03 February 2019 20:02
by Madgeni
hayman wrote: Sunday 03 February 2019 19:21 hello,
i still have problem with Milight RGB-CCT from warmwhite to coolwhite it's freez with Echo...?
you promiss way back with fix it ,
thanks
Hi Hayman - what freezes exactly? The light, or Alexa or Domoticz?
Will take a look

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Sunday 03 February 2019 20:07
by hayman
No the light freez at warmwhite Alexa and controlicz working,than need to do it manually and change the light through the app to the want shade.
Thanks ill chasing it know maybe you can check the log

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Wednesday 13 February 2019 16:33
by Madgeni
Hi all, Controlicz is undergoing maintenance - apologies for the outage, should be back in an hour

*Edit* - maintenance complete

Re: Controlicz - Easy Domoticz to Alexa Integration

Posted: Thursday 14 February 2019 12:44
by salvacalatayud
Are blinds working whith google home? I added one in domoticz but I see it as a switch in home app