Search found 22 matches

by Bishop
Monday 25 June 2018 9:34
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script [SOLVED]

Since a few days I noticed my Lux value wasn't update every 5 minutes. So I went to check the logs and every now and then, few times per hour, it seems Domoticz is unable to reach ogimet.com. Is anyone else experiencing the same? 2018-06-25 09:25:05.617 Error: Error opening url: http://www.ogimet ...
by Bishop
Thursday 07 September 2017 16:37
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script [SOLVED]

My idea is that the number of cloud layers and the kind of clouds have impact on the Lux value as an extra. I will investigate further how that could be an part of okta and oktaPercent. I will let you know if I found some logic. If I understand you correctly this will result in a more accurate ...
by Bishop
Thursday 07 September 2017 9:42
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script (2.0.6 Released) [SOLVED]

BakSeeDaa wrote: Thursday 07 September 2017 9:17 Version 2.0.6 is released.

Please read the Change Log and Release Notices.
Thankyou for all your work, it's appreciated!
by Bishop
Monday 04 September 2017 13:59
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script [SOLVED]

Awesome, you're doing a good job. Keep at it! :)
by Bishop
Monday 04 September 2017 13:27
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script [SOLVED]

Updated the script to version 2.0.4. Changes made: We shouldn't query the free Weather Information Service provided by www.ogimet.com more often than necessary. Previously a new query was made once every 5 minutes (depending on the interval that you've set) even though new data is available only ...
by Bishop
Sunday 03 September 2017 21:50
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81645

Re: Is it gonna rain within the next X minutes?

jvdz wrote: Sunday 03 September 2017 20:31Not sure I understand the Domoticz automatic backup argument as I though that only takes care of the domoticz.db, the actual data for Domoticz?
As far as I can tell it also makes contains your blockly, lua and dzVents you've made inside Domoticz.
by Bishop
Sunday 03 September 2017 14:39
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81645

Re: Is it gonna rain within the next X minutes?

Interesting... are you willing to share your script? Of course: This is the script I have and it feed both a Rain and a percentage device. In case you don't want the percentage chance of rain device you need to remove the code at the bottom of the lua which tries to update that. The filename and ...
by Bishop
Sunday 03 September 2017 14:25
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script [SOLVED]

BakSeeDaa wrote: Sunday 03 September 2017 14:17 As the script is designed now it will not put Domoticz on hold. As it was designed previously it had the potential to lock Domoticz for 10+10 seconds every time it run. That could happen if external servers responded slowly or not at all.
All I needed to know, thank you!
by Bishop
Sunday 03 September 2017 13:18
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script [SOLVED]

It works like a charm indeed. I understand that running scripts from Domoticz can, in some cases, slow Domoticz down because the system is waiting. Therefore I have some scripts running as a cronjob. Is there a way to run this script as a cronjob every 5 minutes? What do I change/add do besides ...
by Bishop
Sunday 03 September 2017 11:25
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 52175

Re: dzVents version of the Solar Data Script [SOLVED]

Awesome job!

Will test it soon!
by Bishop
Wednesday 23 August 2017 21:02
Forum: LUA
Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
Replies: 245
Views: 70114

Re: Real-time solar data : azimuth, Altitude, Lux sensor...

anyone also experiencing issues with the call to the ohimet.com site? I am getting: 2017-08-23 20:08:01.044 LUA: curl "http://www.ogimet.com/cgi-bin/getsynop?block=06270&begin=201708231700" 2017-08-23 20:08:02.208 LUA: ogimet:Status: 501 getsynop: no se pudo conectar a la base de datos because of ...
by Bishop
Monday 24 July 2017 15:10
Forum: Other questions and discussions
Topic: Nvidia Shield status
Replies: 8
Views: 2889

Re: Nvidia Shield status

I don't know if Wireless & Wired can be active simultaneously though since I don't have any wired android devices. As far as I know it cannot. You have to disable ethernet to enable WiFi. You could ofcourse install a app which can be polled to see if the device is asleep or not. But I cannot help ...
by Bishop
Friday 21 July 2017 9:25
Forum: Other questions and discussions
Topic: Nvidia Shield status
Replies: 8
Views: 2889

Re: Nvidia Shield status

It's connected through an ethernet cable. Since the shield can also stream games this gave the best results.

I was thinking along another route. Maybe it's possible for domoticz not to ping the shield but a certain app. The app would only become active when it's On but not in Standby or Off.
by Bishop
Wednesday 19 July 2017 19:31
Forum: Other questions and discussions
Topic: Nvidia Shield status
Replies: 8
Views: 2889

Re: Nvidia Shield status

That was my first idea.

However, I can still access the Shield when it's in standby. This will only work when it's actually off.

Do you have any other suggestions?
by Bishop
Friday 14 July 2017 23:15
Forum: Others
Topic: Onkyo receiver <--> Domoticz
Replies: 73
Views: 23464

Re: Onkyo receiver <--> Domoticz

Hello, I've used a script I found in this thread to check the on or off status of the Onkyo. While trying to control my Onkyo I've managed to create a selector-switch with 3 options so far: Off | CBL/SAT | Shield I don't know how to write lua and I can somewhat understand the code. Below I've tried ...
by Bishop
Wednesday 12 July 2017 20:39
Forum: Other questions and discussions
Topic: Nvidia Shield status
Replies: 8
Views: 2889

Re: Nvidia Shield status

*bump*

I would really like to be able to tell if the Nvidia Shield is in standby or on.
by Bishop
Friday 07 July 2017 0:16
Forum: LUA
Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
Replies: 245
Views: 70114

Re: Real-time solar data : azimuth, Altitude, Lux sensor...

Hello! I've implemented this script and am very happy that it exists! I'm running into a possible issue. In the beginning of the log you can see there are different GPS coordinates. The second set is correct and the first set comes close but is about 400 meters off. Can someone tell me what causes ...
by Bishop
Sunday 02 July 2017 1:24
Forum: Other questions and discussions
Topic: Nvidia Shield status
Replies: 8
Views: 2889

Nvidia Shield status

Hello! I want to create a system where domoticz controls my receiver. I'm still trying to get the hang of controlling the receiver but it's getting along. I would very much like to know how, if possible, I can have Domoticz check the status of my Nvidia Shield. If it's in standby or on. It does not ...
by Bishop
Monday 12 June 2017 16:33
Forum: Blockly
Topic: Question - Sunscreen blockly
Replies: 6
Views: 1704

Re: Question - Sunscreen blockly

Blockly can't do that directly in the if-statement, lua can. You could however use a variable which you put in a blockly (Time) ... etc I read what you said a couple of times and I think I get it. The variable you mention is a line of text I can make up? Like "UVTimer"? So it would become: If [UV ...
by Bishop
Sunday 11 June 2017 21:04
Forum: Blockly
Topic: Question - Sunscreen blockly
Replies: 6
Views: 1704

Re: Question - Sunscreen blockly

So far it seems to work!

Does anyone know if I can make something that does:
'if [UV] = [0 for 30 minutes] then [set Awning] = [Open]

I don't know how to build a blockly that counts the amount of minutes that UV has been 0.