Search found 77 matches

by asjmcguire
Sunday 12 November 2017 1:10
Forum: Speech & Voice Systems
Topic: Google Home
Replies: 66
Views: 15695

Re: Google Home

Hi Phantom - i'm afraid not Hi madgeni, I think it's great what you are doing with Controlicz, but is there any technical difficulties with implementing your code in domoticz software as an hardware plugin? I would prefer not to have an public ip address, I could easily pay for that plugin if's pos...
by asjmcguire
Sunday 25 June 2017 4:18
Forum: General Discussion
Topic: Webserver for graphs
Replies: 32
Views: 2127

Re: Webserver for graphs

Info here: https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's#Temperature_2 For example: http://<ip>:<port>/json.htm?type=graph&sensor=temp&idx= IDX &range=month to grab the JSON data to generate a graph that covers a month. What you do with the data will depend on your level of programming knowl...
by asjmcguire
Friday 16 June 2017 2:10
Forum: Other questions and discussions
Topic: Zwave cannot find/activate node
Replies: 2
Views: 394

Re: Zwave cannot find/activate node

OK so it's not a problem with the Device - for some reason the system has got stuck on that node in the CacheLoad phase - mine does this on rare occasions - with both sleeping nodes as well as awake nodes. All I do is go to the Domoticz hardware tab, disable the ZWave hardware for 5 seconds and then...
by asjmcguire
Sunday 14 May 2017 16:01
Forum: Bugs and Problems
Topic: ZWave nodes and configuration disappeared since beta update
Replies: 10
Views: 891

Re: ZWave nodes and configuration disappeared since beta update

I don't know about the NAS packages, but the standard Linux packages have the OpenZWave control panel included which you can access right at the bottom of the drop down list on the ZWave hardware page (where you go to include new nodes). I'd check that the configuration still shows up for nodes in t...
by asjmcguire
Sunday 14 May 2017 15:56
Forum: PHP and all others
Topic: Include node trough json?
Replies: 9
Views: 1087

Re: Include node trough json?

By the way - it's just occurred to me -

Hitting the acceptnewhardware URL mentioned above and putting something like 15 in the timeout, BEFORE going through the ZWave include process, would probably mean Domoticz would automatically add any nodes you include until the timer runs out.
by asjmcguire
Sunday 14 May 2017 3:47
Forum: PHP and all others
Topic: Include node trough json?
Replies: 9
Views: 1087

Re: Include node trough json?

What do you mean with auto assign? I expect he means that after you add a node through inclusion in ZWave, it's still not actually available to Domoticz until you have go to settings, clicked on Allow new hardware for 5 minutes, and then gone back to the ZWave screen, into the OZW Control Panel and...
by asjmcguire
Friday 12 May 2017 20:06
Forum: Dashticz
Topic: Dashticz - Safety (no access from outside your network)
Replies: 19
Views: 2167

Re: Dashticz - Safety (no access from outside your network)

It's trivial to install Nginx or Apache or something on any computer - including the Domoticz one - and host other web content - that is not accessible from the internet. You just have to make sure it's being served on a port that the router is not port forwarding. Nginx: https://www.digitalocean.co...
by asjmcguire
Friday 12 May 2017 19:57
Forum: PHP and all others
Topic: Include node trough json?
Replies: 9
Views: 1087

Re: Include node trough json?

Thank you for your reply asjmcguire! i'll try it out. when i try using the json command "json.htm?type=command¶m=zwaveinclude&idx=1&secure=false" my domoticz becomes unresponsive, is there something i'm missing? Well the first question to ask - is - is your ZWave stick actually listed as idx 1 ...
by asjmcguire
Tuesday 09 May 2017 18:00
Forum: PHP and all others
Topic: Include node trough json?
Replies: 9
Views: 1087

Re: Include node trough json?

Many thanks for your reply Egregius. Seems though as if domoticz hangs when i try it, which browser would you recommend to be able to view from developer view? They all pretty much offer this now - I use Chrome, but basically anything that lets you see the actual network requests being made. So you...
by asjmcguire
Tuesday 09 May 2017 17:57
Forum: Blockly
Topic: logic function
Replies: 2
Views: 680

Re: logic function

You need to use LUA - you can't do this in Blockly, but you can use the lastupdate value and time difference functions in LUA to achieve this.
by asjmcguire
Sunday 07 May 2017 2:08
Forum: PHP and all others
Topic: AVTECH Motion Detection link to Domoticz
Replies: 0
Views: 674

