I’m diving right into this discussion, like a gatecrasher. In short, I’ve been following this project from afar for a while, without being able to dream of home automation at home. Recently, it’s finally accessible. So I have a bunch of switches at home working with enocean.
I’m not a developer by training, I’m just resourceful. So @Jean-Philippe, I’m really keen to test your integration. I’ve already retrieved and installed your branch. Is it also compatible with the 310 USB dongles? Anyway, I’m up for as much information as possible to be able to provide complete feedback (or even dabble a bit in JS …?).
You select the port of your dongle (/dev/ttyUSB0?) and you connect.
Then you go to the Learning page and you put your equipment in Teach In (or Learn), and they should appear.
Don’t hesitate to give me feedback, maybe in PM to avoid clutter, but I would be happy to improve the thing, maybe we are many to have enocean sleeping
A brief update. I managed to tinker for an hour or two, without success. My first attempt was probably due to an old machine missing some slots (literally), so it couldn’t do anything with the dongle (connection impossible).
I started cleaning up a Raspberry Pi to set up an instance based on the enocean-service branch. I haven’t had the chance to complete the installation yet. I wish I had more time, but I wanted to at least not leave a big gap after my first intervention.
After several attempts and different methods, it is impossible to get the dongle recognized by Gladys. /dev/ttyUSB0 is indeed there, the machine is well configured (at least according to the manufacturer’s documentation), but no, the connection is not established. I systematically get this error:
Error: no confirmation from Enocean device for sending this telegram: 5500010005700838
Yes yes! That was it. After correction, I can control the dongle (but only at server launch; if I disconnect, I have to restart everything). I am in dev mode.
I was able to see that it picks up my switches, without knowing what they are; I need to find my documentation to know their code and test more in depth. I don’t have any other hardware but since Gladys can take it into account, I think I will get one or two sensors to see.
For reconnection, I think there is no automatic recovery, you should be able to reconnect it in the integration management page, without having to restart Gladys, right?
To be improved anyway.
For the switches, are you able to manipulate them despite everything?
In fact, it reconnects each time it is restarted, but in development, this is expected since everything restarts. Otherwise, unless you disconnect the dongle, it’s not bothersome.
I think I have rocker switches with the EEP F6-02-XX (I need to confirm the XX); so I have my first relevant question: for the learning process, I had to do everything in the distribution board, on the relays. Do I need to repeat this operation? Because the switches don’t have anything else. When I log the data from onMessage (which is indeed called when I use a switch), I have the correct key but the byte is empty.
I have the impression that Gladys loses communication with the USB key after a few hours.. nothing specific, I don’t really see any traces in the logs…
I use serialport in my dependencies, if that rings a bell to anyone…
Hello,
I just installed Gladys but I see that unfortunately the EnOcean integration doesn’t seem to exist yet (80% of my setup is EnOcean).
Since the topic is old, is it still planned to eventually integrate this branch?
If not, is it possible to go through something other than an integration?
Thanks in advance for your answers and have a great summer