RFLink commands from Lua?

433Mhz opensource Receiver & Transmitter.

Moderators: leecollings, Stuntteam

Post Reply
mikkel75
Posts: 39
Joined: Thursday 08 December 2016 20:50
Target OS: Linux
Domoticz version:
Contact:

RFLink commands from Lua?

Post by mikkel75 »

Hi,

Is it possible to send commands to the RFLink from Lua in a running Domoticz (on Linux)?


Thanks,
Mikkel
SweetPants

Re: RFLink commands from Lua?

Post by SweetPants »

What do you mean with "send commands to the RFLink"?
If a 'device', like a switch is learned through the RFLink, yes you can send 'on/off' commands in LUA.
mikkel75
Posts: 39
Joined: Thursday 08 December 2016 20:50
Target OS: Linux
Domoticz version:
Contact:

Re: RFLink commands from Lua?

Post by mikkel75 »

I mean can I send a "10;Kaku;00004d;1;OFF;" directly to the RFLink from Lua while it's enabled in Domoticz?
SweetPants

Re: RFLink commands from Lua?

Post by SweetPants »

mikkel75 wrote:I mean can I send a "10;Kaku;00004d;1;OFF;" directly to the RFLink from Lua while it's enabled in Domoticz?
Don't think so, then you need direct acces to the serial port which is not supported as far as i know
mikkel75
Posts: 39
Joined: Thursday 08 December 2016 20:50
Target OS: Linux
Domoticz version:
Contact:

Re: RFLink commands from Lua?

Post by mikkel75 »

I would be a very nice feature (if direct access isn't possible) to be able to make a custom RFLink device/switch, where you may define the exact commands used for power ON/OFF/Dim etc...
User avatar
sincze
Posts: 1300
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: RE: Re: RFLink commands from Lua?

Post by sincze »

mikkel75 wrote:I would be a very nice feature (if direct access isn't possible) to be able to make a custom RFLink device/switch, where you may define the exact commands used for power ON/OFF/Dim etc...
What would be the advantage of that feature? I am missing that one sorry :) please advise.

Sent from my SM-G925F using Tapatalk
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
D3LTA
Posts: 24
Joined: Monday 15 July 2013 2:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Twente
Contact:

Re: RFLink commands from Lua?

Post by D3LTA »

Would love the feature too, ev1527 has no off only on.. when i can send commands directly it will save me from making dummy switches and just use the selector switch with the commands
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests