Search found 25 matches

by niwreg
Tuesday 09 March 2021 11:34
Forum: Python
Topic: Python Plugin: WLED
Replies: 95
Views: 19608

Re: Python Plugin: WLED

hi VWtune,

It might help if you post the version of wled you are using. the onmessage errors looks like it gets an update from domoticz but there is something with the data that it don't understand. is this with the debug log on all?
by niwreg
Friday 26 October 2018 21:02
Forum: dzVents
Topic: Variable time before sunset [Solved]
Replies: 5
Views: 2555

Variable time before sunset [Solved]

I would like to do some light switching on sunset. However i would like to change the minutes before sunset to a variable. I guess i have to do something with function(domoticz) but i'm not sure how i combine that with the 'xx before sunset' Could somebody point me in the right direction? I saw ...
by niwreg
Monday 15 October 2018 18:16
Forum: dzVents
Topic: If does work for on but not for off
Replies: 5
Views: 619

Re: If does work for on but not for off

Ok i found the error.

it's variables instead of variable

The program would crash on this line so there would be no ligts switched on
by niwreg
Monday 15 October 2018 9:15
Forum: dzVents
Topic: how to achieve: trigger by trigger
Replies: 2
Views: 390

Re: how to achieve: trigger by trigger

Perhaps you can have a look at this:
viewtopic.php?p=193236#p193236

There the script is only active when a device is on. Maybe you can tweak it to use the precence?
by niwreg
Monday 15 October 2018 8:48
Forum: dzVents
Topic: If does work for on but not for off
Replies: 5
Views: 619

Re: If does work for on but not for off

No the timer is ok. I want to switch on the light an hour before sunset and switch a few of at 22:45 However depening if we are at home or not i want to switch some other lights as wel. But thati can't get that if to get to work. Edit: I created an debug version of the script and will see of this ...
by niwreg
Sunday 14 October 2018 22:41
Forum: dzVents
Topic: If does work for on but not for off
Replies: 5
Views: 619

Re: If does work for on but not for off

The goal: do some smart things with lighting when we are home or not. Am I making an huge beginners fault or is there something i'm completely missing? you pass the domoticz object to your execute = function as "d" but in line if triggers.trigger == 'at 22:45' and domoticz.variables('FullAutoLights ...
by niwreg
Sunday 14 October 2018 20:24
Forum: dzVents
Topic: If does work for on but not for off
Replies: 5
Views: 619

If does work for on but not for off

