I have a project due shortly, the project consists in a Building, mostly DALI protocol. I have a DALI gateway in every floor of the building, with relays, PCI and PASCAL, everything is programmed and parts of the building are functioning. The main idea of the building is to save energy with the DALI protocol, and that the building is possible to dim the lighting fixtures depending on the amount of natural light on the outside. So I have installed MULTI sensors in open spaces were people work and also in private offices. The thing is that I want to used both functions ?light level? and ?occupancy? at the same time. I?m sending you my Piced and toolkit programs, so that you can help me and help me solve two out of three problems I?m having. And you can see what could me problem be. First problem: When the light level sensor is on the fixtures and the dali ballast that I have group together in a scene, after a couple of minutes start to dim down and then up, and it won?t stop. The people working there are starting to get mad. So I decided to disconnect this for a while, you?ll see in the logic engine the code I have written for light level and motion. The block tab, were you program the time of the sensor, could help resolve this problem? Second problem: Is it possible to control a room or open room with both light level and occupancy at the same time? Example: a person walks into a office at 7:00 in the morning, the light come on with the presence but then the light level will manage and see the natural light outside and dim the ballast to a correct level the person needs to work with. If the person leaves the room for the next 20 minutes the light will come off. Is that possible? As I already told you, these are big concerns with my client. My third problem is mostly hardware. I have been having some troubles with 12 channels relays. Some relays have been working extremely odd, sometimes when I press the local button to turn on/off the relay, it won?t answer or do anything, it just stays that way. I don?t know what to do. After a couple of days the relay is functioning well, but I think it will happen again. In other cases the relay will turn on/off a channel without any programming of a sensor, it just starting to do this. What should I do if the building or floor suffers a power failure and when it recover the breaker won?t go off? The recovery tab should help this right? How can I solve this?