AH! Thankyou! Didn't understand the relationship between the variable types.
Cheers!
Search found 11 matches
- Monday 13 May 2019 20:12
- Forum: Bugs
- Topic: Attempt to perform arithmetic on global 'xx' (a nil value) Error [SOLVED]
- Replies: 2
- Views: 14313
- Monday 13 May 2019 17:45
- Forum: Bugs
- Topic: Attempt to perform arithmetic on global 'xx' (a nil value) Error [SOLVED]
- Replies: 2
- Views: 14313
Attempt to perform arithmetic on global 'xx' (a nil value) Error [SOLVED]
I have this code that is tracking the time that a door is open, (FrontDoorOpenMins is a global variable set as an integer with an initial value of 0):- return { on = { timer = {'Every minute'}, }, execute = function(domoticz) local fD = domoticz.devices('Front Door') if (fD.state == 'Alarm') then ...
- Sunday 01 January 2017 17:17
- Forum: Other questions and discussions
- Topic: Energenie Single Light Switch
- Replies: 1
- Views: 754
Energenie Single Light Switch
I have a Energenie Single light switch (https://energenie4u.co.uk/catalogue/product/MIHO008), and I don't seem to be able to get my RFXTRX to talk to it. I have tried seeing if it shows up in unused devices, I've tried putting it in pairing mode and both learning and manual set up modes, but I just ...
- Thursday 15 December 2016 12:06
- Forum: Other questions and discussions
- Topic: Amazon Echo IFTTT service now live in the UK
- Replies: 4
- Views: 1141
Re: Amazon Echo IFTTT service now live in the UK
Ah ok - those were the settings I was using - but my voice triggers that didn't work yesterday are working today.
Perhaps IFTTT was a little overwhelmed yesterday?!
Thanks for your input
Perhaps IFTTT was a little overwhelmed yesterday?!
Thanks for your input

- Wednesday 14 December 2016 19:37
- Forum: Other questions and discussions
- Topic: Amazon Echo IFTTT service now live in the UK
- Replies: 4
- Views: 1141
Amazon Echo IFTTT service now live in the UK
IFTTT have advised that the Amazon Echo service is now live in the UK. I have tried to use a trigger name and selected the maker service but am unsure as to which method to select - get, post, put, head, delete, patch or options or which content type to choose - text/plain, application/json or ...
- Tuesday 22 November 2016 9:34
- Forum: Other questions and discussions
- Topic: External JSON API Issue
- Replies: 15
- Views: 12416
Re: External JSON API Issue
Aha RobPow nailed it...
Don't I feel dumb now!
However I shall take on the advice about security as well!
As soon as I changed to basic auth it started working - thanks!Check if you have forms-based authentication enabled instead of basic auth in Domoticz settings.
Don't I feel dumb now!


However I shall take on the advice about security as well!

- Monday 21 November 2016 16:14
- Forum: Other questions and discussions
- Topic: External JSON API Issue
- Replies: 15
- Views: 12416
Re: External JSON API Issue
Ok..... "Read the manual (settings/system setup/half way!)" I have done but was asking for assistance as it doesn't seem to be doing what it says it should be doing. The documentation is good but the whole point of forums is to help clarify things. "Check wiki's about remote access (eg vpn/nginx ...
- Monday 21 November 2016 11:10
- Forum: Other questions and discussions
- Topic: External JSON API Issue
- Replies: 15
- Views: 12416
Re: External JSON API Issue
I agree - cryptic reply!
It must be Domoticz providing the 401 error as there are no other web servers on port 8080, and there wouldn't be a timeout rather than a reply if it hadn't reached a server.
It must be Domoticz providing the 401 error as there are no other web servers on port 8080, and there wouldn't be a timeout rather than a reply if it hadn't reached a server.
- Sunday 20 November 2016 15:02
- Forum: Other questions and discussions
- Topic: External JSON API Issue
- Replies: 15
- Views: 12416
External JSON API Issue
I'm trying to update a Lux value from outside my network using http://USERNAME:[email protected]:8080/json.htm?type=command¶m=udevice&idx=99&svalue=99 The dummy virtual ID is correct and if I try internally with the local IP address rather than MYDDNSHOST.ddns.net it works, but I keep ...
- Tuesday 27 September 2016 17:41
- Forum: Other questions and discussions
- Topic: Unable to write Log - Windows
- Replies: 1
- Views: 624
Re: Unable to write Log - Windows
Ok ignore this - I gave myself explicit security rights and it now works, but as my user is an administrator it should have just worked but didn't...!
Anyway working now!
Anyway working now!
- Tuesday 27 September 2016 14:26
- Forum: Other questions and discussions
- Topic: Unable to write Log - Windows
- Replies: 1
- Views: 624
Unable to write Log - Windows
Just looked in my log and I have 2016-09-27 13:00:01.608 Error: Error writing automatic hourly backup file 2016-09-27 13:00:03.017 Error: Error writing automatic daily backup file 2016-09-27 13:00:04.425 Error: Error writing automatic monthly backup file I had a look in the backups directory on my ...