Hello Michael,
many thanks for your interest in reading and answering my questions, I
really appreciate.

You're right, it's better that I explain more of what's going on: my
mock-up solutions are growing in a somehow "ugly" way but they're at
least working.
Just to give you an overall picture of what I did:

After all the problems I had with an USB HD connected to a Raspberry PI
(database corruption etc) I migrated to a Banana Pi with SATA support.
The next step has been setting up the SqueezeIR plugin which was not
easy at the beginning but now it's great to handle
the controller and use it as a remote for any IR device possible (though
each time there's a big xml config file to modify).

I have also many RF devices and X10 ones as well so I wanted to set up
RF transmission.
So I configured RFsend (for the kind of "supermarket" RF controlled
plugs) and Heyu/Bottlerocket for the X10 devices
using both a modded Firecracker and a simple RF emitter.
Then I tried to use many plugins to trigger different actions ("Power
Center", "Server Power Control" and the old/unusable "Execute Scipt")

I've been happy for a while but all these plugins lack the ergonomy of
SqueezeIR which has the great plus of having an IRoP option to trigger
an IR command
through an http link. So I started digging into SqueezeIR with no
knowledge of lua at all and finally got a way to have a SqueezeIR menu
item trigger a script
locally on the controller and do something.

After your first reply I then configured a web server on the LMS to
accept some http calls and with a php script execute actions "server
side".
Still a mock-up, still ugly but it works: I can finally do things which
I'm unable to achieve through perl or lua because of a lack of
competence/knowledge.

Then my question about a sample plugin to start learning more about
perl, lua and LMS.

The thing I'd love to have is a server side plugin (unfortunately
SqueezeIR is only a lua applet) with configurable menus and commands
executed both on the cotroller or the server.

Just to give you an example now I have on each controller of the
apartment the IR setup for my Samsung TV, multimedia player, electric
curtains, RGB leds and X10/RF commands to turn lights on/off (even my
lan printer) and the commands to restart the LMS or the BananaPi or the
Controller or my fritzbox router.

It's a mock-up, it's ugly but at least it works and it's quite
ergonomic.
I wish I could learn how to improve this in a more robust solution.

The best thing maybe could be to improve SqueezeIR and migrate it from
the status of "applet" to that of real plugin,
please let me know what do you think about all this.

Have a nice day,
Virginio


------------------------------------------------------------------------
virx71's Profile: http://forums.slimdevices.com/member.php?userid=50716
View this thread: http://forums.slimdevices.com/showthread.php?t=105675

_______________________________________________
Duet mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/duet

Reply via email to