What did you build/automated today (with pictures)?

Exact, and we need pictures and screen shots :wink:

Ok, Here is a quick and easy one, charging station for various devices.
A button (xiaomi?), Wall switch And a simple timer rule to turn it off and set some notification to get batteries out

Here i made my own switch with MySensors and Arduino, but anything will work basically

1 Like

I also was looking for at water valve.
But being the cheapskate I am, would not pay for a Danfoss or the like. But I won’t trust the cheap Ali ones for my main water valve.
But I found this valve actuator on Ali:


Very cheap (below tax limit in Denmark which is about $12), and actually very well made! All metal gear and heavy duty.
It turns 1/4 of a round and has micro switches to automatically stop at the ends.
Plenty of torque for even main valves.
https://www.aliexpress.com/item/G1-2-Electric-Automatic-Manipulator-Shut-Off-Valve-High-Pressure-Hydraulic-Valve-for-Alarm-Gas-Water/32846376850.html

Video of it in action

The thing on top of my water meter is a home build reflective sensor. It connected to a 1-wire counter and is read by a small OpenWRT router.
The water value actuator is also connected to the 1-wire bus through a dual 1-wire switch and some relays.

This is probably the most loved HA stuff I have made. It has saved us from countless times where the garden hose has jumped of the couplings, but also has the unplanned side effect of telleing us when a shower has take too long

It sends a notification to our phones if it registers a nonstop use of 100liters of water, or if there have been a consumption nonstop for 6hours (slow leak like a running toilet).

Sorry not controlled by OpenHAB, I like to keep this things separate.
It does integrate with OH though.

7 Likes

That’s fine, but I meant more for DIY hardware (Arduinos, NodeMCUs, etc…) - that forum category is a bit vague…it’d be nice to have more distinct subcategories (DIY, Lighting, Sensors, etc…) like the other main sections do. I’ve had plenty of those discussions on here to warrant a dedicated sub. But, to keep this on-topic, I’ll start a new post to ask the moderators to do so…

I guess it wasn’t clear why I mentioned we need a more specific forum for these kinds of posts, but that was my point :wink:

Happy to oblige :slight_smile: I’ve had a busy (but fun!) weekend of tinkering. Here’s one of my projects from this weekend.

I’ve redone my LED strips, adding new effects and cleaning up the code for this holiday season. And, in order to make it more of a permanent install (and increase the WAF), I’ve installed aluminum channels in my windows to hold these:

I also completely rewrote my handler rules and sitemaps to improve the readability and UI design:

And the final effect (for one of the windows):

I also updated the write-up with the new rules/sitemaps, in case others want to repeat this: NodeMCU MQTT LED Strip Controller Build & Config How-To Videos


I also received these from the fab shop:

but I’m still waiting for the touchscreen to arrive before I can put this together.

This is what the finished product should look like:

and for anyone interested, the write-up from its creator is here: - it was designed for HA, but it runs on MQTT, so no reason it shouldn’t work with openHAB…

3 Likes

I found a very interesting thing on your pictures. Maybe you can tell us more about that. Ther is some tape and wire on a watermeter i guess.

Sure. It’s my watermeter reader.
Got the inspiration from here: http://jasper.sikken.nl/gwemeter/
Just happened to have some CNY70 reflective optocouplers laying around, but I guess you can use many others.

It’s connected to a comparator (basically a high amplification op-amp) and 1wire counter DS2423.
Unfortunately the DS2423 is no longer in productions, but since I already had the 1wire network setup, I managed to find a seller on Aliexpress who still sells them.

The 1wire network is connect to a WT3020 (one of the cheapest routers to run OpenWRT), through a simple serial2usb adapter with a diode and a resistor.
According to Dallas Semiconductors, the serial port approach is preferred ahead of bit banging a GPIO, because the timing puts a bit of stress on the CPU.

The router runs a simple shell script every minute, that reads the value of the counter and set off a IFTTT notification to our phones if without limits.
(IFTTT has a nice simple REST interface, great for sending notifications to phones).

2 Likes

Wow, something fpr xmas holidays

Thank you

1 Like

Thanks, always inspiring to see what others are doing…

I’m dreading to start with Habpanel to increase the WAF, it just seems like a lot of work!

This is my simple panel based on standard Basic UI

then I’m building a touch panel with a 10’’ tablet with HabPanel. It’s very basic…and I’m testing its stability with the fantastic Habpanelviewer and also trying to integrate Grafana dashboard in it

There’s a lot of work to do but step by step I follow my target :slight_smile:

I have a dedicated thread in this forum. See:

Cheers

Marco

7 Likes

Hi Morten,

I’m curous about your water meter counter - I think I have a similar one and I wonder how you do the counting. Did you use just a photo resistor? Is it sensitive enough. in my case it’s a very small sprocket rotating where the “teeth” count. Additionally there’s a metal plate rotating much slower, so that could be an option.
So, how did you do it? :slight_smile:

Hi BobMiles,

Look in my former reply:
https://community.openhab.org/t/what-did-you-built-automated-today-with-pictures/55357/89

My meter is a Sensus. Sensus actually makes a ready-made reader to attach to there meters:
Sensus HRI
… but as I said: I’m a cheapskate :wink:

Hi Morten,

oh I’m sorry I must have missed that second post! it’s all clear now :slight_smile: Makingk my own right away!

Again, thank you so much!

me to , like it a lot ,can we please see some configs ??

item , sitemap rule and so on ,i`m not a coder so have a lot to learn

People, please stay on topic.
This is meant to be a “presentation” thread.
Open new threads or mail an author if you’ve got questions unless they’re really of interest to the public.
You can also delete your posts which are unrelated.

1 Like

can you share your icons?

Hello all,
how do i generate a Chart like you have???

Thanks

Hi milo,

i generate the charts with Grafana based on InfluxDB and integrated as iframe in BasicUI.

I used this as tutorial:

Greets
Huaba

This is a wild collection of different icon sets from https://www.flaticon.com/

Greets
Huaba

Ok, here are some images :stuck_out_tongue:
“Simple” and easy project, bought old kindle (v3 or 4 not sure) loaded simple javascript in browser that will display the current time and date.
Plan is to make custom wooden frame, but… time will tell.
It is big and easy to read, can show temperature (but now my server is on/off so for now page runs completely offline. It has battery that holds weeks (although it is on charger all the time).

And most importantly, it doesn’t tick, and it doesn’t glow in the dark (which really drives me crazy). Newer kindle versions can hide addressbar in browser, but this works fine as well

2 Likes

No pictures, just a simple automation to keep the volume down when the kids are in bed!!!
I could put the max volume in an item but after testing 20 is just fine.
Rule is self explanatory and item names meaningful

rule "Max TV Volume"
when
    Item LivingRoom_TVVolume changed
then
    if (TimeOfDay.state == "NIGHT" && LivingRoom_TVVolume.state > 20 && House_Mode.state != "PARTY") {
        LivingRoom_TVVolume.sendCommand(20)
    }
end
1 Like