Maybe this helps?
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s#Set_a_light_to_a_certain_color_or_color_temperature
Specify RGB and brightness (optional)
RGB as hexadecimal number, RRGGBB without prefix (no 0x or #)
/json.htm?type=command¶m=setcolbrightnessvalue&idx=99&hex=RRGGBB ...
Search found 27 matches
- Tuesday 18 May 2021 8:49
- Forum: Other questions and discussions
- Topic: Control the ESP from a Domoticz based home system
- Replies: 2
- Views: 717
- Sunday 21 February 2021 19:28
- Forum: Third party and supplementary tools
- Topic: Samsung Smartthings and Domoticz
- Replies: 14
- Views: 6430
Re: Samsung Smartthings and Domoticz
Can you share some simple python examples here so we can learn from it?
Sure, sorry for the late reply.
#!/usr/bin/env python2
# https://github.com/andrewsayre/pysmartthings
# for ps4 only -> result = await device.set_input_source("HDMI")
import aiohttp
import asyncio
import pysmartthings ...
- Saturday 20 February 2021 11:26
- Forum: Design, usability and languages
- Topic: Frontpage HTML/JavaScript
- Replies: 2
- Views: 3542
Re: Frontpage HTML/JavaScript
It only consists of one HTML page, inside the HTML pages there are two sections one as main and one for solarpanels.
All the other stuff is based on JavaScript and CSS, I've also replied tot you PM with more detail
All the other stuff is based on JavaScript and CSS, I've also replied tot you PM with more detail
- Sunday 14 February 2021 15:47
- Forum: Design, usability and languages
- Topic: Frontpage HTML/JavaScript
- Replies: 2
- Views: 3542
Frontpage HTML/JavaScript
Hi,
I created a HTML / JavaScript frontpage.
I got a wall mounted tablet that I use to control some smart things.
https://github.com/PatrickSt1991/domoticz-frontpage/raw/main/20210214_114831.jpg
Maybe you find it nice and / or want to modify it to your own needs, you can download it using this ...
I created a HTML / JavaScript frontpage.
I got a wall mounted tablet that I use to control some smart things.
https://github.com/PatrickSt1991/domoticz-frontpage/raw/main/20210214_114831.jpg
Maybe you find it nice and / or want to modify it to your own needs, you can download it using this ...
- Wednesday 30 December 2020 21:43
- Forum: dzVents
- Topic: Weerlive.nl [Solved]
- Replies: 14
- Views: 2135
Re: Weerlive.nl [Solved]
Okay great to hear, enjoy!
- Wednesday 30 December 2020 21:13
- Forum: dzVents
- Topic: Weerlive.nl [Solved]
- Replies: 14
- Views: 2135
Re: Weerlive.nl [Solved]
Couldn't wait till tomorrow haha.
So here it is.
Please let me know if it work :)
I added 4;
- Wind chill
- Max temperature
- Min temperature
- Temperature
-- KNMI weerlive.nl for domoticz
-- KNMI Weergegevens via Weerlive.nl
-- http://weerlive.nl/delen.php
-- add Domoticz forum link later ...
So here it is.
Please let me know if it work :)
I added 4;
- Wind chill
- Max temperature
- Min temperature
- Temperature
-- KNMI weerlive.nl for domoticz
-- KNMI Weergegevens via Weerlive.nl
-- http://weerlive.nl/delen.php
-- add Domoticz forum link later ...
- Wednesday 30 December 2020 20:29
- Forum: dzVents
- Topic: Weerlive.nl [Solved]
- Replies: 14
- Views: 2135
Re: Weerlive.nl [Solved]
Yep that's what I meant, I'll make something tomorrow.
Gr,
Patrick
Gr,
Patrick
- Wednesday 30 December 2020 20:02
- Forum: Third party and supplementary tools
- Topic: Samsung Smartthings and Domoticz
- Replies: 14
- Views: 6430
Re: Samsung Smartthings and Domoticz
I'm using this library: https://github.com/PatrickSt1991/pysmartthings
It's a fork of the original: https://github.com/andrewsayre/pysmartthings
With that I made python script and connected it to a domoticz virtual switch.
My script turns on the TV if it's off, when it's on changes the source to ...
It's a fork of the original: https://github.com/andrewsayre/pysmartthings
With that I made python script and connected it to a domoticz virtual switch.
My script turns on the TV if it's off, when it's on changes the source to ...
- Wednesday 30 December 2020 19:44
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz stays offline
- Replies: 1
- Views: 789
Re: Domoticz stays offline
Have you tried SSH into your nas? And changing the file via vi
- Wednesday 30 December 2020 19:41
- Forum: dzVents
- Topic: Weerlive.nl [Solved]
- Replies: 14
- Views: 2135
Re: Weerlive.nl [Solved]
Buienradar does have a min and max temperature. It even has max min, min min, and min max and max max.
Nevertheless I'm willing to help you out but I need to see the JSON output from http://weerlive.nl/api/json-data-10min.php?key=
So I can put the info in variables
Nevertheless I'm willing to help you out but I need to see the JSON output from http://weerlive.nl/api/json-data-10min.php?key=
So I can put the info in variables
- Monday 21 September 2020 15:26
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
For people using Afvalwijzer.
Afvalwijzer stopped the JSON feed I used to retrieve the data, so i created a basic screen scraper.
https://github.com/PatrickSt1991/Domoticz-Template/tree/update
just replace index.php and afvalwijzer.php and it should work, only thing you have to do is change the ...
Afvalwijzer stopped the JSON feed I used to retrieve the data, so i created a basic screen scraper.
https://github.com/PatrickSt1991/Domoticz-Template/tree/update
just replace index.php and afvalwijzer.php and it should work, only thing you have to do is change the ...
- Sunday 13 September 2020 15:40
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
You have to be absolutely sure PHP is working in domoticz.
Try creating a page with this in it.
<?php
phpinfo();
?>
Of it shows you a phpinfo page it should work, if not, PHP isn't working in domoticz (yet).
I'm on holiday so I can't help really much.
Cheers,
Patrick
Try creating a page with this in it.
<?php
phpinfo();
?>
Of it shows you a phpinfo page it should work, if not, PHP isn't working in domoticz (yet).
I'm on holiday so I can't help really much.
Cheers,
Patrick
- Friday 04 September 2020 13:24
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
Hi Gilbert,
The best way to use a scene is to adde the following to domoticz_switches.js
function ToggleScene(idx){
$.ajax({ url: 'http://192.168.0.125:8080/json.htm?type=command¶m=switchscene&idx=' + idx + '&switchcmd=Toggle' });
}
for reference: https://www.domoticz.com/wiki/Domoticz ...
The best way to use a scene is to adde the following to domoticz_switches.js
function ToggleScene(idx){
$.ajax({ url: 'http://192.168.0.125:8080/json.htm?type=command¶m=switchscene&idx=' + idx + '&switchcmd=Toggle' });
}
for reference: https://www.domoticz.com/wiki/Domoticz ...
- Wednesday 26 August 2020 14:07
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
I've send you a private message regarding your request.JuanUil wrote: Wednesday 26 August 2020 9:21 Hi There nice frontpage!
For my garbage I need to use the opzet_api, in combination with www.mijnblink.nl
Is it possible to integrate this one as wel?
Jan
- Wednesday 26 August 2020 8:30
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
Changed that already. I also see this on line 78:
<th class="tg-0lax" rowspan="2"><img src="assets/images/Afvalwijzer/<?php echo $container_typ; ?>_80.png"></th>
That's still referring to this Afvalwijzer map
Opera Snapshot_2020-08-25_134454_192.168.178.24.png
Ah I guess I uploaded a beta ...
- Tuesday 25 August 2020 12:09
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
Link to image is referring to http://***/assets/images/Afvalwijzer/GFT_80.png. *** is of course my internal IP and web folder name.
When I open this in a new tab it shows a 404. When I manually change GFT_80.png to gft_80.png it works.
Wait it's using the folder Afvalwijzer?
I thought you ...
- Monday 24 August 2020 17:06
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
Can you post a screenshot or check the code why it's not working?
There should be a image folder, maybe you postalcode has something different.
Cheers,
Patrick
- Wednesday 19 August 2020 15:10
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
Are you planning to implement more garbage companies? Our city doesn't use afvalwijzer but 'deafvalapp'
I wasn't planning on it, but I've added it never the less.
You should be able to see it now on the github page.
Please not i've only added the functionality, you should do a bit of styling ...
- Tuesday 18 August 2020 9:22
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
It's on github now, you should be able to download it without any problem now.bimse wrote: Saturday 15 August 2020 12:36 Does not work as intended, now it says "403 Forbidden"
Hope you find a solution
- Saturday 15 August 2020 8:43
- Forum: Design, usability and languages
- Topic: Yet another frontpage
- Replies: 82
- Views: 37991
Re: Yet another frontpage
Thanks for the headsup, i've reuploaded it to a different site.Jasper79 wrote: Friday 14 August 2020 14:12 Clicking the link says its not safe, going on and the download triggers Chrome and again it says not safe. Might want to repack and share somewhere else?
https://github.com/PatrickSt1991/Domoti ... master.zip