SenseCAP Indicator Motion Display

My inspiration for this project came from this topic:

My needs were different than what was shown in that topic, and after getting inspiration and guidance from @iEnam , Claude and I embarked on a journey to explore this Vibe-Coding thing. This was my first VC attempt. Lots of trial and error and testing, etc. You know the drill.

EDIT: I have removed the rest of this post, as it is mostly wrong!

Description from my new best friend, Claude:

SenseCAP Indicator Motion Display connects up to 9 Hubitat motion sensors to a SenseCAP Indicator touchscreen running openHASP firmware. Each sensor gets its own colored tile on the screen — red when motion is detected, fading to black then snapping to green when clear. The backlight turns on with motion and turns off automatically when all sensors are clear, with configurable timeouts. Supports 2×2 (4 sensor) and 3×3 (9 sensor) layouts.

It now lives at GitHub - jlslate/SCapIM: SenseCAP Indicator Motion for Hubitat · GitHub
It incorporates both the 2x2 and the 3x3 formats. Let me know if I missed an install step or three.

Enjoy

3 Likes

Are you using MQTT bridge with OpenHASP?
Edited: didn’t read the other part, looks like it is.

I’m interested in checking out that custom ultrasmart.pl firmware linked when it’s available, but not sure how flexible it will be in terms of UI, because I’d like the main page to have the time taking up the top portion, then the bottom two squares for two devices I want to monitor the most.

Using MQTT seemed like the easiest approach but looked at Maker API as well.

I never got Maker API to work. I'm using the built in MQTT Export Integration. Once I got Claude involved, the setup was easy.

1 Like

Thanks, yeah I didn’t read enough.

I’m interested in what you have, I have 2 D1 and a D1Pro. Ultrasmart.pl said their custom firmware won’t support the D1Pro (yet at least), so some functionality is lost flashing with that.

Do you plan on putting your implementation up on GitHub/GitLab?

I haven't Git that far yet. :wink: I'm just starting out on this adventure. I can PM them to you if you want.

1 Like

Also, I don't know if openHASP works on the D1Pro or not.

Sure, that would be great.

I’ll probably try out ultrasmart.pl’s custom firmware, but something opensource and flexible to modification could really push the use cases of these cool devices.

I have quite a few 2 inch screen Sonoff and ThirdReality Temp/Humidity sensors I’d like to replace with these.

1 Like

Do be aware that it appears that the temperature and humidity sensing capability of this device is accomplished by plugging in a small external circuit board, so the wife approval response (“war”) factor may need to be taken into account.

1 Like

Yep, the D1Pro comes with a Grove AHT20 sensor, I have some cheaper
Grove T/H sensors from some other projects, but I haven’t tried them on the D1 yet.

My wife is pretty liberal with my tinkering as long as I don’t create an eyesore.

The D1 takes up about double the space as the Sonoff and ThirdReality sensors with screens, but for spots like my office desk and nightstand I shouldn’t get much fuss, other spots my be a bit tricky.

1 Like

See first post for exciting? news.

1 Like

Hold off on any installations. I'm redoing it so you can select either 2x2 or 3x3 grids, amongst other things.

1 Like

Very nice, the improvements sound solid.

As I said in the PM to you, I won’t be able to tinker with this until the weekend at the earliest.

You got your first GitHub star btw. :wink:

2 Likes

Well, I lost it because I totally started over. See first message.

I just told Claude - published to github. we done good, claude

He responded with

We really did! It's a solid piece of work — started as a simple 4-tile motion display and grew into a full-featured integration with dynamic grid layouts, smooth fade transitions, smart backlight control, MQTT resilience, and clean separation between the app, driver, and display layout.

Congrats on the publish — hopefully the Hubitat community finds it useful!

He's so supportive.

3 Likes

Added the ability to change the name of the app.

3 Likes

Do you plan on just limiting this to just display motion sensor status now?

What were you thinking of?

New version and license. Added ability to choose the logging level (info or info & debug or turn off.)

If there is motion and it has triggered long enough to cause the backlight to turn off, then while there is still active motion, the backlight will briefly come on showing the still current motion.

If there is motion and it has triggered long enough to cause the backlight to turn off, then when the motion stops, the backlight will briefly come on showing all motion is stopped.

These delays are configurable within the driver, as is the logging level.

App Version 1.1.0

Driver Version 1.1.0

New driver version 1.2.0

New app version 1.2.0

New pages4.jsonl and pages9.jsonl

New README.md

Settable value for fade time

Create tile labels within App, instead of messing with pages.json

Labels are now set within the App

I guess I was thinking it would allow monitoring and actions of any user selected device type.

I had downloaded your previous version and looked at it a bit, but still won’t have time to tinker with it until Friday.

Is there a reason you switched from the MIT license to the Unlicense?

IMHO you were good with the MIT license, it’s a solid choice for something like this, my first choice is the GPL license but MIT works just as well.