Page 1 of 1

ProMiniExtender usable for switch input?!

Posted: 14 May 2021, 14:48
by Polygontrauma
For my project I want to read the individual alarms from 11 smoke detectors, so I need 11 GPIO inputs, which is more than Wemos D1 offers. Therefore I tried the Pro Mini Extender:

I flashed an Arduino Pro Mini with the appropriate software, connected everything as written in the wiki, defined D5 as Sensor Port and send it to Controller (Domoticz) with the correct IDX; Intervall was set to 1 sec.
If D5 is not connected to GND, then Value says 1.00. If i put a wire from D5 to GND, then Value says 0.00.
My virtual switch in Domoticz only receives "Off" signals, but no "On" signals. I cannot edit any further options in ESPEasy PME menu, as it is e.g. in Switch Input.
Is it possible to read switch inputs via PME in Domoticz?

P.S.: Seems like an Arduino Nano works as as well instead of an Arduino Pro Mini?

Regards,
David

Re: ProMiniExtender usable for switch input?!

Posted: 14 May 2021, 14:54
by TD-er
I don't think this route will work for sending data to a controller.
But you could see if this proMiniExtender does generate events.
If so, you could then send to Domoticz from the rules, either by using sendToHttp or Publish to a MQTT controller.

To be honest, I never used the promini extender route.