I have written a node-red module for the energenie ENER314-RT board for controlling sockets by RF-433MHz. I am trying to get this addon working in the node-red integration, but it is failing to access the board via GPIO and a software SPI driver. The addon usually uses /dev/gpiomem or /dev/mem to access the board via C code.
Is it possible to access GPIO on RaspberryPi in the node-red addon? I’ve checked the forum and github but I’m getting conflicting information.
I’ve also tried using the native GPIO nodes within node-red to switch on the LEDs on the board, but this is failing too.
Sorry everyone, but I can’t support the energenie MiHome devices without some help getting this working.
I’ll assume that it’s just not possible to access GPIO with Home Assistant in node-red. If anyone needs support for energenie ENER314-RT devices, please use node-red and node-red-dashboard instead without home assistant.
I have now written a solution to solve this issue. A new lightweight standalone node.js application has been created that interfaces with the ENER314-RT adaptor directly and communicates with Home Assistant using MQTT. It has MQTT discovery support built-in.