I'm lost and probably late to the party. I've had Veraedge for several years using a combo of Z-wave and Arduino Mysensors without much issue. Over Christmas I got an Alexa and integrated it no problem. Feeling confident, I bought a Philips Hue Ambiance kit this weekend and what a disaster. It paired no problem, I could execute Hue scenes from within the plug-in, but when I tried to integrate it into my existing Vera scenes my whole system stopped working. I rely heavily on luup code in all my scenes. Nothing fancy mostly conditional executions, but more specifically basic code I've been running for years. I tried to replace some z-wave dimmers and lights with Hue scenes that I created on my phone. I initially attached each Hue scene to a Vera scene and planned on executing those scenes from within my existing scenes. Again nothing fancy, a motion sensor trips a scene and lights are set based on time of day and light sensor values. Where the code called for certain lights at specific levels, I created Philip Hue scenes that did the same thing and embedded it into a Vera scene that I could execute using luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1","RunScene",{ SceneNum="1"}, 0) in it's place.
The Hue/Vera scenes executed as expected when tripped manually, but when I inserted the above code into my existing scenes they completely stopped working. My LuaPnP was all errors and my luup code was in the log in all red (wished I saved a sample) saying cannot run lua code, expected then after if, expected end, even plus symbols were replaced with %F. It wasn't just the code from the scene I altered, it was code from others scenes I hadn't touched. The dashboard worked but all scenes stopped. When I removed my changes the errors didn't stop and all my scenes continued not working. It only came back with a restored back-up. I even tried it again using http commands to execute Hue scenes directly, but the same thing happened! (and yes factory reset starting code from scratch)
So is this just me? I am not using Hue Color bulbs, just the White Ambiance bulbs. Is this specific to Hue Ambiance lights? Am I missing something? How have others integrated Philip lights into scenes?
Not sure I can help you. I found out after the fact that Hue color lights default to a color and can't be changed. I wanted energize hue scene to set my color lights and my light bulbs are in lamps that already have a z-wave controlled socket. In retrospect I didn't realize how this wouldn't ultimately be the best solution but whatever.
I do not use the scenes in Vera but instead decided to tell Alexa to change to energize scene for Hue which links via IFTTT.
In your case, when I was using a minimote with code from my VL and upgraded to a VP I found it didn't work. My opinion is lua code changed in small manners that might need to be figured out to proceed. However using the Hue versus a native z-wave device might be different. I have had a similar experience with lua code that caused the behavior you describe and had a small nightmare fixing it.
Did you try "test lua code" first to see if that executes successfully? I saw you removed plus symbols and replaced with %F, I do recall some characters caused this issue a while back and I thought that issue was already fixed a few releases ago.
I wonder if the Alexa app's scene control might work better by chance than Vera for what you want to do. It's worth a shot while trying to figure this one out.