Page 2 of 9

Re: Harmony support, new hardware?

Posted: Monday 08 September 2014 16:47
by markk
mbliek wrote:
markk wrote:I'm so sorry if I'm annoying anyone with stupid questions but I can't find this in my list of hardware. I assumed I'd need to update to a newer version of Domoticz to do so, I'm on v1909, but this seems to be the latest one :?
Change to Beta channel in Settings and you will receive the update.

NOTE: BETA releases may contain bugs.

It says this option isn't working in Windows :(

Re: Harmony support, new hardware?

Posted: Monday 08 September 2014 16:51
by mbliek
@CodeItAway

Does it also detect when an activity is activated with the remote?
With the solution I provided some time ago, it check every 10 min if there was an activity active at the moment.

Thanks for this.

Re: Harmony support, new hardware?

Posted: Monday 08 September 2014 16:58
by mbliek
markk wrote:
mbliek wrote:
markk wrote:I'm so sorry if I'm annoying anyone with stupid questions but I can't find this in my list of hardware. I assumed I'd need to update to a newer version of Domoticz to do so, I'm on v1909, but this seems to be the latest one :?
Change to Beta channel in Settings and you will receive the update.

NOTE: BETA releases may contain bugs.

It says this option isn't working in Windows :(
Oh, than you should wait until there is a new windows release

Re: Harmony support, new hardware?

Posted: Monday 08 September 2014 17:11
by CodeItAway
mbliek wrote:@CodeItAway

Does it also detect when an activity is activated with the remote?
With the solution I provided some time ago, it check every 10 min if there was an activity active at the moment.

Thanks for this.
You're welcome. It detects when an activity is changing and when the change is completed and updates the status accordingly.

Re: Harmony support, new hardware?

Posted: Tuesday 09 September 2014 14:02
by markk
Eagerly awaiting the new windows release :)

Re: Harmony support, new hardware?

Posted: Tuesday 09 September 2014 15:15
by sincze
Derik wrote:Got some errors....
The attachment ScreenShot041.jpg is no longer available

And it is not switching ...
I used to have this functionality implemented as described here.
http://www.domoticz.com/wiki/Harmony_Hub_Control


I renamed mv domoticz_main to _domoticz_main domoticz_main_prenativesupport (in /domoticz/scripts/)
Now lets see if my devices are being created.

Or maybe I did something wrong :D

Re: Harmony support, new hardware?

Posted: Tuesday 09 September 2014 20:26
by CodeItAway
You can check if the devices are created in Setup->Devices. Device creation is not being logged.
Edit: I see the message: Too many commands missed. That isn't supposed to happen. Was the harmony hub changing activity? Did the log say anything else?

Re: Harmony support, new hardware?

Posted: Wednesday 10 September 2014 4:35
by blaisabcde
Good job, seriously I really like this feature. I bought a Logitech harmony hub because of the domoticz support.

It seem to work but I get this in my log file :

Tue Sep 9 22:32:22 2014 Harmony Hub: Too many commands missed. Resetting connection.
Tue Sep 9 22:32:23 2014 Harmony Hub: Authentication succesfull

Re: Harmony support, new hardware?

Posted: Wednesday 10 September 2014 9:58
by steef84
I recently also got the hub. Nice toy. However over here also the errors.
I've replaced unneccesary logs with the XXXXXXX.
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:30:41 2014 (Harmony Hub) Lighting 2 (TV kijken)
Wed Sep 10 09:30:48 2014 Harmony Hub is changing activity
Wed Sep 10 09:30:50 2014 (Harmony Hub) Lighting 2 (TV kijken)
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:35:01 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
Wed Sep 10 09:35:20 2014 Harmony Hub: Too many commands missed. Resetting connection.
Wed Sep 10 09:35:22 2014 Harmony Hub: Authentication succesfull
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:37:30 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:38:00 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
Wed Sep 10 09:38:12 2014 Harmony Hub: Too many commands missed. Resetting connection.
Wed Sep 10 09:38:14 2014 Harmony Hub: Authentication succesfull
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:40:30 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:41:05 2014 Harmony Hub: Too many commands missed. Resetting connection.
Wed Sep 10 09:41:06 2014 Harmony Hub: Authentication succesfull
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:43:31 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
Wed Sep 10 09:43:57 2014 Harmony Hub: Too many commands missed. Resetting connection.
Wed Sep 10 09:43:58 2014 Harmony Hub: Authentication succesfull
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:46:31 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
Wed Sep 10 09:46:49 2014 Harmony Hub: Too many commands missed. Resetting connection.
Wed Sep 10 09:46:50 2014 Harmony Hub: Authentication succesfull
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:49:00 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:49:31 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
Wed Sep 10 09:49:41 2014 Harmony Hub: Too many commands missed. Resetting connection.
Wed Sep 10 09:49:43 2014 Harmony Hub: Authentication succesfull
Wed Sep 10 09:50:00 2014 Hardware Monitor: Fetching data (System sensors)
XXXXXXXXXXXXXXXXXXXXXXXXXXX
Wed Sep 10 09:52:00 2014 Error: Harmony Hub hardware (9) thread seems to have ended unexpectedly
Many errors in short time. Domoticz however seems to recognize the scene change when using the remote.

