EXTGPIO in rules
Posted: 18 Aug 2017, 21:30
I use an espeasy MEGA dev10 attached to an Arduino Promini with the PROMINIEXTENDER option on IC2. The reason to use the promini is that it is able to drive more current on the GPIO and it is better to drive Relays
Configuration works great and I'm able to switch my relays using web command "http://192.168.1.47/control?cmd=EXTGPIO,2,1", but I would like to control the Promini using rules .... and this doesn't work!
Something like this has no results:
Is EXTGPIO supported in Rules ? If not do I have any work-around ?
Tks
Configuration works great and I'm able to switch my relays using web command "http://192.168.1.47/control?cmd=EXTGPIO,2,1", but I would like to control the Promini using rules .... and this doesn't work!
Something like this has no results:
Code: Select all
On swsala#porta do
if [swsala#porta] = 1
EXTGPIO, 2,0
EXTGPIO, 3,0
timerSet,1,60
endif
endon
On Rules#Timer=1 do
if [swsala#porta]=0
EXTGPIO, 2,1
EXTGPIO, 3,1
else
timerSet,1,60
endif
endon
Tks