luup file and I_xxx.xml

I have a querry;

If you create a scene with a certain luup, can you use the same in the I_xx file as function

Or turn my question around;
If i want to make an function in a I_xx.xml file can i test / create it in a luup in a scene,

If so it should save some time and a lot of headache

Pls advice
Rgds
Huib

I know that you can at least put your function in startup lua and then call it inside a scene.

If i have a luup function working what i have to alter to make it a function in I_xx.xml
Rgds
Huib

@huib

Can you give us more informations about your I_xx.xml ?

Do you create un plugin ? Wan’t to alter an existing one ?

@Massalia,

My question was ment as an general question; at the moment i am writing an plug in for controling and reading data from a ventilator unit (see WHR930 on this forum) and i am struggeling along;

so my question is as follows;

if i have an instruction workable as a luup in scene, which i can trigger, and it works as i want is can i change the luup instruction in to a function in a I_ file

cause if i can test the instructions step by step it and it will be easier to created and less error and headache

so my question remains

rgds
huib

You may want to download a lua interpreter to help aid in development.

  • Garrett

Thanks will try
Rgds
Huib