Understanding and Resolving Scene Issues in UI7

Hey everyone! I’ve been exploring some scene automation in my smart home setup using UI7, and I came across an interesting issue that I wanted to share and get some insights on. Maybe someone else has encountered this or has some tips to offer!

So, I’ve been using a scene called “Het wordt Dag” (“It’s Morning”) which was originally created in UI4 or UI5. It’s a simple scene that turns on some lights and adjusts others when triggered by a specific event. Everything was working smoothly until one day, the scene just stopped running. I tried editing it in UI7, thinking maybe there was a compatibility issue, but the problem persisted.

Out of curiosity, I decided to create a copy of the scene. To my surprise, the copy worked perfectly, while the original scene still didn’t trigger. This was pretty puzzling. I compared the XML configurations of both scenes to spot any differences. The main discrepancies I noticed were the modeStatus field, which was set to NaN in the original scene, and the trigger name, which was blank in the working copy but had a name in the original. Both scenes had the same trigger device and arguments, so I’m not sure why the trigger name difference matters.

I’m wondering if modeStatus="NaN" has any implications. I did a quick search and couldn’t find much documentation on this field. Does anyone know what modeStatus represents and why it might affect scene execution? Also, is the trigger name something that could interfere with functionality, or is it just a label?

It’s interesting how sometimes creating a fresh copy of a scene can resolve issues, even when the configurations seem identical. I’m curious if others have experienced similar behavior or if there’s a deeper reason behind this. Maybe it’s related to how UI7 handles legacy scenes compared to newly created ones.

If anyone has insights or troubleshooting steps they’d recommend, I’d love to hear them! I’m currently using the working copy, but I’d prefer to understand and fix the original scene if possible. It’s a neat reminder of how sometimes the simplest changes can make a big difference in smart home automation.

Happy automating everyone! :star2: