Search found 90 matches

by havnegata
Tuesday 27 November 2018 23:18
Forum: dzVents
Topic: What is wrong [Solved]
Replies: 10
Views: 647

Re: What is wrong [Solved]

Great! Thanks for the swift replies and your last solution is working perfect! It was the quotation marks around the uservariable values. It's supposed to be uservariable.set(1), not uservariable.set('1')
by havnegata
Tuesday 27 November 2018 20:21
Forum: dzVents
Topic: What is wrong [Solved]
Replies: 10
Views: 647

Re: What is wrong [Solved]

Integer
by havnegata
Tuesday 27 November 2018 18:45
Forum: dzVents
Topic: What is wrong [Solved]
Replies: 10
Views: 647

Re: What is wrong [Solved]

2018-11-27 17:33:08.228 Status: User: Admin initiated a switch command (16/Bad2etg/On) 2018-11-27 17:33:08.447 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua 2018-11-27 17:33:08.461 Status: Notification: Noen har våknet 2018-11-27 17:33:08.464 Status: Set...
by havnegata
Friday 23 November 2018 12:54
Forum: dzVents
Topic: What is wrong [Solved]
Replies: 10
Views: 647

Re: What is wrong [Solved]

OK, so I was waken by hammering notifications today, so the script is working, but needs a little tuning ;) I figured a variable could fix this so that I only get one notification. I tried with adding a variable Vaken. The variable changes, but this is ignored the next time it runs. return { on = { ...
by havnegata
Friday 23 November 2018 0:06
Forum: dzVents
Topic: What is wrong [Solved]
Replies: 10
Views: 647

Re: What is wrong [Solved]

Brilliant! Thanks a lot!
by havnegata
Thursday 22 November 2018 16:11
Forum: dzVents
Topic: What is wrong [Solved]
Replies: 10
Views: 647

What is wrong [Solved]

Someone has an idea of why this is not working? return { on = { devices = { ['Bad2etg'] = {'at 06:00-07:00 on mon,tue,wed,thu,fri'}, ['Yttergang'] = {'at 06:00-07:00 on mon,tue,wed,thu,fri'} }, execute = function(domoticz, device) if ((device.name == 'Bad2etg' and device.active) or (device.name == '...
by havnegata
Thursday 13 September 2018 10:59
Forum: Bugs and Problems
Topic: Lost switches on Dashboard and Switches tab
Replies: 12
Views: 1157

Re: Lost switches on Dashboard and Switches tab

Nothing happened, nor good or bad, so guess a reinstall is the next step...

Sent fra min VKY-L29 via Tapatalk

by havnegata
Thursday 13 September 2018 9:59
Forum: Bugs and Problems
Topic: Lost switches on Dashboard and Switches tab
Replies: 12
Views: 1157

Re: Lost switches on Dashboard and Switches tab

When searching the forum I came across a topic which you where helping http://domoticz.com/forum/viewtopic.php?p=191246#p191246 and the last part of your solution I'm interested in. The file in the WWW/JS folder is existing in my folder as well, but do you think it has something to do with my proble...
by havnegata
Thursday 13 September 2018 9:42
Forum: Bugs and Problems
Topic: Lost switches on Dashboard and Switches tab
Replies: 12
Views: 1157

Re: Lost switches on Dashboard and Switches tab

Thanks for helping! Yes, it's persistence. I noticed my z-wave switches got this bold marking:
by havnegata
Thursday 13 September 2018 9:11
Forum: Bugs and Problems
Topic: Lost switches on Dashboard and Switches tab
Replies: 12
Views: 1157

Re: Lost switches on Dashboard and Switches tab

RPI 3 Domoticz ver 4.9999 I've noticed a similar problem although I don't use Rooms. But suddenly my switches tab only contains three motion sensor and it should have contained 35 different nodes. When I look in devices they are all there and functioning, but they don't show up under the Switches ta...
by havnegata
Monday 10 September 2018 15:39
Forum: dzVents
Topic: KD101 and DzVents error [Solved]
Replies: 1
Views: 641

Re: KD101 and DzVents error [Solved]

Solved it by adding a virtual switch which turns on my Smoke Alert sensor siren
by havnegata
Monday 10 September 2018 13:19
Forum: dzVents
Topic: KD101 and DzVents error [Solved]
Replies: 1
Views: 641

KD101 and DzVents error [Solved]

I'm trying to use my KD101 Smoke Alert sensors in the example alarm script. In Domoticz web gui I'm able to sound the siren by pressing this sensor as a normal switch, but when using it in this script: return { active = true, on = { devices = { 'StueNord_bevegelse' -- Motion sensor } }, execute = fu...
by havnegata
Saturday 08 September 2018 12:35
Forum: General Discussion
Topic: After reboot of Raspberry, Domoticz reverts to previous stable
Replies: 4
Views: 408

Re: After reboot of Raspberry, Domoticz reverts to previous stable

Thanks for the swift response! I will buy a new one

Sent fra min VKY-L29 via Tapatalk

by havnegata
Saturday 08 September 2018 11:53
Forum: General Discussion
Topic: After reboot of Raspberry, Domoticz reverts to previous stable
Replies: 4
Views: 408

Re: After reboot of Raspberry, Domoticz reverts to previous stable

A little about how I'm doing it: To get the latest stable version I issue the command ./updaterelease from the installation folder. After that I restore my latest database from the webgui. Now Domoticz is running perfectly fine until I have a power failure in the house and Raspberry restarts. Then D...
by havnegata
Saturday 08 September 2018 10:44
Forum: General Discussion
Topic: After reboot of Raspberry, Domoticz reverts to previous stable
Replies: 4
Views: 408

After reboot of Raspberry, Domoticz reverts to previous stable

I'm on Raspbian Stretch and latest stable 4.9700
I'm experiencing that after every reboot of Raspberry PI, Domoticz reverts to previous stable version 3.8153. Has anybody else experienced this?
by havnegata
Wednesday 03 January 2018 21:25
Forum: Other questions and discussions
Topic: Logitech Media Server
Replies: 357
Views: 51478

Re: Logitech Media Server

Wow, that would be great! I have a SB-radio
by havnegata
Tuesday 02 January 2018 23:49
Forum: Other questions and discussions
Topic: Logitech Media Server
Replies: 357
Views: 51478

Re: Logitech Media Server

Thanks @Philchillbill and @Nautilus! Rebooting the Squeezebox is what I need to do. Will try your solution when I get home
by havnegata
Monday 01 January 2018 23:31
Forum: Other questions and discussions
Topic: Logitech Media Server
Replies: 357
Views: 51478

Re: Logitech Media Server

... However, Logitech recommends using the JSON RPC construct instead of HTTP. You can look at the wiki on LMS at my entry on playing alerts to see how this can be done from perl. Should be trivial to rewrite to Lua or Bash. No coder, but trying to read your perl script, is this portion related to ...
by havnegata
Sunday 31 December 2017 18:09
Forum: Other questions and discussions
Topic: Logitech Media Server
Replies: 357
Views: 51478

Re: Logitech Media Server

You can turn off a player via a HTTP command using this syntax: http://192.168.1.1:9000/status.html?p0=button&p1=power_off&player=00:04:20:18:e8:3c power_on /power_toggle will also work in place of power_off. However, Logitech recommends using the JSON RPC construct instead of HTTP. You can look at...
by havnegata
Friday 29 December 2017 14:02
Forum: Other questions and discussions
Topic: Logitech Media Server
Replies: 357
Views: 51478

Re: Logitech Media Server

* Added state 'Disconnected' when device (or App) is unavailable This is a great plugin for Domoticz, thank you! I have a situation where a couple of my players get disconnected from LMS and the only way to connect them again to LMS is to power cycle them. I'd like to automate this process with the...