The goal: do some smart things with lighting when we are home or not. return { on = { timer = { '60 minutes before sunset', 'at 22:45' } }, logging = { level = domoticz.LOG_DEBUG, marker = "LightAtDusk: " }, execute = function(d, triggers) logtekst = '' d.log('The rule that triggered the event was ...
by niwreg
Sunday 14 October 2018 20:16
Forum: dzVents
Topic: Saving Hue color lights to variable [solved]
Replies: 9
Views: 1979

Re: Saving Hue color lights to variable [Solved]

Hm this seems to work better. Still not completly satisified with the colors but working on it.

Thanks!
by niwreg
Thursday 27 September 2018 11:58
Forum: dzVents
Topic: Saving Hue color lights to variable [solved]
Replies: 9
Views: 1979

Re: Saving Hue color lights to variable

Ok I tested this and i'm working on some logging but what i can see: Setting the light by hand works setColor(light.idx,dz.utils.toJSON({["g"] = 198;["t"] = 0;["cw"] = 0;["b"] = 254;["r"] = 221;["m"] = 3;["ww"] = 0;}),57) Setting the DATA to storage works too, however changing the value back doesn't ...
by niwreg
Sunday 23 September 2018 22:09
Forum: dzVents
Topic: Saving Hue color lights to variable [solved]
Replies: 9
Views: 1979

Re: Saving Hue color lights to variable

I think i'll allmost get the jist of that. I'll try to implement this tomorow and let you know if it works. :)
by niwreg
Saturday 22 September 2018 22:29
Forum: dzVents
Topic: Saving Hue color lights to variable [solved]
Replies: 9
Views: 1979

Re: Saving Hue color lights to variable

Ok that took longer than expected to have a go with it. Anyway i figured that the Hue go i use doesn't really like to respond to it, Tried some basics with setting to Go to a color read the RGB values an then do a color(rgb) but i end up with completle different colors and values. So my gues i have ...
by niwreg
Saturday 22 September 2018 22:16
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 273
Views: 78595

Re: Find My iPhone implementation in LUA script

Anyway in this thread
https://community.openhab.org/t/icloud- ... m/48314/28

they extract the key and signed the certificate with the apple root CA

So if we use that as trusted CA (maybe trick Curl into to that) the ssl should work again
by niwreg
Monday 03 September 2018 22:00
Forum: dzVents
Topic: Saving Hue color lights to variable [solved]
Replies: 9
Views: 1979

Re: Saving Hue color lights to variable

Thanks!

I'll have a look into it!
by niwreg
Thursday 30 August 2018 21:18
Forum: dzVents
Topic: Saving Hue color lights to variable [solved]
Replies: 9
Views: 1979

Saving Hue color lights to variable [solved]

Hi, I'm trying to write a script that when an kodi start playing a video two hue lights wil switch to an specific scene. This isn't the tricky part. However i would like that when kodi is paused or stopped the hue lights switch back to the previous color and brightnes (1 light only does brightnes so ...
by niwreg
Thursday 12 October 2017 22:56
Forum: Dashticz
Topic: Dashticz - General Discussions
Replies: 3672
Views: 552453

Re: Dashticz - General Discussions

Hey, I'm new with Dashticz, and after a day of fiddling i found out that i should use config['auto_positioning'] = 0; to get mij groups and other sensors to work. However is it possible to control kodi with dashticz? I've got an overview of what is is playing, but i would like to pause/play kodi ...
by niwreg
Sunday 27 November 2016 13:37
Forum: Other questions and discussions
Topic: IO via USB on RaspPi
Replies: 11
Views: 2358

Re: IO via USB on RaspPi

USB I/O input isn't quite a normal operation. However maybe if you loose USB and use an PiFace Digital, it's 1 module that you connect to the GPIO header and there is minimal soldering because it is an I/O module and it is supported by Domoticz
by niwreg
Friday 04 November 2016 11:29
Forum: Other questions and discussions
Topic: IO via USB on RaspPi
Replies: 11
Views: 2358

Re: IO via USB on RaspPi

I think the easiest way is to just th GPIO of the raspberry (without the piface) Alternative can be an Velleman interface board but they are already 50 euro or something like that. For GPIO you can use an optocoupler an some pins that wil set you back, including housing etc probaly around 7 euro max ...
by niwreg
Friday 21 October 2016 20:40
Forum: ESP8266
Topic: ESP made easy
Replies: 93
Views: 78162

Re: ESP made easy

Maybe somebody here can help me, i flashed ESP easy on an ESP-1, but i can't get through setup to connect to my SSID

there are weird characters behind it (and it is a long SSID with spaces) tried manual and select from the list. But i do get redirected to the setup page all the time.
by niwreg
Friday 30 September 2016 16:07
Forum: iOS
Topic: Siri / HomeKit support for Domoticz
Replies: 530
Views: 284494

Re: Siri / HomeKit support for Domoticz

Hi I ran into a problem when i try to pair an new phone to the excisting homebridge. The new phone updated to the latest IOS can not find the homebridge, not in the Home app as EVE, the logs say it is running an another phone wich was paired before has no trouble at all. Why won't my phone find the ...
by niwreg
Monday 26 September 2016 17:36
Forum: Suggestions
Topic: Ikea Zigbee Light Link
Replies: 1
Views: 1581

Re: Ikea Zigbee Light Link

Interesting, i'm curious about the price rang. And how it can be integrated into Domoticz.