PLUGIN: Magic Home Wifi LED Control (Bulbs & RGBW strips)

API documentation here.
The packets consist of a byte sequence that specifies the command, the color specifics (if changing the color), and a check digit which is an 8bit value (0-255) that you get from adding up everything along the way… the sendTCP function in I_MagicHomeRGBW.xml lays it out pretty plainly (or maybe that’s just to me, I guess…)

It may be useful to simply use an existing node red package? Use this and figure out a way to have vera poke whatever flow you need.

Here’s where I think I’m going to run into a problem. These lamps are currently connected to standard z-wave dimmer modules and are primarily controlled by Cooper RF9500 wireless wall switches, (also by some timed scenes).

The problem is, no one has ever been able to get an RF9500 to work as a scene controller with the Vera, even though it’s supposed to work as one. They only work by Direct Association to the device. You can set the association with the Vera, but if you try to use it as a scene controller, it doesn’t work. Since the virtual HTTP switch can’t be associated to the device, (only real devices can), the Cooper won’t be able to control it. I don’t think I’m going to be able to use these bulbs the way I’d like. :slightly_frowning_face:

Your mainly talking to guys from the EU, so not so familiar with US spec Z-Wave hardware.

I always thought that was a no no. Connecting Z-Wave dimmers to “Smart” bulbs.

It’s one or the other surely?

If you have a Z-Wave dimmer module or Z-Wave dimmer wall switch then you’d only use bog standard regular bulbs no?

Yes, right now they are regular bulbs. My plan was to remove the z-wave dimmers and just plug the lamps directly into the wall and use the Smart bulbs on/off/dim/color features instead. I’d remove the z-wave modules.

Replacing Z-Wave dimmers with “Smart” bulbs seems like a step backwards to me.

Smart bulbs are not so smart when the wall switch has been turned off and they have no power. Not so smart then as you can’t turn them back on via the system.

What are you wanting to achieve?

Where are the desired bulbs actually located?

Fixed ceiling or wall mounted light fixtures connected to a wall switch? or just side table lamps?

For ceiling lights I use regular white bulbs and Fibaro Dimmer 2 modules behind wall switches.

For side table lamps I either use Z-Wave dimmer plugs with regular white bulbs or Philips Hue RGBW bulbs.

1 Like

These are side table lamps and the primary source of light in the Family room and Bedroom. Right now they are plugged into standard z-wave dimmer modules and have regular light bulbs in them. Since there is no switch wired to control the outlets they are plugged into, I purchased some wall mount Cooper RF9500 wireless switches and attached them to the wall near the door to each room. I programmed the RF9500’s via z-wave Direct Association through the Vera to turn on/off/dim the z-wave dimmer modules the lamps are plugged into. Now when you enter, you use the RF9500 switch to light up the room.

My goal would be to keep that functionality, but add the ability to have different colored light for watching TV/movies. Since the RF9500 won’t function as scene controllers and only work via direct association, I maybe out of luck, even with something like Hue bulbs since they probably can’t use Direct Association either.

Make and model number of these?

They are GE 45602’s Z-Wave dimmer modules, but my plan was to remove them and plug the lamp directly into the wall. Then I’d use the smart bulb’s on/off/dim/color features.

These are Z-Wave wall switches right?

We will have to look up what devices you are currently using, as they are US spec and we don’t know them.

So what lights do you have in the ceilings? And what controls them?

What are the Cooper RF9500 wireless switches physically connect to? Or nothing?

No, are are no wall switches involved. They are modules that plug into the wall, then you plug the lamp into them. They are added to the z-wave network and controlled via the Vera.

I have no ceiling lights in these rooms, only the table lamps. Prior to the HA setup, you had to walk into the room in the dark and switch the lamp on manually. The RF9500’s are battery operated and can be mounted on any wall. You don’t need an existing wall switch and there is no wiring involved.

My Fibaro Dimmer 2 modules and wall light switches physically control the ceiling lights as a connected lighting load.

However via Vera amf PLEG I have programmed double clicks on the these wall switches to also then turn on my side lamps.

I can’t change the colours of the side lamps via the wall switches though, but I can turn the side lamps on and off via the wall switch, even though the side lamps are not physically wired or connected to the wall switch.

I wouldn’t need to control the colors via the wall switch, just on/off and maybe dimming if I could get it. I could control the colors via the app or Alexa if possible. Since I can only Direct Associate the RF9500’s with a real z-wave device, I don’t think I’m going to be able to use them to control any kind of colored bulbs. I’d have to find a battery operated wireless wall switch that functions as a scene controller. However I don’t think those exist. At least they didn’t when I found the RF9500’s. It has to be a single switch, not a multi-button panel (WAF in action here), and it has to “look nice”. :slightly_smiling_face:

To me that sounds like a Z-Wave wall light switch.

But we are talking cross purposes I think.

A wall mounted switch is a switch on the wall. A light switch.

A plug or Z-Wave plugin module, is a a plug that plugs in to an electrical outlet / socket.

Anyone from the US can translate :thinking:

It is a z-wave device, but it’s not a traditional z-wave wall switch. It can mount anywhere on any wall, where there are currently no wires. It is battery operated and just sends on/off/dim signals to the z-wave controller or directly to a z-wave device via Direct Association. It doesn’t require a wired connection of any kind. You could carry it around in your pocket and push the button and it would do the same thing if you wanted. It looks like a regular wall switch but it has no wires coming out of it and uses a small battery for power.

If you Google Cooper RF9500 you can see what they look like. There are no wires on them at all. They’re basically a battery operated wireless z-wave remote that looks like a wall switch.

I’m sorry, I’m probably not explaining things well. :slightly_smiling_face:

If you are able to trigger the switch in Vera when clicked, it’s doable.

I’m doing this with a wall switch: 1 click to toggle, 2 to rotate colors, long press to rotate dim presets.

The light strip is from hue and it’s not connected to the Zwave switch. The Zwave switch is not connected to a light, it’s acting as a scene controller. I also have a Shelly i3 doing the same for my home office.

That’s the problem. The Vera doesn’t respond in any way when you click the switch. The only thing that works is to set up the group and direct association between the switch and a device. Then it will turn the device on/off and dim it. The Vera doesn’t respond or show any activity at all.

Leave the association in place and use reactor to map the old z-wave wall plug to the new virtual device.

6 posts were split to a new topic: Linking MagicHome lamp to Vera Via Node-red

go to the tool section of the reactor sensor, Use device spy and select the bedroom lamp. now use the rf9500 and turn off/on or dim bedroom light. Do you see any variable states changing?

Awesome! No, the bedroom lamp module showed no change when I activated the RF9500, BUT, when I used Device Spy on the RF9500 itself, I got this:

Watching #231 Master Bdrm Switch; waiting for changes in device states…
urn:micasaverde-com:serviceId:SceneController1 / sl_SceneActivated = “255”
urn:micasaverde-com:serviceId:SceneController1 / LastSceneTime = “1604774926”
urn:micasaverde-com:serviceId:SceneController1 / sl_SceneActivated = “0”
urn:micasaverde-com:serviceId:SceneController1 / LastSceneTime = “1604774932”

So it looks like the Vera is receiving a scene change. With that, I should be able to use Reactor to trigger HTTP Virtual Switch that will then send the message through Node Red to control the MagicHome bulb!

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules