Search found 73 matches

by racquemis
Sunday 05 March 2017 19:31
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

First thing in troubleshooting your issue is to navigate to the URL the scripts build manually with your browser. http://<IP>:32400/status/sessions?X-Plex-Token=<YOURTOKEN> If you still get an unauthorized reponse from the URL then either the token is incorrect or Plex doesn't recognize the network ...
by racquemis
Thursday 23 February 2017 15:22
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

The script automatically creates a user variable for each for the configured plex clients. It's value indicated the playback status. It in the documentation in the first post. These user variables can be used directly in blockly
by racquemis
Tuesday 07 February 2017 6:03
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

The names you should be using are the same names that appear under to status sessions page but also the names under now playing in Plex Web. But if it doesn't appear under sessions while playing something over the chromecast there is nothing I can do. About the chromecast: with the chromecast app on ...
by racquemis
Sunday 29 January 2017 11:23
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

Yes, but do you get a command prompt type window on your desktop
If you want to run the script invisibly rename python.exe in the bat file to pythonw.exe.
by racquemis
Sunday 29 January 2017 0:46
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

If you want to run the script from Windows first install python 2.7 on your system. Next create a new bat file and input the following: C:\python27\python.exe c:\<plex script directory>\plex.py Save the file somewhere that makes sense, e.g. same place as the script file. Now create a shortcut for ...
by racquemis
Friday 27 January 2017 11:44
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

The issue was probably due to timeouts from excessive http get requests due the misconfigured script.

Keep me posted ;)
by racquemis
Friday 27 January 2017 9:06
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

You removed the Pid part, but have you changed the crontab to run at reboot only? If not a new instance of the script will be run every 10 minutes without closing the previous one. Try adding back the Pid part and edit the crontab: */10 * * * * /home/pi/domoticz/scripts/python/plex.py > /home/pi ...
by racquemis
Friday 27 January 2017 8:49
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

Okay, so the script runs fine executed from putty but not when run from a crontab, you have given the script 775 rights? (execute rights)
by racquemis
Friday 27 January 2017 7:16
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

If you run the script from a terminal window, do you get any errors? Also try running the url that updates the user variable manually, does it work? "http://" + domoticz_host + ":" + domoticz_port + "/" + domoticz_url + "?type=command&param=updateuservariable&vname=" + dom_PlexPlayState_ID[PlayerID ...
by racquemis
Saturday 21 January 2017 21:17
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

Try use the script given in. it's a copy of the script now running on my system with user variables.
https://github.com/racquemis/DomoticzSc ... ython/plex
See if it helps.
by racquemis
Friday 13 January 2017 11:44
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

I've edited the post with the instructions to make it more foolproof, also i forget to add one line of code. See if you can get it working now, if not use my frontpage.js i have attached to that post. Thank you so much for this racquemis I've done all what you have explained and this is working on ...
by racquemis
Tuesday 06 December 2016 12:49
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

Looks like you copied the first part of the code in my instructions but not the second which includes all the functions.
by racquemis
Monday 05 December 2016 12:49
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

HTML5 sliders don't slide that well on touch devices. It should work if you just press on the position you want. Also HTML5 sliders are implemented differently on different browsers. For example on one browser ( can't remember which) i noticed that the button press and release events were firing at ...
by racquemis
Tuesday 22 November 2016 8:19
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

Thanks for the bug fixes. i've edited the code in the post accordingly ;)
by racquemis
Monday 21 November 2016 6:55
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

Awesome racquemis, works like a charm on my milight bulb and strips. There seems to be a big lag now and then, but I can live with that! Glad I could be of service ;) About the lag, I've only noticed it myself when the wifi connection is bad or when WMM QoS is enabled in modem (Kpn Xperiabox) The ...
by racquemis
Monday 21 November 2016 6:50
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

If if the device type is dimmer and you can control rgb values from domoticz it should work.
by racquemis
Sunday 20 November 2016 19:07
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

I've edited the post with the instructions to make it more foolproof, also i forget to add one line of code.
See if you can get it working now, if not use my frontpage.js i have attached to that post.
by racquemis
Sunday 20 November 2016 11:19
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

HMTL Slider controls for RGBW lights (Mi-Light + Others) I added a HTML5 slider control that allows you change brightness and hue. Sliding the bar does not work correctly on touch devices, however by tapping the control at the desired position you can control your lights brightness and hue just ...
by racquemis
Sunday 20 November 2016 6:53
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 417098

Re: NEW frontpage.html - request comments

Hello, I am modifying G3rard's frontpage by experimenting and searching on this forum and piece by piece i'm getting closer to the frontpage I like. I'm only wondering: is there somehow a possibility to ad RGB switches in this frontend? When i add such a switch as a "level" device I can control the ...
by racquemis
Thursday 13 October 2016 11:17
Forum: Python
Topic: Plex Status - Video, Audio, Photo, Play Progress
Replies: 115
Views: 25258

Re: Plex Status - Video, Audio, Photo, Play Progress

It should, status variables should change to -1 when the server is offline.
But clearly it's not working as expected. I'll look into it.