Search found 71 matches

by asjmcguire
Saturday 24 August 2019 18:18
Forum: Show your projects
Topic: Pi3b+ with additional harddisk
Replies: 10
Views: 2077

Re: Pi3b+ with additional harddisk

Hello, I've done almost the same for my Domoticz Backup Raspberry platform (running 24/7). It works well for about one year now. Notice however that in my environment during this last year, two times, I lost the USB hard-disk. Even this USB hard-disk disconnection is for a few seconds, because ...
by asjmcguire
Sunday 11 March 2018 14:00
Forum: Other questions and discussions
Topic: json.html structure
Replies: 2
Views: 849

Re: JSON structure

OK - first it isn't the JSON structure, JSON is something different - it's just that the URL is json.html which is a bit confusing. svalue = STRING value nvalue = NUMBER value Sensors that require ;0 are devices that store more than one value - eg a Temperature and Humidity sensor, when it is ...
by asjmcguire
Sunday 12 November 2017 0:10
Forum: Speech & Voice Systems
Topic: Google Home
Replies: 89
Views: 48987

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 ...
by asjmcguire
Friday 16 June 2017 2:10
Forum: Other questions and discussions
Topic: Zwave cannot find/activate node
Replies: 2
Views: 1483

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 15:56
Forum: PHP and all others
Topic: Include node trough json?
Replies: 9
Views: 3456

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: 3456

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: 7007

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 ...
by asjmcguire
Friday 12 May 2017 19:57
Forum: PHP and all others
Topic: Include node trough json?
Replies: 9
Views: 3456

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&param=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: 3456

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: 1403

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: 1519

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 ...
by asjmcguire
Saturday 06 May 2017 16:20
Forum: Other questions and discussions
Topic: Sending raw live data somewhere else
Replies: 3
Views: 1273

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 ...
by asjmcguire
Thursday 04 May 2017 16:16
Forum: Blockly
Topic: anyway to do a "Then"?
Replies: 2
Views: 1277

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: 2582

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: 2582

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 ...
by asjmcguire
Wednesday 03 May 2017 15:24
Forum: LUA
Topic: Help with smart switching
Replies: 8
Views: 2582

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 ...
by asjmcguire
Tuesday 02 May 2017 16:30
Forum: Other questions and discussions
Topic: 'Off delay' doesn't work as expected
Replies: 3
Views: 2495

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 ...
by asjmcguire
Monday 01 May 2017 20:12
Forum: Other questions and discussions
Topic: Domoticz.., iam done with you!
Replies: 33
Views: 7375

Re: Domoticz.., iam done with you!

I have Domoticz running on an Acer T180 desktop machine running Ubuntu Server. It will shortly be moving to a Raspberry Pi3. Hardware: (USB) => RFXComm, ZWave, CC128, LAN => 12 1Wire sensors on a network. Feeding stuff into Domoticz and even controlling Domoticz using JSON URLS and MQTT messages is ...
by asjmcguire
Monday 01 May 2017 17:56
Forum: Forum feedback
Topic: Offtopic forum username
Replies: 1
Views: 3368

Re: Offtopic forum username

Probably not you then - a quick search shows that axello joined the forum on "Joined:Wednesday 22 March 2017 10:04" and has made zero posts.

https://www.domoticz.com/forum/memberli ... le&u=14270
by asjmcguire
Tuesday 25 April 2017 16:42
Forum: Utility
Topic: OWL CM180 paring issue
Replies: 19
Views: 8459

Re: OWL CM180 paring issue

Recently re-paired my OWL in the last few months without problems.
However - I am on the stable branch - running v3.5837