¿ªÔÆÌåÓý

Locked Re: Lighting control with JMRI


 

Trevor, do you know if the jayton script can be translated into LogixNG? I much prefer that than using scripts.

Thx
Leo P

On Thu, Sep 5, 2024 at 5:24?PM Keith Williams via <directorsixfive=[email protected]> wrote:
Trevor
Thanks for the reply!? I will investigate!

On Thu, Sep 5, 2024 at 6:14?PM Trevor Rowland via <trevor=[email protected]> wrote:
Keith:
?
I have layout lighting changing from Moonlight - Dawn - Morning - Noon - Afternoon - Dusk - Moonlight using 2 LIFX WiFi enabled mains powered RGB globes (1 in the East and 1 in the West).
?
The LIFX globes have software available on the internet that allows Windows (I don't recall if Linux and Mac are also covered) to change the globe 'scene' (i.e. colour and brightness) via a command line utility.
?
To get it working, I established the light levels and colours I wanted on each globe for each time of the day, and saved that scene via the mobile phone app.? I then utilised the Windows command line utility to determine the unique ID number of the particular scene, and coded that scene ID into a Jython script that then utilises an Operating System call to run the Windows command to select a particular light level.? It is a bit convoluted, but it works.
?
I don't know if other brands of WiFi enabled mains powered globes also have this facility, but it might be another idea to investigate, and it is certainly less expensive than $700.
?
Cheers,
Trevor

Join [email protected] to automatically receive all group messages.