add plan by scripting

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
hestia
Posts: 361
Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:

add plan by scripting

Post by hestia »

Hi
are there any possibility to add a device to a plan with a scrip dzVents (or json)?
rrozema
Posts: 470
Joined: Thursday 26 October 2017 13:37
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Delft
Contact:

Re: add plan by scripting

Post by rrozema »

There is no official way to manipulate plans (rooms) or the devices in them from dzVents yet. Using url calls it might be possible. However I tried it once and it's more complicated than most of the other calls because to get to a plan, you first need a floorplan and both are maintained using the same url.
hestia
Posts: 361
Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:

Re: add plan by scripting

Post by hestia »

Thanks for the answer
I'll do it one by one w the GUI...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest