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

Moderator: leecollings

Post Reply
mcaklein
Posts: 1
Joined: Wednesday 22 April 2020 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests