Loup_brun: home automation beginner

Hello everyone.

Loup_brun is an internet user who is becoming increasingly interested in connected objects.

I have long refused these things because the desire to protect my privacy and security are paramount to me. (beyond the comfort it brings) so out with connected cameras and other locks.

Except that the connected vacuum cleaner is great (Xiaomi Roborock first version)

And now I see more and more use cases. I nevertheless have limits that I do not want to cross under any circumstances: no GAFA, no lock-in in an ecosystem (hoping I haven’t messed up on the vacuum cleaner…) maximum possible security

A limit I would like not to cross: potentially no access from the outside (without completely closing the door in case)

When I saw Gladys, I immediately liked the interface and the cherry on the cake (connected?) it seemed compatible with my Synology NAS

The problem: I’m totally new and I’m lost. And coding is not my thing + that (but I can do it). And finally, I apparently can’t install Docker on my NAS =( (DS416j)

No problem, that will be an excuse to buy an RPI (which version?)

On the other hand, I don’t know what to buy to play with, so I thought I would ask here.

The idea is to go step by step (which can be chained quickly)

Step 1, the most urgent even without Gladys: connected light in a room where it must be possible to prevent the light from being turned on after a certain time (unless I want to via phone) + intensity/tone depending on the time. The switch is already in place and can be changed to a connected one but not moved. To know that currently, what bothers me is that someone plays a lot with the switch to the point that I had to remove it (and therefore there is no light anymore)

Step 2: measure the temperature and humidity of the cellar and obtain after one year a kind of csv of the measurements taken every 3 hours (date, temperature, humidity) (so 2920 lines that I will then analyze)

Step 3: living room light for ambiance and screen (no case imagined yet but it should come quickly I think) but also which turn off if too much light is received from outside.

Step 4: humidity sensors placed in the right places (on battery) to detect water leaks.

Future step if convinced: connected radiator valve, light in the other rooms, connected shutters, watering etc etc

For now, I would especially like to receive advice on what could help me achieve steps 1, 2, 3 and 4.

Thanks to those who read everything.

Welcome to the forum @Loup_brun :folded_hands:

For the light, I always recommend Philips Hue, it’s a bit more expensive than some brands, but it’s very good quality, durable in the long term and it really works well.

For temperature and humidity, I recommend the entire Xiaomi Aqara range, these are devices that work with Zigbee, which you can display in Gladys with the Zigbee2mqtt integration (you need a Zigbee USB key). The advantage is that it doesn’t go through a cloud, it’s fully local.

The Xiaomi equipment is of very good quality, not expensive, and super design (very discreet).

I clearly recommend you to take a Raspberry Pi 4, the gap is quite huge with version 3. In the 2GB RAM version you will be fine.

Unfortunately, currently the prices are higher than normal, the component shortage is hitting the Raspberry Pi Foundation like everyone else (they talked about it on their website), and they have been forced to increase prices.

Normally, in France, the Kubii website is quite good, or otherwise simply Amazon.

I recommend you to buy an SSD to store your Gladys data, a micro-SD is not very stable in the long term and there are quite a few data corruption issues.

There are SSDs for €19 on Amazon of super quality (example: PNY CS900 SSD Interne SATA III 240Go, Lecture 535MB/s)

For the switch, I would have recommended something like this: Philips Hue Smart Dimmer Sans-fil V2

But I don’t think you can do what you want (disable the switch at a certain time)

However, you could buy a Xiaomi button (battery-powered), and create a scene in Gladys that allows switching on/off only within a time range.

You can use zigbee2mqtt, but you still need a compatible dongle (cheaper than Philips)

Philips bulbs are very well made, I’ve had some for several years, some of which are in daily use.

IKEA Tradfri bulbs are cheaper and I think some people have them on the forum

You have the list of compatible dongles

The price varies because they are not the same cards, some are more powerful with antennas, etc…

I started with a cc2531 a bit limited in range
Now a zzh and it works like a charm

Hello, no this is not the same protocol (radio 433 if I’m not mistaken)

It’s a real-time strategy game, but there’s an added layer.

You can use a Sonoff RF bridge with Tasmota (Tasmota is a compatible integration for Gladys)

Hello. I think this is a Docker-related issue. Can you provide us with the logs from the gladys container?

Nice friend :slight_smile:
Do you know which image you used to install Gladys (from the site)?

@VonOx It looks like @Albenss’s issue Configuration MQTT : Erreur lors de la connexion, veuillez vérifier votre configuration. Après restauration de Gladys sur l'image Bullseye - #28 par Albenss

Yes it’s the same error :thinking:

No, not possible

The issue is that we haven’t identified the cause yet. So for now, standby

Good evening,
Is there a solution to this problem?
I have exactly the same message.
Thank you for the work done.
I decided to switch from Home Assistant to Gladys but for now I cannot move forward.
It’s a shame.

Gladys is not currently compatible with Debian Bullseye (Debian 11). You need to use Debian 10, or Ubuntu 20.04 at most.

If you want to follow the progress of compatibility with this system, we are working on it in this thread:

Normally, you should be on Ubuntu 20.04 if you followed the tutorial to the letter. However, the error is quite clear; it’s the error we get on newer versions of Ubuntu/Debian. So, in my opinion, you must have installed a newer version. :slight_smile:

This is currently my top priority to develop this compatibility, but it’s not ready yet. I invite you to check your system version or wait until compatibility is ready. :slight_smile:

Maybe a lead for the issue with z2m? @vonox @pierre-gilles @Tlse-vins