Page 1 of 1

How to prevent that switches are automatically added for exported GPIO ports?

Posted: Wednesday 22 April 2020 12:48
by mcaklein
Dear all,

I discovered that my database increased dramatically after the update to Domoticz 2020.1. It turns out that this was caused by the LightningLog table for a unused switch that was coupled to a GPIO port. I cleared the log and removed the device, but it is automatically re-created when an interrupt is generated for the GPIO port. Do you know how I can prevent that the switch is created (or that the events are logged)?

My setup is the following: a Python script reads 2 GPIO ports that are attached to a S0-pulse counter for calculation the power used / generated. This data is send to an energy counter in Domoticz. Domoticz itself is not supposed to do anything with the interrupts on those ports. However, I need the GPIO subsystem in Domoticz for controlling a relay on another port.

Can somebody advice me?

best, Michel