Hi all!
I am new to HA. I have some EnOcean devices that I would like to control via HA. To do so, I want to use a Raspberry Pi 4 Model B 4GB and the EnOcean Pi board:
The green led on the EnOcean Pi board is on, so at least something is working - However, I couldn’t find any documentation whether its supposed to do something else than glow constantly (e.g. the USB dongle seems to blink every time it receives a telegram).
I sucessfully downloaded and flashed the image for Pi 4 Model B 32-bit (since it says this is needed to get GPIO support).
Since then, I have tried a lot of things to get it to work by now (or rather: Try to understand what’s going on). Spoiler-alert: I am starting to believe that this setup is not properly supported by HA…
What I tried:
- I was able to create the EnOcean integration with the path /dev/ttyAMA0. This was accepted by HA. However, I also manage to successfully perform this step if I dismount the EnOcean Pi board, so this does not seem to be the most reliably feedback.
- I tried with and without adding the same information to my configuration.yaml (as marked as DEPRECATED here): https://www.home-assistant.io/integrations/enocean/
- I added a binary_sensor to my config:
binary_sensor:
- platform: enocean
id: [0xFE,0xF1,0x33,0x10]
- I put this binary sensor into an automation to create an entry into the logbook.
Result: Nothing happens (however, when I manually trigger the automation, it works) - Next, I tried to debug things. Following the advise here: https://community.home-assistant.io/t/need-help-with-setting-up-some-enocean-devices/162179/9, I listened to any kind of button_pressed events (via Developer Tools -> Events -> Listen to events) as well as activating debug messages for EnOcean:
logger:
default: error
logs:
homeassistant.components.enocean: debug
Result: Nothing shows up in any of the logs.
- Next, I installed the SSH & Web Terminal addon to try to find out whether some data can be seen on system level:
hexdump < /dev/ttyAMA0
sudo hexdump < /dev/ttyAMA0
Result: The output is empty. However, I am not sure whether that should be allowed…
So far, I was not able to see a single bit of activity from the board.
My question: Is anyone using this kind of setup and can confirm that the steps above are sufficient? (Then I would assume some kind of defect of the board itself) Or can some give me additional hints what steps I might have missed?
To sum up: I would appreciate any hints and advise to fix things or at least continue debugging. I would really love to stick to HA, but if my fear is coming true then I would move 100% to FHEM (since I can find a lot of evidence that the board can be used with FHEM), since my use cases are not really complicated (yet) to justify operating two full-blown home automation hubs in a row… Also, I want to stick to the board since (a) I have bought it by now and (b) I think it looks a lot cleaner than the USB dongle
Thanks a lot for your support!
Update: I have to split up my inital post, please also see my own replays below…