Control Your Harmony Hub with Domoticz (RaspberryPi (Linux))
Moderator: leecollings
- Dynamic
- Posts: 109
- Joined: Friday 12 July 2013 14:50
- Target OS: -
- Domoticz version:
- Location: Enschede
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Bought an Harmony too! Really nice piece of equipment....
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Yep...
Realy Nice toy, and is working perfect!!!.
Missing so far a lot of icoons ..
Wacht movie, listen music, play games..
When there are more icoons for beautiful things would be nice
For other things, Phone, home or not ...
And what ever the options are.
Realy Nice toy, and is working perfect!!!.
Missing so far a lot of icoons ..
Wacht movie, listen music, play games..
When there are more icoons for beautiful things would be nice
For other things, Phone, home or not ...
And what ever the options are.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 38
- Joined: Saturday 26 April 2014 15:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Yep, I want one!
RPI 3b+, PiFace 2, RFcom, Aeon Zwave USB, Aeon Home Energy Meter Gen 5, several Shelly switches, several ESP8266 sensors.
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Control Your Harmony Hub with Domoticz.
You can find icons at: https://www.iconfinder.com
Op zoek naar een Domoticz Start Set?
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Control Your Harmony Hub with Domoticz.
New topic?
How to add a new icon?
I see a lot of options for me...
Only how...
How to add a new icon?
I see a lot of options for me...
Only how...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 28
- Joined: Tuesday 22 July 2014 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Hi there, hoping someone can help a noob with what I'm hoping is a really stupid question.
I'm running Domoticz on a raspberry pi, I've got my lights and central heating all working and can operate my harmony hub with no issues.
i have an air conditioner operated via the harmony hub, however it only has one power button, the same o button turns it on and off.
I've got the switch setup so that it operates ok, on turns it on, off turns it off.
However I've set up a scene called bedtime that switches all my lights off in the lounge, turns the air conditioner off, and turns on the bedroom lights.
The issue is, when i go to bed, the air con gets turned on if it is currently off....if the air con is running when i hit the bedtime scene, it turns off correctly.
Im banging my head against the wall as i can't see a solution....anyone ???
I'm running Domoticz on a raspberry pi, I've got my lights and central heating all working and can operate my harmony hub with no issues.
i have an air conditioner operated via the harmony hub, however it only has one power button, the same o button turns it on and off.
I've got the switch setup so that it operates ok, on turns it on, off turns it off.
However I've set up a scene called bedtime that switches all my lights off in the lounge, turns the air conditioner off, and turns on the bedroom lights.
The issue is, when i go to bed, the air con gets turned on if it is currently off....if the air con is running when i hit the bedtime scene, it turns off correctly.
Im banging my head against the wall as i can't see a solution....anyone ???
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Control Your Harmony Hub with Domoticz.
A toggle is a really bad thing for use in home automation.gb160 wrote:Hi there, hoping someone can help a noob with what I'm hoping is a really stupid question.
I'm running Domoticz on a raspberry pi, I've got my lights and central heating all working and can operate my harmony hub with no issues.
i have an air conditioner operated via the harmony hub, however it only has one power button, the same o button turns it on and off.
I've got the switch setup so that it operates ok, on turns it on, off turns it off.
However I've set up a scene called bedtime that switches all my lights off in the lounge, turns the air conditioner off, and turns on the bedroom lights.
The issue is, when i go to bed, the air con gets turned on if it is currently off....if the air con is running when i hit the bedtime scene, it turns off correctly.
Im banging my head against the wall as i can't see a solution....anyone ???
You need discrete on & off infrared codes.
You can contact logitech and ask them for it or contact the manufactury of the airconditioning.
You also might look here:
http://files.remotecentral.com/library/3-1/index.html
Or make a bash/lua bedtime_script that will send IR signal only if status is on.
-
- Posts: 28
- Joined: Tuesday 22 July 2014 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Many thanks for replying....and I thought that was the case,I don't think there's any chance to get the discreet codes for the device so I have been 'attempting' to use the bash method with a php script to check the current switch status, but with my limited programming skills this is proving a bit tricky !!Raspberry Piet wrote:
A toggle is a really bad thing for use in home automation.
You need discrete on & off infrared codes.
You can contact logitech and ask them for it or contact the manufactury of the airconditioning.
You also might look here:
http://files.remotecentral.com/library/3-1/index.html
Or make a bash/lua bedtime_script that will send IR signal only if status is on.
I didn't think it would be so difficult to do something as simple as "if device is on, do not send on command"....is this explained in more detail anywhere?
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Try this:gb160 wrote:Many thanks for replying....and I thought that was the case,I don't think there's any chance to get the discreet codes for the device so I have been 'attempting' to use the bash method with a php script to check the current switch status, but with my limited programming skills this is proving a bit tricky !!Raspberry Piet wrote:
A toggle is a really bad thing for use in home automation.
You need discrete on & off infrared codes.
You can contact logitech and ask them for it or contact the manufactury of the airconditioning.
You also might look here:
http://files.remotecentral.com/library/3-1/index.html
Or make a bash/lua bedtime_script that will send IR signal only if status is on.
I didn't think it would be so difficult to do something as simple as "if device is on, do not send on command"....is this explained in more detail anywhere?
Code: Select all
mkdir /home/pi/domoticz/scripts/bash
touch /home/pi/domoticz/scripts/bash/AC_Off.sh
chmod +x /home/pi/domoticz/scripts/bash/AC_Off.sh
nano /home/pi/domoticz/scripts/bash/AC_Off.sh
Code: Select all
#!/bin/bash
##################################################
DOMO_IP="127.0.0.1"
PORT="8080"
idx_AC="14" #Air Conditioner idx number
##################################################
curl -s "http://$DOMO_IP:$PORT/json.htm?type=devices&rid=$idx_AC" | grep "Status" | grep "On"
if [[ $? -eq 0 ]] ; then
echo "Air Conditioner is on, let's turn it off"
curl -s "http://$DOMO_IP:$PORT/json.htm?type=command¶m=switchlight&idx=$idx_AC&switchcmd=Off&level=0"
else
echo "Air Conditioner is allready off"
fi
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz.
I would love to be able to integrate my Harmony Hub with Domoticz but I'm running mine on a windows PC. The wiki only explains how to do it with a Pi. Any help would be much appreciated. Thank you.
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
-
- Posts: 28
- Joined: Tuesday 22 July 2014 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Mate, thanks so much for taking the time to help me, I've followed every stage to perfection , but for some reason, the AC_Off.sh is not being triggered when i enter bedtime scene.Raspberry Piet wrote: Invoke your AC_Off.sh through your domoticz bedtime scene => Edit=> Off Action: script://home/pi/domoticz/scripts/bash/AC_Off.sh
When i run the script from the command line, it works perfectly....if the AC is on it gets turned off, If the AC is off it stays off...but no joy if i select the scene from the gui
I feel frustrated right now because it seems like this solution is 99% complete....just need to get that script to trigger.
Is there any reason you're aware of that would stop this script triggering?
Is there any sort of log that i can view which might help?
Again...thanks for assisting me.
Update....Its working, no idea why, it just started working.Thanks
As far as the harmony control is concerned this works a treat, my only wish would be for domoticz to be updated if I switch activity via my harmony remote, like the ios app does, apart from that it works perfectly.
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Sorry to bang on about this again but I would really appreciate a pointer in the right direction on this please. The wiki gives instructions for installing on a Pi but I'm running Domoticz on windows. I'm stuck here:markk wrote:I would love to be able to integrate my Harmony Hub with Domoticz but I'm running mine on a windows PC. The wiki only explains how to do it with a Pi. Any help would be much appreciated. Thank you.
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Take a look here:
http://sourceforge.net/projects/harmony ... rce=navbar
You need Microsoft Visual Studio 2010 on you windows PC.
Don't know how to install this and how to use it with domoticz, sorry
http://sourceforge.net/projects/harmony ... rce=navbar
You need Microsoft Visual Studio 2010 on you windows PC.
Don't know how to install this and how to use it with domoticz, sorry
Op zoek naar een Domoticz Start Set?
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz.
Thanks v much for the pointer.mbliek wrote:Take a look here:
http://sourceforge.net/projects/harmony ... rce=navbar
You need Microsoft Visual Studio 2010 on you windows PC.
Don't know how to install this and how to use it with domoticz, sorry
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
-
- Posts: 18
- Joined: Friday 19 September 2014 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Lin
Hi guys,
I'm stuck
Did everything in the wiki, but the last step gives me following error:
make: cc: Command not found
make: *** [HarmonyHubControl.o] Error 127
This happens when I execute: make HarmonyHubControl
Any ideas how I can work around this?
Thanks!
I'm stuck
Did everything in the wiki, but the last step gives me following error:
make: cc: Command not found
make: *** [HarmonyHubControl.o] Error 127
This happens when I execute: make HarmonyHubControl
Any ideas how I can work around this?
Thanks!
-
- Posts: 28
- Joined: Tuesday 22 July 2014 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Lin
I'd try the native support first...although I can't get it working on the Pi, others seem to have it working on other platforms.joske522 wrote:Hi guys,
I'm stuck
Did everything in the wiki, but the last step gives me following error:
make: cc: Command not found
make: *** [HarmonyHubControl.o] Error 127
This happens when I execute: make HarmonyHubControl
Any ideas how I can work around this?
Thanks!
http://www.domoticz.com/forum/viewtopic.php?f=4&t=3311
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Lin
You ned to install GCC on your raspberry.joske522 wrote:Hi guys,
I'm stuck
Did everything in the wiki, but the last step gives me following error:
make: cc: Command not found
make: *** [HarmonyHubControl.o] Error 127
This happens when I execute: make HarmonyHubControl
Any ideas how I can work around this?
Thanks!
Please use google on how to do that.
Op zoek naar een Domoticz Start Set?
-
- Posts: 18
- Joined: Friday 19 September 2014 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Lin
Allright, it worked with the native support in the beta build!
Thanks guys! I tried installing the GCC first but my head started spinning and I don't really know which procedure to folluw with all the different builds and versions...
Do I need it for something else?
Thanks!
Thanks guys! I tried installing the GCC first but my head started spinning and I don't really know which procedure to folluw with all the different builds and versions...
Do I need it for something else?
Thanks!
-
- Posts: 28
- Joined: Tuesday 22 July 2014 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Lin
Is this on the pi mate?...glad to hear it works for you.im having no luck with native support though seems to work ok for about two or three switchesjoske522 wrote:Allright, it worked with the native support in the beta build!
Thanks guys! I tried installing the GCC first but my head started spinning and I don't really know which procedure to folluw with all the different builds and versions...
Do I need it for something else?
Thanks!
Which beta version are you using ?
I've had to revert to the old method, it's very reliable, only drawback is that domoticz doesn't update if I switch the harmony from the remote, I can live with it though...I'd really like to get this native support working though.
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Control Your Harmony Hub with Domoticz (RaspberryPi (Lin
Domoticz should update the switch when using the remote. Take a look at the wiki page again.gb160 wrote:Is this on the pi mate?...glad to hear it works for you.im having no luck with native support though seems to work ok for about two or three switchesjoske522 wrote:Allright, it worked with the native support in the beta build!
Thanks guys! I tried installing the GCC first but my head started spinning and I don't really know which procedure to folluw with all the different builds and versions...
Do I need it for something else?
Thanks!
Which beta version are you using ?
I've had to revert to the old method, it's very reliable, only drawback is that domoticz doesn't update if I switch the harmony from the remote, I can live with it though...I'd really like to get this native support working though.
There is a script that checked every 10 min for an active activity.
Op zoek naar een Domoticz Start Set?
Who is online
Users browsing this forum: No registered users and 1 guest