Search found 16 matches

by jimtrout87
Tuesday 22 August 2017 12:29
Forum: LUA
Topic: Reset Light Level without it coming on?
Replies: 2
Views: 880

Reset Light Level without it coming on?

I have a light in my kitchen which is only used by switch or voice control normally, so no auto turn on in the day, but i am now starting to go down at night (new baby) and between 11 pm & 6am want it to auto come on at 15%. I can do this fine on motion but then the next day when i turn it on, it ...
by jimtrout87
Thursday 03 August 2017 14:02
Forum: LUA
Topic: Ignoring\Dealing with On On
Replies: 7
Views: 1696

Re: Ignoring\Dealing with On On

Quick Update on this. All working now using a seperate "Jims Home - Hidden" which is updated by "Jims Home" One thing to note is that you cant seem to reference a hidden switch for Geofence. If its hidden you cannot select it and if you select it and then hide it it doesnt work. I kept it as "Jims ...
by jimtrout87
Friday 28 July 2017 12:35
Forum: LUA
Topic: Ignoring\Dealing with On On
Replies: 7
Views: 1696

Re: Ignoring\Dealing with On On

Thanks all for your assitance and pvm i think thats the solution, yes my curreny dummy is linked to geofence. As for the other replies i do already have a someone home in place but i dont use it as i want the lights to come on at night when either us come home. The other person may already be home ...
by jimtrout87
Thursday 20 July 2017 12:22
Forum: LUA
Topic: Ignoring\Dealing with On On
Replies: 7
Views: 1696

Ignoring\Dealing with On On

Hello, Can anyone help, i have some lights come one automatically when one of us gets home. Which works fine, the problem i have is that when i put my phone on charge at night it kicks back in location settings and then re-triggers my geogfence, therefore turning on lights. They do go off after a ...
by jimtrout87
Wednesday 24 May 2017 17:23
Forum: Others
Topic: Netatmo Welcome
Replies: 1
Views: 1661

Netatmo Welcome

I can see Netatmo in the hardware but can only really see the thermostat being talked about in the forum apart from adding the camera snapshot which would be good. But mainly after the option to enable\disable along with my alarm as i dont need it on all the time?

anyone no?
by jimtrout87
Monday 27 March 2017 13:55
Forum: LUA
Topic: Lua script - send notification when button is open for 30 seconds
Replies: 13
Views: 7476

Re: Lua script - send notification when button is open for 30 seconds

Not seen purple before but a quick look on Events Wiki - "Purple = Disabled because a missing device was used [ Domoticz stops this Blockly automatic! ]" Both devices showing in switches ok? Once sorted you probably want to change the drop down on the right from "All" to "Device" and you could use a ...
by jimtrout87
Friday 24 March 2017 11:53
Forum: LUA
Topic: How to activate Armed Home or Away by lua and trigged by time?
Replies: 3
Views: 1320

Re: How to activate Armed Home or Away by lua and trigged by time?

Hello, i think this should to it... Although if you manually tried to arm away\disarm in the day it would auto set back to arm home. You could use a variable if this became a issue mind. time = os.date("*t") commandArray = {} if ( time.hour >=7 and time.hour <20 and otherdevices['Security Panel ...
by jimtrout87
Friday 24 March 2017 11:32
Forum: LUA
Topic: Lua script - send notification when button is open for 30 seconds
Replies: 13
Views: 7476

Re: Lua script - send notification when button is open for 30 seconds

If you use the Fuction time diff you may be able to do it without a a dummy switch but you would need a variable if you didnt want to be constantly notified. I dont have any contacts so not sure how they report back but using below you should be able to get it working. -- script_Fridge.lua function ...
by jimtrout87
Monday 06 March 2017 10:36
Forum: Python
Topic: Yamaha AV Receiver Plugin
Replies: 73
Views: 26765

Re: Yamaha AV Receiver Plugin

Ok so i tried this myself and managed to get the scenes working if anyone is interested. Modified the above and now works with Scene 1 to 4 and then other. Other is if the source is anything thats not on the scene. I noticed the orignal code took the last letter and converted to integer so hdm1 for ...
by jimtrout87
Tuesday 28 February 2017 19:10
Forum: Python
Topic: Yamaha AV Receiver Plugin
Replies: 73
Views: 26765

Re: Yamaha AV Receiver Plugin

I have just tried this and its working well ish and a seems to be a perfect link to set up scenes. I do have one question Any idea how i specify a Audio Source on the selector switch and not just HDMI or Scenes may be better as they are customized on the amp. Adding more selectors goes HDMI5 then ...
by jimtrout87
Wednesday 12 October 2016 18:00
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25743

Re: Plex Status - Video, Audio, Photo, Play Progress

hi,

I have been running the newest code since the 6th (6 days) and come across no issues so far. The dummy switch is clearing as it should and variables are being updated each time.

Thanks for your help.
by jimtrout87
Friday 07 October 2016 9:56
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25743

Re: Plex Status - Video, Audio, Photo, Play Progress

Thanks i was on the latest version, at least i think i was. I am restesting with the latest code. Hopefully it will solve me issues

Thanks again
by jimtrout87
Monday 03 October 2016 11:44
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25743

Re: Plex Status - Video, Audio, Photo, Play Progress

I am having some issues with this script and cannot work out the fix. It works for a day or two after first run but then stops updating variables and leaves behind the text for now playing. The text is always shows and always play progress shows as nearly finished, but i know the script is still ...
by jimtrout87
Tuesday 26 July 2016 17:53
Forum: LUA
Topic: Lua Scripting - Combining And/Or's
Replies: 6
Views: 1702

Re: Lua Scripting - Combining And/Or's

Thanks Both, i do now have a Somonehome dummy switch and is done via blocky. I use it across many scripts so its easiest to leave where it is.
by jimtrout87
Thursday 26 May 2016 11:27
Forum: LUA
Topic: Lua Scripting - Combining And/Or's
Replies: 6
Views: 1702

Re: Lua Scripting - Combining And/Or's

haha thanks - that's one way of dropping some text.

Thanks for clearing that up.I don't know enough about Lua but assumed you would be able to combine For example:

if(otherdevices(['Kitchen Motion'] or ['Hallway Motion']) =='On')

To me that seems logical but maybe not...
by jimtrout87
Wednesday 25 May 2016 12:41
Forum: LUA
Topic: Lua Scripting - Combining And/Or's
Replies: 6
Views: 1702

Lua Scripting - Combining And/Or's

I'm quite new to Domoticz and have just started using Lua. I'm not sure if possible but is there a simple way to combine and statements. Below is my script for my alarm sequence but I seem to be saying and this and this and this.... is this the only way or could this be cleaned up. I have tried a ...