Recent Posts

Pages: 1 ... 8 9 [10]
Please could you give me an example of what would improve/ change within my code above via a function/loop?

Well, I haven't tested it, but I'm imagining something like this:

Code: [Select]
local socket = require("socket")

local function send_command_to_hdmi_matrix(...)
local host = ""
local c = assert(socket.connect(host, 4002))
-- read matrix status
local sres, serr = c:send(string.char(...))
print("Send:", sres, serr)
  local line = {}
  for i = 1,5 do
    local data, rerr = c:receive('*l')
    print ("line " ..i, data, rerr)
    local o,i = string.match (data, "o(%d+)%si(%d+)")
    if o and i then line[tonumber(o)] = tonumber(i) end
return line    -- return the result

-- here's the message in the UI5 panel
local function present_results_of_hdmi_matrix_interaction(result)
  print (result)
  local handle = luup.task("" .. result, 1, "ATEN HDMI Matrix", -1)

function clearTaskMsg(strHandle)  -- this HAS to be non-local for call_delay to work

-- here's the main 'workflow'
local line = "Output %d is showing input %d"
local info = send_command_to_hdmi_matrix(0x72,0x65,0x61,0x64,0x0d,0x0a)
for output, input in pairs (info) do
  local message = line: format (output, input)
Hi, my name is Ramon and I have no experience in z wave. I want to buy a controller and devices. Can someone explain to me what happens with the issue of frequencies? The controller and devices have to be either from the US or the US? For the frequencies .. Thanks
Pool Control / Re: NEW MultiWave Pool Controller
« Last post by dkeefe on June 24, 2018, 08:17:35 am »

do the stop/start and mode buttons on the pump work when the multiwave is controlling the pump? earlier versions locked out the pump's control panel which meant if the pool guy wanted to stop the pump he needed the remote. obviously not ideal so I gave up on that idea.

also, I have the variable flow pump and when the multiwave was controlling it you lost the flow rate control and were only able to set the speed. I was ok with this but iirc you also lost the built in safety features in the pump (blocked suction, run dry, etc.).

thanks again!
Irrigation Control / Re: Watercop integration
« Last post by leedavidr on June 24, 2018, 08:09:53 am »
I have a Fortrezz Water valve, and I don't remember how I included it exactly.  It is grouped with my light switches in my devices, but switches from closed to open which at least to me makes more sense.  It also remains busy for a while after it switches but can be switched back and forth during that time despite the message.
General / Re: Is Vera able to receive a http POST ?
« Last post by gedeon999 on June 24, 2018, 08:04:44 am »
Hello therealdb.

If I understand correctly, these http handlers are a solution to transmit parameters to a  lua scene via the url.

My problem is that with the post message sent by my device, it seems I am not able to perfom any lua action at all...
USB RFXtrx Transceiver Plugin / Re: A plugin update
« Last post by Forzaalfa on June 24, 2018, 07:36:00 am »
Awesome that you keep this app active!   :D

Did you include a port number in the settings as well? For TCP connection..

Maybe and old question, but why isn't this app in the store yet?
General / Re: Is Vera able to receive a http POST ?
« Last post by therealdb on June 24, 2018, 06:50:24 am »
Try with http handlers. AFAIK you can access parameters via POST, but can't find the exact code right now.,39814.msg296454.html#msg296454
Thanks @akbooer

Please could you give me an example of what would improve/ change within my code above via a function/loop?
General / Re: Is Vera able to receive a http POST ?
« Last post by gedeon999 on June 24, 2018, 06:31:46 am »

To explain a bit further, here is the result of the POST request sent by my device (GDS3710)?

Do you see a possibility to have this understood by the Vera API ?

Thanks !


Hypertext Transfer Protocol
    POST / HTTP/1.1\r\n
    User-Agent: Wget/1.16 (linux-gnueabihf)\r\n
    Accept: */*\r\n
    Connection: Keep-Alive\r\n
    Content-Type: application/x-www-form-urlencoded\r\n
    Content-Length: 105\r\n
    [Full request URI:]
    [HTTP request 1/1]
    File Data: 105 bytes

HTML Form URL Encoded: application/x-www-form-urlencoded
    Form item: "id" = "lu_action"
    Form item: "DeviceNum" = "91"
    Form item: "serviceId" = "urn:upnp-org:serviceId:SwitchPower1"
    Form item: "action" = "SetTarget"
    Form item: "newTargetValue" = "1"

Denon AV Plugin / Updated plugin supports X4300
« Last post by PrincessCleavage on June 24, 2018, 05:37:51 am »
I have updated the plugin to support later model Denon AVR's that support the serial protocol.

Only use this if you are happy for things to break and when it does please feedback details so bug/s can be addressed.

  • This is very early stages and it will contain bugs.
  • The update only works on UI7
  • This update does not cure the issues with locked Telnet port requiring the AVR to be power cycled.
  • Removed connection check, this seemed to cause more issues than it cured.
  • Automatic zone creation has been removed, if you require extra zones they need to be manually added.
  • It is now possible to manually add inputs that are not automatically scanned by "SSFUN ?"
  • Maximum number of inputs supported is Twenty, service files for inputs are as follows: -
    serviceId urn:micasaverde-com:serviceId:InputSelection1 name Input1 to Input10
    serviceId urn:denon-com:serviceId:Receiver1 name Input11 to Input20
    Mapping between serviceId name and input can be viewed Devices / AVR Receiver parent device json UI

Please note there is no error checking on manual zone and input creation so please ensure that your syntax is correct.

How to install:-
  • Download zip from
  • Upload the following files to the Vera via Apps / Develop apps /  Luup files
  • If your device exists already you will need to go to Devices / AVR Receiver parent device / Advanced / Variables and set variable Setup to 0.
       If device does not exist create device Apps / Develop apps / Create device and enter the following information: -
    IP addressIPv4 address of AVR
    Upnp Device FilenameD_DenonReceiver1.xml
    Upnp Implementation FilenameI_DenonReceiver1.xml
  • Restart LUUP engine Apps / Develop apps / Serial Port configuration and click save button.
    At this point static json and xml files should be updated and the basic functionality working.

How add zones and inputs:-
Please note there is currently no error checking for zone and input creation so double check for correct syntax.

  • Go to Devices / AVR Receiver parent device / Advanced / Settings
    If everything has build correctly you should see Settings.PNG.
  • In the Zones input field enter the zone numbers you want created. In most cases this is going to be 2 and/or 3. Numbers can either be separated by a space or comma. For example 2, 3
    In the Inputs input field enter the inputs you want created in the form SI command=name with each pair seperated by a space where: -
      SI command = TUNER, USB, NET etc. For relevant SI commands please refer to your model documentation.
      name = Name that will appear in static json UI.
      for example TUNER=Tuner USB=USB NET=Net BT=Bluetooth
  • Click on "Reset Template", if successful you should see Settings_Reset.PNG.
  • Click on "Reload Luup", at this point luup engine should restart and templates and extra devices updated[/i].
This was working with denon x4400h but I updated the firmware on the denon and no longer works:-(
The device is showing on/off status and volume setting in real time correctly but it doesn?t respond to commands from Vera denon device
Is this still working with your 3300?
Edit: After a second firmware update to my denon 4400 this plugin is now working again with on/off (but not 100% of the time)

Thanks for your work on this!
Pages: 1 ... 8 9 [10]