In case anyone needs to know, that did the trick. You can’t run ha-bridge at the same time as hue emulation since they’re basically trying to do the same thing and occupying the same ports. Disabling ha-bridge and running the iptables command above resolved all the issues and it’s all working great now!
I’m still having the issue where everything looks good from the server end, just not seeing the google home or the android phone that I am setting it up with send ANY packets, with trace logging enabled in the emulator.
Is there anything that can block the application from sending that information out? I can use other programs like BubbleUpnp and they seem to work fine… just not seeing anything when the hue app from google home tries to connect.
Any ideas? Can someone show me log files from when they click “pair” in the app with trace logging enabled for the emulator? Is there anything I can do to try and debug this, or help someone debug this?
Home & Hue emulation is generally working well for me since a couple of weeks.
But today I added two lights to openhab: one simple switch and one Fibaro Dimmer 2.
I have linked items and can control the dimmer and switch just fine from the openhab UI.
Naturally, I then want Google Home to be able to control them so I go into the file org.eclipse.smarthome.core.items.Item.json and adding tag “Lighting” and a label for the switch. It then works fine with Google Home.
But I can not find the dimmer anywhere in this file. What am I missing?
I had similar issues, I found that my firewall was blocking the UPNP requests. Try to use an UPNP browser app on your phone/tablet and see if you see the Hue Emulator. I even see it in the windows 10 network browser now.
And I found the error why my dimmers did not show up in org.eclipse.smarthome.core.items.Item.json:
Items will not be created for ‘real’ if you use Simple Mode, so I will simply create the links manually from now on.
So i tried deleting the files in the /var/…openhab/…folder, renaming them in my items file and restarting openhab.
I unlinked and relinked hue in the ghome app.
I now have triplicate items in the app.
What is going on here?
Every time i wipe those specific files mentioned above and redo it, it adds another entire new set on the app when i unlink and relink hue…I no have 112 when i should have like 25.
Can anyone tell me how to reset all of this cleanly?
Specifically with Amazon echo.
Prior to this it used to work fine.
After introducing this binding, it is causing issues.
I have an item:
Switch EchoBedRoomLight “The Bedroom Light” [ “Switchable” ]
I used to say Alexa, turn on the bedroom light, it worked fine.
After this binding, it started replying, “that command doesn’t work on device bedroom”
So i changed the item to:
Switch EchoBedRoomLight “Bedroom Lamp” [ “Switchable” ]
It still replies with that error.
Any idea what is happening here?
I also noticed i have to discover twice now; the first time alexa finds my ecobee and sensors; if i discover again, it finds the “hue lights” off of this binding.
Does anyone have the TargetTemperature working? I’m using @digitaldan’s latest build.
The [“Switchable”] and [“Lighting”] tags get instantly added to my discovery.xml file, but I can’t get a [“TargetTemperature”] to show up in the discovery.xml file, so it won’t be recognized by Google Home:
Number TVSleepTimer "TV Sleep Set Point" [ "TargetTemperature" ]
One more question… is it possible to launch Pandora from OpenHAB? I know that I can use my voice to tell Google Home that will turn Pandora on, but can I programmatically tell Google Home to turn on Pandora through OpenHAB?
Like when I come home for the day and I open the door, it’d be nice for my house to:
Turn on my speakers
Set the speaker input to Chromecast Audio
Play Pandora to whatever pre-defined channel I specify
I am now having the issue some have experienced…everything works, then degenerates into not working.
I am unable to repair it.
I’ve tried removing the files in the hueemulation folder, removing the items and readding into the google home app, rebooting openhab, and rebooting the google home units…nothing works.
I just get a response “sorry i am unable to process your request”
I have a switch that sets my AC on 68 for 2 hours:
Switch Hold682Hours “Two Hour Hold” [ “Switchable” ]
it fires off a rule that sends an action to my ecobee.
It was working this morning, then all of a sudden quit.
As stated, resetting everything above multiple times, does not correct it.