Search found 82 matches

by havnegata
Wednesday 03 January 2018 21:25
Forum: Other questions and discussions
Topic: Logitech Media Server
Replies: 320
Views: 43635

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: 320
Views: 43635

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: 320
Views: 43635

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: 320
Views: 43635

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: 320
Views: 43635

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...
by havnegata
Saturday 23 December 2017 14:14
Forum: General Discussion
Topic: Json parse
Replies: 6
Views: 697

Re: Json parse

How stupid can one be.... @emme, you got the correct solution, I just wasn't able to follow it...Thanks!
by havnegata
Thursday 21 December 2017 13:22
Forum: Other questions and discussions
Topic: Logitech Media Server
Replies: 320
Views: 43635

Re: Logitech Media Server

Logitech is working fine from Domoticz. I am trying to control my players from blockly, On, Off, is working fine. But playing a playlist or setting a volume level is not working. 1.JPG 2.JPG What should I change? Did you end up figuring this out? I'm trying to setup a blockly event to play a playli...
by havnegata
Thursday 07 December 2017 13:42
Forum: Other questions and discussions
Topic: Beware of Raspberry Pi SSH hijacks
Replies: 14
Views: 1543

Re: Beware of Raspberry Pi SSH hijacks

It's always interesting to know what kind of security you have on your system ;)
by havnegata
Friday 01 December 2017 22:39
Forum: dzVents
Topic: Help on correcting script
Replies: 7
Views: 547

Re: Help on correcting script

Thanks, but I can't find any information on the "extra" part?

Edit: Found some information here: viewtopic.php?p=140227#p140227
by havnegata
Friday 01 December 2017 15:20
Forum: dzVents
Topic: Help on correcting script
Replies: 7
Views: 547

Re: Help on correcting script

Thanks, got it working!! Maybe you can help me on another thing. The last sentence is a notification on Pushover. "domoticz.PRIORITY_MODERATE" is not working as I was hoping. I was hoping to get a silent notification with vibration, but it comes with sound. "domoticz.PRIORITY_LOW" also comes with so...
by havnegata
Friday 01 December 2017 14:49
Forum: dzVents
Topic: Help on correcting script
Replies: 7
Views: 547

Re: Help on correcting script

Noticed now that I was missing some quotation marks around the state 'On' and 'Off'.....
by havnegata
Friday 01 December 2017 14:39
Forum: dzVents
Topic: Help on correcting script
Replies: 7
Views: 547

Help on correcting script

This is my first effort on making a DzVents script. Actually I'm just converting my blockly. Anyway, I'm trying to make a "SomeoneHome" switch turn on when there is motion or the TV is on. It kind of works, but only on the device "StueNord_bevegelse" and not the TV or the other motion detector. retu...
by havnegata
Thursday 30 November 2017 0:13
Forum: General Discussion
Topic: Json parse
Replies: 6
Views: 697

Re: Json parse

Just to make sure I don't misunderstand this. If I add "Flash %Temp" after the java scriptlet am I then supposed to see the temperature?
Cause I only get %Temp from this.
by havnegata
Wednesday 29 November 2017 16:51
Forum: General Discussion
Topic: Json parse
Replies: 6
Views: 697

Re: Json parse

febalci wrote:Have you tried:

Code: Select all

var temp = JSON.parse(global("HTTPD")).result.Temp;
Thanks for replying, but unfortunately this gives me the same result.
by havnegata
Monday 27 November 2017 13:15
Forum: General Discussion
Topic: Json parse
Replies: 6
Views: 697

Json parse

So I'm trying to get the temperature to show on my Android homescreen using Tasker and Zooper. I can flash all the information from the device, but the problem occurs when I try to extract only the temp data. I have: var temp = JSON.parse(global("HTTPD")).Temp; It's the last part that's not working....
by havnegata
Saturday 25 November 2017 21:51
Forum: Z-Wave
Topic: Extending the range of Aeotec Z-Stick Gen5
Replies: 5
Views: 900

Re: Extending the range of Aeotec Z-Stick Gen5

Thanks for the tips! And you have of course experienced better range with this?
by havnegata
Tuesday 21 November 2017 12:15
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 135
Views: 18115

Re: Python Plugin: Smart Virtual Thermostat

napo7 wrote:It seems there is problems with latest betas and python plugins.
The devs are searching around this.
Not only this plugin is failing, almost all python plugins are !
Thanks!
by havnegata
Tuesday 21 November 2017 11:19
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 135
Views: 18115

Re: Python Plugin: Smart Virtual Thermostat

I'm on RPI3 and the latest beta and Domoticz goes offline after clicking ADD in the Hardware section after configuring the SVT plugin with the IDX'es. Any one else have this experience?
by havnegata
Friday 17 November 2017 23:43
Forum: General Discussion
Topic: Using Tasker and javascriptlet to extract temperature from Domoticz
Replies: 7
Views: 675

Re: Using Tasker and javascriptlet to extract temperature from Domoticz

Mediacj wrote:That is strange I only receive my favorites, I have to mark a device as favorite before it appears in this output.
I have one device marked as favorite...
by havnegata
Friday 17 November 2017 23:18
Forum: General Discussion
Topic: Using Tasker and javascriptlet to extract temperature from Domoticz
Replies: 7
Views: 675

Re: Using Tasker and javascriptlet to extract temperature from Domoticz

Mediacj wrote:I used this request: http://ip_domoticz:port/json.htm?type=devices&used=true&filter=all&favorite=1
Thanks. Tried this and now I received all the information, but I get the information from all my devices, although I have only one device marked as favorite. Is that supposed to be correct?