- Platform information:
- Hardware: HP Microserver Gen8
- OS: Debian 10 as VM on ESXi
- Java Runtime Environment: which java platform is used and what version
- openHAB version: 2.5.9
- Issue of the topic: Only 2 of 3 Devices connected to the Harmony Hub are showing up in Alexa
Hello,
i’m a little bit confused about my Harmony Hub and the Devices.
At first, i hope i am right here at openHAB, cause it could also be a Alexa problem…
I have my Harmony Hub connected to openHAB and this is working without any issues, all 3 devices i have (TV, Soundbar, Receiver) are working and are showed as online inside openHAB.
The only thing is, Alexa is not discovering the Receiver, only the TV and the Soundbar is found…
I cannot find anything wrong within my configuration, maybe someone else has this issue and can give me a helping hand.
Here are my configurations:
harmonyhub.items
// Logitech Harmony Hub
String Harmony_HubButtonPress "Button press" {channel="harmonyhub:hub:MichaelsHarmonyHub:buttonPress"}
Player Harmony_HubHubPlayer "Player control" {channel="harmonyhub:hub:MichaelsHarmonyHub:player"}
String Harmony_HubCurrentActivity "Current activity" {channel="harmonyhub:hub:MichaelsHarmonyHub:currentActivity"}
// Steuerbare Objekte am Hub
// Teufel Cinebar 11
String Harmony_cinebar "Soundbar" (gHarmony) {channel="harmonyhub:device:MichaelsHarmonyHub:58819359:buttonPress"}
Switch Soundbar "Soundbar" ["Switchable"] // Item für Alexa
// Sky One Receiver
String Harmony_skyreceiver "Sky" (gHarmony) {channel="harmonyhub:device:MichaelsHarmonyHub:68212826:buttonPress"}
String Sky "Sky" ["Switchable"] // Item für Alexa
// Samsung Smart TV
String Harmony_tv "Samsung TV" (gHarmony) { channel="harmonyhub:device:MichaelsHarmonyHub:62559404:buttonPress" }
Switch Fernseher "Fernseher" ["Switchable"] // Item für Alexa
harmonyhub.rules
// Fernseher Ein/Aus via Alexa
rule "Fernseher"
when
Item Fernseher received command
then
switch(receivedCommand)
{
case ON : Harmony_tv.sendCommand("PowerOn")
case OFF : Harmony_tv.sendCommand("PowerOff")
}
end
// Soundbar Ein/Aus via Alexa
rule "Soundbar"
when
Item Soundbar received command
then
switch(receivedCommand)
{
case ON : Harmony_cinebar.sendCommand("PowerOn")
case OFF : Harmony_cinebar.sendCommand("PowerOff")
}
end
// Sky Receiver Ein/Aus via Alexa
rule "Sky"
when
Item Sky received command
then
switch(receivedCommand)
{
case ON : Harmony_skyreceiver.sendCommand("PowerOn")
case OFF : Harmony_skyreceiver.sendCommand("PowerOff")
}
end
The configuration is working for the TV and the Soundbar,Alexa can turn them on and off by the cloud connection…
Greetings,
Michael
Edit: Found the answer… the thing for the Receiver was written as String… Should be Switch…