HomeSeer HSM200 Support

Hi folks.

My involvement on this project lapsed a while ago because I’d hit some roadblocks on my implementation due to lack of official documentation, but I’m happy to help with getting the best implementation published.

I grabbed the latest version of the handler and re-added my HSM 200. The UI is much better, and the color setting seems a lot more reliable now. The thing I’m a bit confused about is how the on/off switch is supposed to work. I would expect that one could set a color and then use the switch to toggle the LEDs between off and continuously on (at the set color). Maybe that isn’t possible? My intended use case for this device was to make a “smart nightlight” that I could use with a SmartApp to indicate e.g. that lights have been left on, garage doors are open, etc.

Does anyone have a sense for whether or not that is possible with a bit more hacking on the handler?

(Replying to myself…)

Ha, so I guess I should have read back through the history before posting. It looks like my use case should already be supported! And yet, when I tried wiring things up via the Smart Lighting app (e.g. turn the light red when the garage doors open), nothing happens. I suspect that I’ve got a defective unit. I’ll do some more debugging when I have a chance.

Sorry for the noise, and great work on this device type!

1 Like

Thanks. Yeah, like you mentioned, it should already work with SmartApps that use “setColor” like Smart Lighting.

1 Like

Hi Eric, can you please post a link to your latest code?
I am having difficulty where the OnTime parameter is not changing from the default 10. I am trying to set it to 1 min. Has anyone been able to successfully set OnTime to 1 min?

The latest code should just be from DrZWave’s github:

My changes have been merged there. I can see from the logs that the parameter is getting changed correctly. Are you hitting the “configure” icon after making the changes in the preferences page? If so, can you post what is shown in the log when you do so?

Not sure if anyone else has this issue, or if it is considered a feature, but my motion sensor doesn’t reset more than every 10 minutes. Is that normal? Ideally I’d only have it retain the motion active state for about 10 seconds. It is wall powered after all. Is that just the way it is? I’m a developer so if anyone could point me in the right direction of whether or not a more sensitive setting is possible I could probably add to the DH.

1 Like

Thank you for replying. I think abavery is having exactly the same issue. Motion updates are only 10 mins no matter what I try to set.

When I change the parameters, this is what is shown in the logs:
Date Source Type Name Value User Displayed Text Changed
2016-10-05 10:08:59.469 PM PDT
moments ago DEVICE ENTITY_UPDATE DeviceUpdated Device ‘{{ deviceName }}’ updated false
2016-10-05 10:08:13.149 PM PDT
moments ago DEVICE ENTITY_UPDATE DeviceUpdated Device ‘{{ deviceName }}’ updated false

So update seems to be failing.

Are you pressing the configure button after changing the option in preferences?

1 Like

I am not pressing configure after changing the option. I can’t speak for rogerg though. Should I be?

The lowest value you can set for the motion sensor to reset is 1 minute. Change it in preferences and then hit the “CONFIGURE” button.

1 Like

That actually makes a lot of sense. Didn’t realize I had to hit Configure. I’ve changed it now and I’ll give it a test when I get home tonight. Thanks a bunch

1 Like

@erocm1231 @abavery That worked!

Based on this experience, a UI tweak I would suggest is to rename the “Configure” button to something like “Push Settings Change” or “Push Config” to make it explicit to the user that any changes to Settings must be pushed.

Eric, overall the code that you have helped develop is awesome! Thank you so much.

Configure is actually the common verbiage for that function in the SmartThings platform. I did just push a change though that makes the handler automatically execute configure after you change the preferences and hit done.

1 Like

“Configure” is part of the Z wave standard. Both this device and the SmartThings hub are certified Z wave devices. So the term “configure” has a specific meaning in this context.

Here’s the official conformance statement for this device from the Z wave alliance website. :sunglasses:

Wow ok, that’s even better. Problem solved then!

2 Likes

Is there a way to set color based on mode change? I’m thinking about buying this to use as an indicator for when SHM is armed.