Re: Harmony support, new hardware?

Posted: Wednesday 10 September 2014 10:13
by gb160
superb work, many thanks for this...sorry if this isn't the right place for this.
I've been using the old method for a few months now and it works a treat when set up properly,
Through the harmony software I'm able to setup sequences, which is basically a macro, i have one to enable and disable 3d on my tv as there are no discrete codes available that I'm aware of, the sequence works perfectly from the harmony software and from the remote....but I've been scratching my head as to how i can trigger these sequences from the domoticz software or the harmonyhubcontrol cli.
if i run config_all from the cli , it lists the sequences with a name and id , but i don't know how to activate the sequence from the cl or domoticz.
Is there any way this can be achieved either from the cli or from the 'native' support that the harmony hub now has?

Native support is not working as expected for me....it seems to work ok for very short while, until it stops responding altogether, I have to reboot to restore functionality.
If it helps I'm getting this error in my log, I should point out the hub is not changing activity when this error occurs....

Wed Sep 10 17:39:37 2014 User: gb160 initiated a switch command
Wed Sep 10 17:39:37 2014 Error: Harmony Hub: Command cannot be sent. Hub is changing activity
Wed Sep 10 17:39:37 2014 (Harmony) Lighting 2 (Harmony PowerOff)
startup_path=/home/pi/domoticz/, hardware_id=14, device_id=19, status=On, status2=On, devname=Harmony PowerOff
Wed Sep 10 17:40:00 2014 Hardware Monitor: Fetching data (System sensors)

I'm also getting the same error messages in the log as the post above this one has detailed.
I'm using a pi.

Re: Harmony support, new hardware?

Posted: Friday 12 September 2014 20:37
by JohnS
I'm running Domoticz version 1.1970 on a pi. Also fully up to date using apt-get update/upgrade.

I would like to use the Harmony hub native support, but "Harmony Hub" doesn't appear in the list under setup/hardware/type. Am I missing something?

Thanks in advance for any help!

Update - solved!

As I have had Domoticz running for over a year continuously I thought I would try a new install, and copy over my domoticz.db file. The Harmony Hub appeared and is now working fine.

Re: Harmony support, new hardware?

Posted: Sunday 14 September 2014 21:12
by mbliek
@CodeItAway

I have one suggestion:
When everything is turned off, the switch to turn everything off is On.
Maybe it's better to turn that switch off when everything is off.

And On when something is On.

Re: Harmony support, new hardware?

Posted: Thursday 18 September 2014 13:09
by CodeItAway
mbliek wrote:@CodeItAway

I have one suggestion:
When everything is turned off, the switch to turn everything off is On.
Maybe it's better to turn that switch off when everything is off.

And On when something is On.
I thought about this. The PowerOff is an activity in the Harmony hub, but it is unlike the other activities since it has no real On or Off. Maybe it is better to implement it as such in Domoticz. So it will act as a command rather than an on/off switch.

Harmony support, new hardware?

Posted: Thursday 18 September 2014 13:15
by mbliek
Maybe you can use the push off button?

Re: Harmony support, new hardware?

Posted: Thursday 18 September 2014 20:03
by mbliek
Since the latest harmony hub update I can't control the hub anymore with domoticz.

They must have changed something in that update.

Re: Harmony support, new hardware?

Posted: Sunday 21 September 2014 14:46
by gizmocuz
working perfectly, just installed my hub (also had a firmware update)

indeed you could edit the switch and make it a push button

have not checked if it is still working after a long period of time

Re: Harmony support, new hardware?

Posted: Sunday 21 September 2014 19:20
by markk
gizmocuz wrote:working perfectly, just installed my hub (also had a firmware update)

Oh go on @gizmocuz, rub it in. As if all us Harmony hub owners running Domoticz on windows didn't feel left out enough already :)

Re: Harmony support, new hardware?

Posted: Sunday 21 September 2014 19:22
by gizmocuz
Okey okey i will make a new version tonight, problem was we needed some very good testing and all seems to work correct
You should be able to compile it yourself

Re: Harmony support, new hardware?

Posted: Sunday 21 September 2014 20:05
by markk
Thank you very much.

Re: Harmony support, new hardware?

Posted: Sunday 21 September 2014 20:13
by mbliek
Maybe I need to reset my hub. Will try that tomorrow.