Hi everyone,
In short I’m looking for an open source alternative for the Somfy Eolis 3D sensor. That would probably be a DIY accelerometer with an ESP that turns on when it detects movement above a certain threshold. Something like this project by @void Reed Door Sensor (battery powered ESP32 with esphome(yaml)). I could definitely use some pointers. Below is the full story and my research so far.
I’ve been tinkering with Home Assistant a bit in the last couple of weeks, connected my smart devices, did a first tuya-convert and got some automations going. I’m really enthused about this project and its community. Now I’m looking at a new project and have been reading up on other’s people’s projects but would like to hear anyone’s thought on this, let me explain. If you don’t need the whole story you can skip to the final paragraphs.
In a few weeks we are getting a new sun awning and before I found out about Home Assistant I was planning to equip it with a Somfy IO motor and an Eolis 3D IO sensor to automate it with regards to the windload. When I found out about Home Assistant I was still planning the same thing till I discovered
- that you need a Conexoon or the Tahoma box (at quite the expense),
- that the integration’s IoT class is “Cloud Polling” (strongly prefer local),
- that the the support for awning’s is not evident and
- that lastly a lot of people are strugling to get it to work properly. Somfy Tahoma Official API
This has made me reconsider the Somfy IO devices and instead I am planning to use a Shelly 2.5 to control it and connect it to Home Assistant. From there I can automate in regards to sun and weather conditions that I can get through Buienradar. This thread sure gives some inspiration about how to go about that How to automate my awning (sunscreen)
So that’s a solid setup but my street sometimes seems to work as a wind tunnel, and sometimes when the weather report reports a breeze its actually a lot stronger. To counter that I could employ a local anemometer (quite difficult to find one that’s easy to integrate into HA) but that would report the wind and not necessarily how it impacts my awning.
That’s what I like about Eolis 3D rts or io, it detects the movement of the awning and if it’s above a certain threshold (which can be set) it retracts the screen and works on batteries.
I can’t find any ready-made battery operated accelerometers with a sensor output that I can hook-up to HA (if anyone knows of any please let me know). So that would seam only a DIY solution can offer this functionality. I found this project where Nolan Gilley and in the comments @SpikeyGG use a NodeMCU with a MPU-6050 to monitor his laundry cycles. So I could use this project to make a DIY accelerometer but it runs continuously and battery operation wouldn’t be an option.
To make it viable with a battery it would need to be off unless it detects movement (above a certain configurable threshold), in this project void has found a way to do this with a Reed sensor. As an accelerometer the MPU-6050 could be an option since its included in ESPHome but I also found different ones that seem to be just an accelerometer and battery power optimized like the ADXL345. But I wouldn’t know where to begin to figure out if a setup like that of void is possible with an accelerometer. So that’s where I would be grateful for any pointers.
Looking back that’s an awful lot of text but what it boils down to is the following two questions:
- Does anybody know of a battery operated accelerometer that can feed it’s data into HA?
- Can someone give me pointers on DIY-ing a battery operated accelerometer that can start to transmit (probably with an ESP) the moment it detects movement above a configurable threshold?
Kind regards,
Stefan
My setup at the moment:
I’m running Home Assistant on a rpi 3 B+, have good Wi-Fi coverage and a Hue bridge. My smart devices are currently limited to some switches and smart lights, my solar converter, my media center (Kodi, Volumio) and my FritzBox.