RFLink Mini GPIO and domoticz
Moderators: rtenklooster, Voyager, BertB, Stuntteam
RFLink Mini GPIO and domoticz
I'm trying to use Mini GPIO output pins on my RFLink. I can turn it on/off using '10;GPIOset;31;0;ON; 10;GPIOset;31;0;OFF;' commands but now I need to allow to switch these 'devices' from Domoticz. Probably I had to create device 'manually' in Domoticz but I don't know how to do it. I've have found topic about it at forum (https://www.domoticz.com/forum/viewtopi ... 807#p84859) but it's still in "Full details will follow soon.." state from Tuesday 03 May 2016 0:27 until now..... Any help will be useful.
Re: RFLink Mini GPIO and domoticz
Go to the hardware tab, use the create manual device button listed behind rflink and add the device..
Here you enter a line that would normally show up in a rflink log like for example
20;04;TriState;ID=86a8aa;SWITCH=1;CMD=ON;
Thus your 10;GPIOset;31;0;ON; needs to be converted to:
20;00;GPIOset;ID=000031;SWITCH=0;CMD=ON;
Here you enter a line that would normally show up in a rflink log like for example
20;04;TriState;ID=86a8aa;SWITCH=1;CMD=ON;
Thus your 10;GPIOset;31;0;ON; needs to be converted to:
20;00;GPIOset;ID=000031;SWITCH=0;CMD=ON;
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Re: RFLink Mini GPIO and domoticz
Thank you for reply. To be 100% sure: to create ALL 10 "GPIO devices" I have to create devices using commands:
(double removed)
Am I right?
Code: Select all
20;00;GPIOset;ID=000030;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000031;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000032;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000033;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000034;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000035;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000036;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000037;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000038;SWITCH=0;CMD=ON;
20;00;GPIOset;ID=000039;SWITCH=0;CMD=ON;
Am I right?
Last edited by bilbolodz on 04 Jan 2019, 19:09, edited 1 time in total.
Re: RFLink Mini GPIO and domoticz
Yeah, the first one is double.. but you are right..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Re: RFLink Mini GPIO and domoticz
More questions:
I'd like to use INPUT and OUTPUT RFlink functions for GPIO.
To use GPIO INPUT I'd to enable using it by command:
after that short pins 26 to 29 to ground is reported (fine it's working )
output pins suing commands:
also is working. Unfortunately side effect of turning on GPIO subsystem is HIGH level on pins 30-39 after RFlink startup/reset (VERY ugly behavior).
I can force these pins LOW using command:
In theory it should turn off GPIO subsystem. Indeed change of INPUT pins is NOT reported BUT I still can turn on/off OUTPUT pings using commands
I'd like to have both INPUT and OUTPUT pins working but after startup OUTPUT pins should be LOW (switch(relay) off). Any ideas/comments about it?
I'd like to use INPUT and OUTPUT RFlink functions for GPIO.
To use GPIO INPUT I'd to enable using it by command:
Code: Select all
10;setgpio=on
Code: Select all
20;04;GPIOset;ID=3;SWITCH=0;CMD=OFF;
20;05;GPIOset;ID=3;SWITCH=0;CMD=ON;
Code: Select all
10;GPIOset;31;0;ON;
20;01;OK;
10;GPIOset;31;0;OFF;
20;02;OK;
I can force these pins LOW using command:
Code: Select all
10;setgpio=off
Code: Select all
10;setgpio=on
20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
20;01;setGPIO=ON;
INPUT/OUTPUT pins working
MANUAL reset by button
20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
20;01;setGPIO=ON;
10;setgpio=off
20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
10;GPIOset;31;0;ON;
20;01;OK;
10;GPIOset;31;0;OFF;
20;02;OK;
INPUT pins NOT working OUTPUT pins working
Who is online
Users browsing this forum: No registered users and 16 guests