Author Topic: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin  (Read 24659 times)

Offline ssenneff

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #120 on: November 19, 2017, 01:16:24 pm »
Here is the trace file using the <All>Y</ALL> variables command.

Offline jswim788

  • Hero Member
  • *****
  • Posts: 537
  • Karma: +29/-2
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #121 on: November 19, 2017, 09:49:38 pm »
That's good news.  You could use this already in a scene if you wanted by turning off all of the debugging and use the curl within an io.popen() - something like this:

local handle = io.popen(<curl command>)
local result = handle:read("*a")
handle:close()

Then you could pattern match and find the variables.  In the meantime I will look at resurrecting the XML parsing functions and see if I can make it work.  May take a little time, though.