[RELEASE] Enhanced ZooZ 4 in 1 Sensor (ZSE40 v1/v2/v3) Device Handler with Temperature, Humidity, Motion and Luminescence Sensor with Lux Reporting

thank you very much!!! :thumbsup:

1 Like

Sorry for being slightly off topic, but I can’t seem to get my ZSE40 to be recognized as this DH. It always gets recognized during the pairing process as the default zwave motion sensor. I see the DH in my DH list in the IDE but it doesn’t seem to have any effect. What am I doing wrong?

Did you publish it? You can always change it manually after pairing from
the IDE by editing the device properties.

Well I think the problem has to do with my account setup. In the IDE I see no hub nor any devices, yet I login with the same credentials as I do my mobile app. However if I click on locations it wants me to login again and then I see my hub and devices. I do not know why this is but i believe if on this set of pages (slightly different URL… Plain versus eastus or something) if I then SRT up my device handlers I should be all set.

I’m a recent converter from openHAB so I’m still getting a little used to things.

Sounds like you’re logging into the wrong shard.

2 Likes

Correct that’s the right way to get your ‘shard’. We have also included that in the installation instructions.

1 Like

Yes, that was it. Once I straightened this out everything else seemed to fall into place. Thanks!

1 Like

@RBoy, what do I need to do in order to change whats displayed on the things page or main page? It defaults to temperature but I want it to be motion. I changed line 144:

main([“temperature”, “motion”, “humidity”, “summary”])

to

main([“motion”, “temperature”, “humidity”, “summary”])

But the results was that it just had MOTION but would not cycle. Also would rather have the motion displayed like the default motion icon that is commonly used in ST.

I am not a coder but you see I did try. :slight_smile:

 valueTile("motion", "device.motion", width: 2, height: 2, inactiveLabel: false) {
        state "active", label:'motion', icon:"st.motion.motion.active", backgroundColor:"#53a7c0"
        state "inactive", label:'no motion', icon:"st.motion.motion.inactive", backgroundColor:"#ffffff"
    }
    standardTile("configure", "device.configure", width: 2, height: 2, inactiveLabel: false, decoration: "flat") {
		state "default", label:'Request update', action:"configure"
	}
	standardTile("tamper", "device.tamper", width: 2, height: 2) {
		state("detected", label:'TAMPER', backgroundColor:"#FF0000")
		state("clear", label:'', backgroundColor:"#FFFFFF")
	}
    
    main(["temperature", "motion", "humidity", "summary"])
    details(["summary", "temperature", "humidity", "illuminance", "battery", "configure", "tamper"])

No such line before main on Line 144

Apologies. That’s correct, Main is the line to change and what you’ve done is absolutely correct. What did you mean by Motion is showed by did not cycle?

Try to kill the ST phone app and restart it.

###Enhanced ZooZ/Monoprice 4 in 1 Sensor (ZSE40/15902) Device Type - Version 02.02.03

  • Updated color scheme to reflect the new ST recommendations
  • Automatically switch color schemes for C and F temperature scales

##Enhanced features:

  • Ability for users to choose between reporting Light as Lux or % in settings
  • Support for ZSE40 v1/v2 and Monoprice 15902 devices
  • Support for Mode 4, LED Flash only for Motion (none on Temperature change)
  • Support for Humidity correction offset
  • Reporting Tamper Alerts to ST platform
  • Custom wake up time for ZSE40 v1/v2 devices

###See the first post for a complete list of features.

Can somebody tell me how to factory reset this sensor (and how to recognize it as factory reset?) I’m having issues with 1% battery reports, no matter what I do.

Remove the device, open it, and press the tamper button 10 times within 10 seconds. The light will most likely flash different colors or something after the 10th time you push it.

Are you trying to use the device with rechargeable batteries? Those rarely operate at the full 1.5v and might explain why it’s always showing 1%.

So apparently this device does not work properly with rechargeable
batteries. I’ll make sure to mention that in my review. Thank you for your
reply.

You may want to try using Li Ion batteries, they have a much better voltage discharge curve and last much longer than alkaline batteries.

E.g.

NOTE These are NOT rechargeable batteries, do NOT try to recharge them as they may explode if you do so. These are one use and throw like Alkaline batteries. See this post for more details on Li Ion vs Alkaline.

###Enhanced ZooZ/Monoprice 4 in 1 Sensor (ZSE40/15902) Device Type - Version 02.02.04

  • Added validation for temperature sensitivity in preferences (required ST app version 2.4.0 or later)

##Enhanced features:

  • Ability for users to choose between reporting Light as Lux or % in settings
  • Support for ZSE40 v1/v2 and Monoprice 15902 devices
  • Support for Mode 4, LED Flash only for Motion (none on Temperature change)
  • Support for Humidity correction offset
  • Reporting Tamper Alerts to ST platform
  • Custom wake up time for ZSE40 v1/v2 devices
  • Automatic switching between F and C

###See the first post for a complete list of features.

@cinghialino - Did you ever figure out the 1% battery issue? I had replace battery’s a few months ago (standard AAA Alkaline). The ZSE40 sensor is working great, however battery continues to report 1%.
This sensor seemed to work with the standard AAA batteries that came with it, and reported the battery level effectively, until they ran out and the sensor stopped communicating.

@dstevek I just stopped using rechargeable batteries. I know it sucks, but that’s my solution, as it appears that this device ca’t work properly with batteries that give 1.2v

1 Like

I’ve done the same thing.
This is what I have

    main(["motion", "temperature", "humidity", "summary"])
    details(["summary", "temperature", "humidity", "illuminance", "battery", "configure", "tamper"])

Lines 155, 156. I have the same issue, it just shows the word MOTION now. but in the details, it shows no motion. I’ve restarted the IOS app. Maybe it will fix itself on next poll. I’m not home to reset it with a pin right now.

on a separate question, how do I get the tamper icon to reset. It orange, I assume that means “tampered” with.