codmpm / node-red-contrib-loxone

Connect the Loxone Miniserver to node-red via the Websocket API
MIT License
74 stars 24 forks source link

Getting the structure file or objects from it #43

Closed davidwallis closed 4 years ago

davidwallis commented 4 years ago

Hi,

I'm trying to build some processing for messages using node-red - but I would like to programatically extract objects from the structure file - such as rooms. I know that the structure file is got - but are these objects exposed anywhere or am I going to have to pull the structure file myself and process it?

Thanks

David

codmpm commented 4 years ago

Hey David,

no, the rooms are currently not exposed. Only used internally to show the dropdowns inside the node. But you can simply parse the http://data/LoxAPP3.json using an http-request-node and the json-node.

davidwallis commented 4 years ago

thanks!

On Tue, 4 Feb 2020, 20:53 Patrik Mayer, notifications@github.com wrote:

Hey David,

no, the rooms are currently not exposed. Only used internally to show the dropdowns inside the node. But you can simply parse the http://data/LoxAPP3.json using an http-request-node and the json-node.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/codmpm/node-red-contrib-loxone/issues/43?email_source=notifications&email_token=ADJWV7VCWGQHDIVCQ27QXALRBHIVZA5CNFSM4KP4SNGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZEVZY#issuecomment-582109927, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJWV7TEOAFQ5DG5NURMATLRBHIVZANCNFSM4KP4SNGA .