AVTECH Motion Detection link to Domoticz

Hi guys. So today I decided to explore the possibility of linking my AVTECH CCTV DVR to Domoticz. The system has been in place since 2012 - and is set to record whenever any camera detects motion. Here is a rough and ready PHP script that I am using. (Note I am using MQTT to trigger stuff, but you c...
by asjmcguire
Saturday 06 May 2017 16:20
Forum: Other questions and discussions
Topic: Sending raw live data somewhere else
Replies: 3
Views: 488

Re: Sending raw live data somewhere else

Should be fairly simple when you use for example lua. You simply make a device script which tests for the devicechanged() containing the information and do an OpenUrl command. Something like this: (untested) commandArray = {} if devicechanged("Temp") then tempval = otherdevices_svalues['Temp'] comm...
by asjmcguire
Thursday 04 May 2017 16:25
Forum: General Discussion
Topic: Address devices in a room plan via LUA?
Replies: 16
Views: 1095

Re: Address devices in a room plan via LUA?

Were you actually checking the script was only running when specific devices changed state though - because having it as a device script means the script runs every time any device is updated - not just the ones you are interested in - which means that every temperature update, power consumption upd...
by asjmcguire
Thursday 04 May 2017 16:16
Forum: Blockly
Topic: anyway to do a "Then"?
Replies: 2
Views: 604

Re: anyway to do a "Then"?

You'd need to store the state in a user variable - because no programming language anywhere allows you to do that - the logic runs at the moment the state changes, if the state changes again - it will be evaluated in another copy of the same script. So instead you would need something a bit like: if...
by asjmcguire
Thursday 04 May 2017 15:09
Forum: LUA
Topic: Help with smart switching
Replies: 8
Views: 940

Re: Help with smart switching

I did activate this script, but as soon as I open my door the light goes on and immediately off again. It also switches off the 30 min timer slapen. I did write the ON/OFF commands which were being send after the rows. So you know what is happening. To me it looks like the script is turning off the...
by asjmcguire
Wednesday 03 May 2017 22:46
Forum: LUA
Topic: Help with smart switching
Replies: 8
Views: 940

Re: Help with smart switching

I may be a bit off here - but this script looks to me (presumably you have it as a device script) - like because of the end of the script: if (devicechanged['1 min timer kleedkamer'] == "On" or devicechanged['30 min timer slapen'] == "On" or devicechanged['Schakelaar kleedkamer Toggle'] == "On") the...
by asjmcguire
Wednesday 03 May 2017 15:24
Forum: LUA
Topic: Help with smart switching
Replies: 8
Views: 940

Re: Help with smart switching

OK so start by creating 2 virtual switches. You want one for the on for 1 minute (1 minute off delay) and one for the on for 30 minutes (30 minutes off delay) So this is untested psuedo code: if (devicechanged['door contact'] == "Open" or devicechanged['PIR'] == "Motion") then if (otherdevices['isDa...
by asjmcguire
Wednesday 03 May 2017 14:50
Forum: Bugs and Problems
Topic: Help a lot of Python scripts are killing my memory
Replies: 14
Views: 954

Re: Help a lot of Python scripts are killing my memory

It might just be me - I'm not wonderful with Python but to me - "Onweer" script looks like it has a loop at the bottom of it (the main bit) that does it's stuff and then goes to sleep for 2 minutes and then repeats the loop again. This script therefore runs constantly, and each time you launch it fr...
by asjmcguire
Wednesday 03 May 2017 14:42
Forum: General Discussion
Topic: Does live chat deserve such attention?
Replies: 1
Views: 534

Re: Does live chat deserve such attention?

People like me who have bad anxiety find talking to people on a phone quite a stressful experience, especially if it is to get support for something. Additionally sitting in a queue just makes the level of anxiety rise.
by asjmcguire
Tuesday 02 May 2017 16:30
Forum: Other questions and discussions
Topic: 'Off delay' doesn't work as expected
Replies: 3
Views: 558

Re: 'Off delay' doesn't work as expected

Obviously when the motion sensor sends the off command then domoticz will honour it. The way I have used it is like this: I have a 433MHz Switch (but you can easily just use a virtual one instead). This Switch in Domoticz has a 300 second off timer. If any of 3 contact sensors or the motion sensor d...