Search found 44 matches
- Friday 17 August 2018 2:00
- Forum: Other questions and discussions
- Topic: Logical order to use backup image and sd card size
- Replies: 10
- Views: 1617
Re: Logical order to use backup image and sd card size
I use raspibackup running via cron job on my Pi. It will shrink the image down to minimum size and can expand it again on restore to fit whichever size device. https://www.linux-tips-and-tricks.de/en/backup Originally I was writing backups to a second usb stick, but now I save them remotely on my ...
- Sunday 12 August 2018 13:01
- Forum: dzVents
- Topic: Converting my block to dzVents
- Replies: 4
- Views: 753
Re: Converting my block to dzVents
Your syntax is a bit off. Try something like this return { on = { devices = { 'Lux' } }, execute = function(domoticz, device) if (device.Lux >= 3701 ) then print("Lux is > 3701") end if ((device.Lux >= 401) and (device.Lux <= 3700 )) then print("Lux is > 401 and < 3700") end if ((device.Lux >= 0 ...
- Thursday 09 August 2018 19:59
- Forum: Heating/cooling
- Topic: Tado Thermostat plugin
- Replies: 80
- Views: 36070
Re: Tado Thermostat plugin
Thanks.
Builds were provided for me.... Just switched to the beta release today and Tado works fine, so definitely a problem with my 'special' build.
Builds were provided for me.... Just switched to the beta release today and Tado works fine, so definitely a problem with my 'special' build.
- Thursday 09 August 2018 16:50
- Forum: Heating/cooling
- Topic: Tado Thermostat plugin
- Replies: 80
- Views: 36070
Re: Tado Thermostat plugin
Hmmm. I’m running a special beta trying to track down some threading issues. Might be related I guess.
- Thursday 09 August 2018 13:13
- Forum: Heating/cooling
- Topic: Tado Thermostat plugin
- Replies: 80
- Views: 36070
Re: Tado Thermostat plugin
Anybody else having Tado login problems? Since the 5th Aug my log has been spammed with this 2018-08-09 12:03:48.495 Tado: Attempting login. 2018-08-09 12:03:48.520 Error: Tado: Failed to retrieve API environment from 2018-08-09 12:03:48.495 Tado: Attempting login. 2018-08-09 12:03:48.520 Error ...
- Sunday 05 August 2018 2:24
- Forum: dzVents
- Topic: Run script every min, but only when a switch is on.
- Replies: 4
- Views: 1498
Re: Run script every min, but only when a switch is on.
Not sure dzvents does what you’re looking for, but my proposed extension would help. You could have a script that only is triggered by the switch, but then fires off a 1 minute timer to re-trigger itself.
viewtopic.php?f=59&t=24022&p=185214#p185214
viewtopic.php?f=59&t=24022&p=185214#p185214
- Friday 03 August 2018 10:46
- Forum: Heating/cooling
- Topic: Tado Thermostat plugin
- Replies: 80
- Views: 36070
Re: Tado Thermostat plugin
Your Linux installation probably does not have a caching dns resolver installed, so for every request it will have to resolve the my.tado.com domain again (which is cached by your PiHole installation, so in a certain way you do have a dns cache :lol: ). 26,000/day does not seem entirely ...
- Friday 03 August 2018 9:20
- Forum: Heating/cooling
- Topic: Tado Thermostat plugin
- Replies: 80
- Views: 36070
Re: Tado Thermostat plugin - DNS weirdness
My Tado plugin seems to work OK, but I've noticed something odd. I run my own local DNS server (Pihole) and looking at the logs, my Domoticz server seems to make *huge* amounts of DNS lookups for 'my.tado.com'. In the last 24 hours it appears to have made over 26,000 lookups on that one domain ...
- Friday 27 July 2018 14:11
- Forum: dzVents
- Topic: DzVents stopped working [Solved]
- Replies: 30
- Views: 5566
Re: DzVents stopped working [Solved]
I'm now in a situation that editing scripts randomly stop other scripts being triggered. Rolling back the database fixes it, but not being able to change things is a bit of a pain in the ass. I'm not sure if its the actual changes I'm trying to make are in some way breaking dzevents, or if its ...
- Friday 27 July 2018 12:05
- Forum: dzVents
- Topic: Failed optimisation... And my Lack of Lua skills
- Replies: 2
- Views: 453
Re: Failed optimisation... And my Lack of Lua skills
Hmmm. Being called every minute doesn't seem too efficient. Maybe I'm over optimising here...
- Thursday 26 July 2018 23:47
- Forum: Other questions and discussions
- Topic: Edit script on Ipad
- Replies: 12
- Views: 2076
Re: Edit script on Ipad
People know it doesn’t work. That’s the point of this thread. I was offering a solution in that it appears to be fixed in the upcoming release of iOS 12, for all the people that it might be useful for.
All you did was repeat what we know already, so not a particularly useful contribution.
All you did was repeat what we know already, so not a particularly useful contribution.
- Thursday 26 July 2018 22:42
- Forum: Other questions and discussions
- Topic: Edit script on Ipad
- Replies: 12
- Views: 2076
- Thursday 26 July 2018 19:21
- Forum: dzVents
- Topic: Failed optimisation... And my Lack of Lua skills
- Replies: 2
- Views: 453
Failed optimisation... And my Lack of Lua skills
I'm gradually optimising my early dzvents code... I have a bunch of device event scripts that handle motion detected in various places and turn on/off various lights with various delays. I came to the conclusion that 99% of the code is identical apart from the parameters, so I've attempted to ...
- Thursday 26 July 2018 18:47
- Forum: Other questions and discussions
- Topic: Edit script on Ipad
- Replies: 12
- Views: 2076
Re: Edit script on Ipad
This issue seems to be fixed in iOS 12 beta.
Andy.
Andy.
- Thursday 26 July 2018 12:01
- Forum: Python
- Topic: MQTT Discovery plugin - clarification requested
- Replies: 1
- Views: 1261
MQTT Discovery plugin - clarification requested
A clarification requested on how it works... Initially it pulls in all my Sonoff Tasmota devices - Switches/relays etc, and they are named the same as they are within my Sonoff setup. Works perfectly, even for wall switches that have the button/relay separated via 'ButtonTopic' - If I were to change ...
- Thursday 26 July 2018 11:51
- Forum: dzVents
- Topic: DzVents stopped working [Solved]
- Replies: 30
- Views: 5566
Re: DzVents stopped working [Solved]
I reverted to a database from 24 hours pervious and all seems working again.
I'll reintroduce my (fixed) dzvents changes today and see how it goes.
I'll reintroduce my (fixed) dzvents changes today and see how it goes.
- Thursday 26 July 2018 0:20
- Forum: dzVents
- Topic: DzVents stopped working [Solved]
- Replies: 30
- Views: 5566
Re: DzVents stopped working [Solved]
[/b][/b] @Andyf66, just a thought ; if you got syntax errors and dzVents complained about them all day (to the log) and if your log is on the sd card ? That excessive writing to the log might have caused the sd card to go bad. Again just a thought... Unlikely as it’s runing from an SSD drive via a U ...
- Wednesday 25 July 2018 22:40
- Forum: dzVents
- Topic: DzVents stopped working [Solved]
- Replies: 30
- Views: 5566
Re: DzVents stopped working [Solved]
I’ve been having dzvents problems that started today too. Not sure if they are related. Everything was working fine until I edited some scripts this morning. I left them saved and enabled all day but with some syntax errors.Ive now fixed these errors. The events system starts up ok, but some scripts ...
- Monday 23 July 2018 10:52
- Forum: Design, usability and languages
- Topic: Aurora theme
- Replies: 466
- Views: 168312
Re: Aurora theme
I cannot easily change the case of merged items however, that is a result of javascript where I have to normalise titles to compare them. Could your normalisation process for comparing just enforce the first letter of each word to be a capital and the rest lower case, rather than just making it all ...
- Saturday 21 July 2018 22:03
- Forum: Blockly
- Topic: Blockly inadequacies - why?
- Replies: 5
- Views: 1099
Re: Blockly inadequacies - why?
Before I jump into this too deeply, can anybody tell me what is the simplest dev environment to set up, to build Domoticz?
I have access it Mac, Windows, Pi, and pretty much anything else running under Parallels as a VM.
Thanks.
I have access it Mac, Windows, Pi, and pretty much anything else running under Parallels as a VM.
Thanks.