Need help to see temperature in Smarthings app.
All I am missing something simple, I bought the Express Controls EZMultiPli (same thing as the HSM200) and attached it to an electrical outlet outside my house. All I want to be able to do is get the temperature reading on my Smartthings app.
I have a Smartthings version 2 hub.
Here is what I did so far

  1. After plugging in the sensor to the outlet it was flashing green and I tried to add the sensor to my hub via the iPhone app. I was not successful in doing this.
  2. I read this forum and logged into https://graph.api.smartthings.com
  3. I went to My Devices and clicked on “+New Device”
  4. I put this info in on the following fields
    Name Temperature Outside HSM200
    Label I left this blank
    Zigbee ID I left this blank

Type I selected HomeSeer Multisensor
Device Network Id I I copied and pasted the following URL


Version I kept as "Published"
Location - I put in my hub name from drop down "Home Stroud"
Hub - Location - I put in my hub name from drop down "Home Stroud"
Group I left blank

After doing this the temperature sensor shows up in my smartthings iPhone app under “things” but it only shows “motion” I can’t figure out how to have this show me the outside temperature.

I tried fiddling around with the config of the “thing” in the iPhone app and saw nothing to change.
I tried changing the “Type” in the https://graph.api.smartthings.com to “Temperature Sensor”, that did not work.

I even tried using https://github.com/mjmac/smartthings/blob/master/hsm200/driver.groovy as the device network ID.

Can anyone help me configure this so I can see the temperature? Thanks in advance and sorry if this is a dumb question. James

After reading various things here and on Amazon.com reviews here is how I finally configured this to work with SmartThings hub (version 2 in my case)
Instructions to get EZMultiPli is also known as the HSM200 working with SmartThings Hub version 2

  1. Plug the EZMultiPli is also known as the HSM200 into an outlet. When you do this it should flash green.
  2. On the side of the EZMultiPli (or HSM200) you will see a very small button that is about 1/8 of inch long and a few millimeters thick. Press and hold this for about 30 seconds, it will start flashing colors (I think red) and then it will stop flashing, at this point open your SmartThings app on your iPhone or Android device and click the “Add A Thing” under My Home
  3. You will then see a new thing called “RGBW Light” added to your SmartThings. At this point it is not configured yet.
  4. Go the https://graph.api.smartthings.com and log in
  5. Go to My Device Handlers at the top and click button “Create New Device Handler”
  6. Under “Create New Device Handler” Click on the “From Code” link at the top
  7. Go this this URL https://github.com/drzwave/ExpressControls/blob/master/EZMultiPliDeviceType.gy and copy the code into your clipboard or memory of your PC or Mac
  8. Then Paste the code into the blank white box under the Create New Device Handler in the From Code link
  9. Click the Create button at the bottom
  10. From https://graph.api.smartthings.com/ go to My devices and you should see the RGBW Light Device, click Edit
  11. Click the Type* field and scroll to the very very bottom and you should now see “EZmultiPli” select that
  12. Optionally select Label to something more useful as in “Temperature Outside” (you can do this from the SmartThings app on your phone)
  13. Click Update
  14. Now in the SmartThings app on your phone you will see the temperature, you will have to enter the “thing” and leave it and it will soon show up with the temperature
1 Like

Glad you got it figured out. The method you mention in 1 & 2 is the Z-Wave inclusion process. It will generally work the same with every Z-Wave device you get. You put your SmartThings hub in inclusion mode and then press a button on the device. Some devices will work with SmartThings at that point & some need custom device handlers installed.

I followed the procedure that James created (Thanks James), and I gave the device added. It’s not working as I think it should though. The sensor has a steady flashing blue LED. Has for hours. On the phone, the configure button does not work, the light on-off says it’s turning on or off, but has no effect on the blue flashing light. The temp reads – as does the lux. On smarttiles, the temp and lux say n/a and the motion says motion. I have unplugged and replugged, removed and re-added the device. No change. I wonder if the sensor is bad? Or, if I missed a step…