Controlicz - Easy Domoticz to Alexa Integration Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

User avatar
l0gic
Posts: 107
Joined: Tuesday 08 October 2013 9:35
Target OS: Linux
Domoticz version: Latest
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post by l0gic »

Enable/Disble - Sorted! Thanks
Non credus crepitus
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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.....
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post by Madgeni »

Hi - there's a twitter page, but will add a status page also.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
User avatar
michaldobrotka
Posts: 50
Joined: Sunday 01 November 2015 17:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Domoticz on Raspi 3 and slave on ZeroW (running only with Broadlink plugin), Serial Mysensors GW on Arduino nano, Broadlink RM2, Rehau CO2 USB Stick, RF link 433 MHz, 2x Amazon Echo Dot (Controlicz), ESP2866 witk Espeasy, Sonoff
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
garrywma
Posts: 11
Joined: Thursday 03 March 2016 0:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post by garrywma »

Hi Nick

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

Cheers
Garry
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
User avatar
l0gic
Posts: 107
Joined: Tuesday 08 October 2013 9:35
Target OS: Linux
Domoticz version: Latest
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Non credus crepitus
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post by Madgeni »

That's great - will ping mraichura and let him know about rc.local
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
User avatar
l0gic
Posts: 107
Joined: Tuesday 08 October 2013 9:35
Target OS: Linux
Domoticz version: Latest
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Non credus crepitus
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post by Madgeni »

It's a public API, you can see the detail in the script.
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
mraichura
Posts: 13
Joined: Friday 16 December 2016 4:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Rajkot, IN
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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.
1 x RASPBERRY PI 1 MODEL B+ running Domoticz since June 2016
1 x RASPBERRY PI 3 MODEL B running Domtoicz since August 2017
User avatar
l0gic
Posts: 107
Joined: Tuesday 08 October 2013 9:35
Target OS: Linux
Domoticz version: Latest
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Non credus crepitus
garrywma
Posts: 11
Joined: Thursday 03 March 2016 0:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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.
hayman
Posts: 66
Joined: Tuesday 15 March 2016 18:08
Target OS: NAS (Synology & others)
Domoticz version: 3.8153
Location: Nerthland
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
hayman
Posts: 66
Joined: Tuesday 15 March 2016 18:08
Target OS: NAS (Synology & others)
Domoticz version: 3.8153
Location: Nerthland
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post 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
Madgeni
Posts: 1571
Joined: Friday 25 March 2016 17:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post by Madgeni »

Hi all, Controlicz is undergoing maintenance - apologies for the outage, should be back in an hour

*Edit* - maintenance complete
Native Alexa skill and Google app - register at https://www.controlicz.com - https://twitter.com/Controlicz
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: Controlicz - Easy Domoticz to Alexa Integration

Post by salvacalatayud »

Are blinds working whith google home? I added one in domoticz but I see it as a switch in home app
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest