Search found 25 matches

by HansLe
Tuesday 24 January 2023 13:38
Forum: Python
Topic: Python Plugin: TUYA
Replies: 507
Views: 92525

Re: Python Plugin: TUYA

TinyTuya plugin to get energy data readouts works great. See this post in the Dutch domoticz forum were I mentioned how to check it before you install it in Domoticz. https://contactkring.nl/phpbb/viewtopic.php?p=4526&sid=84269adb690c3323a3bae6d1364b0bcf#p4526 The text is in Dutch but wit Google ...
by HansLe
Saturday 05 March 2016 14:04
Forum: Other questions and discussions
Topic: Update Available !... Update Now? Version #4834
Replies: 32
Views: 13243

Re: Update Available !... Update Now? Version #4834

After changing the download script the update worked perfect. Thanks for the update guys!!!! :D
by HansLe
Tuesday 23 February 2016 23:29
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

@arnoldg Change line: <div class="box" data-domoticz-id="60" data-status="true""> to <div class="box datavalue" data-domoticz-id="60" data-status="true""> and it will work. i can't get it to work, below is the output of the json string. i wan't to use ID:60 and the usage output. that is not the ...
by HansLe
Sunday 21 February 2016 20:18
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

You have to define a new class, f.e. kakudimmers. See how the heaters are defined.
by HansLe
Thursday 18 February 2016 23:58
Forum: PHP and all others
Topic: Is my Philips TV on standby
Replies: 3
Views: 2202

Re: Is my Philips TV on standby

@spatt3r. I'm using this code to get my TV in standby mode. Save it as a PHP script (f.e. tv.stop.php). I've a tv switch where I defined as "off action" thiss PHP script: script:///home/pi/domoticz/scripts/tv.stop.php <IP TV> Don't forget to make the PHP scripte executable! As far as I know it is ...
by HansLe
Thursday 18 February 2016 23:37
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

And I've changed the Sonos script. I'm now able to define more devices.
music dashboard.JPG
music dashboard.JPG (31.38 KiB) Viewed 17313 times
by HansLe
Thursday 18 February 2016 23:31
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

I've a TV that supports Jointspace (http://jointspace.sourceforge.net) and after a few evenings I have a new TV dashboard :D
tv dashboard.JPG
tv dashboard.JPG (47.48 KiB) Viewed 17315 times
by HansLe
Wednesday 17 February 2016 23:54
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

@arnoldg: you have added this code to? } else if(element.hasClass("datavalue")) { that.updateWidget.datavalue(element, result); Can you add the console log line: datavalue: function(element, result) { // 1-2 toegevoegd var datavalue = result.Data ; console.log ( "Datavalue: " + result.idx ...
by HansLe
Tuesday 16 February 2016 19:41
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

@arnoldg, you can show every data you want as long as it is available in a Domoticz device. You have to changethe domoticz.js at some places. I've introduced in my code a datavalue "class" if(element.hasClass("dimmer-switch")) { that.updateWidget.dimmerSwitch(element, result); } else if(element ...
by HansLe
Saturday 06 February 2016 0:19
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 407036

Re: NEW frontpage.html - request comments

@Luckydogg, that's indeed the problem. I got it working today. See for example the following changed functions in frontpage.js. //Volume up of Sonos function ChangeVolumeUp(idx) { var url = "http://172.16.0.12/" + "sonos/index.php?zone=" + idx + "&action=VolumeUp"; console.log(url); $.ajax({ url ...
by HansLe
Tuesday 02 February 2016 0:04
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 407036

Re: NEW frontpage.html - request comments

@G3rard. I have a problem to define my Sonos device. There seems to be a problem with line 290 in frontpage.js. var vs2 = JSON.parse(vs2); However I can see the error message "Uncaught SyntaxError: Unexpected token <" I don't know how to solve this. I don't know how to inspect a variable with ...
by HansLe
Monday 01 February 2016 23:27
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

I want to make some boxes for displaying information. F.e temperature and humidity. Or windspeed en winddirection. I don't know how to get and display these values (see for example the frontpage of G3rard). Can someone advice me please.

edit
solved
by HansLe
Saturday 30 January 2016 14:19
Forum: Design, usability and languages
Topic: Yet another frontpage
Replies: 82
Views: 36381

Re: Yet another frontpage

I have some probems to get nice frontpage operational. The wheater information works very well. I have problems to get my switches working. The status is never updated and only the ON command seems to work. What am I doing wrong? edit problem solved: I have edited domotics.js and added this line of ...
by HansLe
Friday 29 January 2016 23:27
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 407036

Re: NEW frontpage.html - request comments

I´ve not tested yet but you are using a selector. G3rard describes to use a switch (https://github.com/gerard33/frontpage). I see you are using the default Mediaplayer icon. On this page (https://drive.google.com/folderview?id=0B-ZLFoCiqzMRSkFaaWdHV1Qxbm8&usp=sharing) you can find a beautiful Sonos ...
by HansLe
Thursday 28 January 2016 0:02
Forum: Design, usability and languages
Topic: NEW frontpage.html - request comments
Replies: 1301
Views: 407036

Re: NEW frontpage.html - request comments

Problem solved. I installed the frontpage_setting.js and frontpage.html again and everything works very well.

@G3rard, the Sonos files in the frontpage are not updated with the last changes ;)
by HansLe
Saturday 23 January 2016 14:06
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 74072

Re: Easy Sonos

ok, i found out reading the php code if have to enter the php code i have to enter "param string radio name display on sonos controller".. I still can't make it to work but i realized the first time i test it (using a new message text) i get: PHP Warning: file_get_contents(http://translate.google ...
by HansLe
Thursday 21 January 2016 22:01
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 74072

Re: Easy Sonos

I hadn't got the 3 wrapper scripts but I've just tried them and it didn't make any different. Tomorrow I'll see if I can put in some debug lines to find out what its trying to send to the Sonos. I suspect there's another component I need to install that's already bundled in for those of you using ...
by HansLe
Wednesday 20 January 2016 20:51
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 74072

Re: Easy Sonos

My Domoticz is running on a Windows 7 NUC PC. So do I need to add a web server there? How do I do that? Apologies for the basic questions :oops: The PHP files don't have to be on the same server as your Domoticz is running on. Do you have a Raspberry pi or NAS you can use as web server? Otherwise ...
by HansLe
Tuesday 19 January 2016 23:43
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 74072

Re: Easy Sonos

Have you downloaded all these files: https://github.com/gerard33/sonos .... and copied them in the same directory as your script?
by HansLe
Tuesday 19 January 2016 13:23
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 74072

Re: Easy Sonos

YEEEEEEESSSSS! I'm able to use TTS on a RPI. As you can read Thorjb had some problems. I had the same. This problem exist when you don't use a file share but you use your RPI as place to read and find the MP3 files. I hope G3rard will change the following recommendations in the source files. If not ...