Search found 37 matches

by R0yk3
Monday 30 September 2019 15:00
Forum: LUA
Topic: Lua script for uploading energy values to PVoutput
Replies: 129
Views: 37562

Re: Lua script for uploading energy values to PVoutput

No, no solution.
i am using dsmr now
https://dsmr-reader.readthedocs.io/nl/latest/index.html

Although i prefer it via Domoticz.
by R0yk3
Monday 29 July 2019 22:33
Forum: LUA
Topic: Lua script for uploading energy values to PVoutput
Replies: 129
Views: 37562

Re: Lua script for uploading energy values to PVoutput

Hello, I used this script for ages and i am very happy about it. But now i have upgraded my solar 'plant' 8-) Now i have a 3 phase meter. For some reason i cannot get the data right. :roll: This is the error i get. 2019-08-18 15:39:41.492 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script ...
by R0yk3
Wednesday 17 January 2018 6:35
Forum: dzVents
Topic: AND function kills script
Replies: 9
Views: 1282

Re: AND function kills script

Thankyou. This helpes me learn the language.
by R0yk3
Monday 15 January 2018 23:23
Forum: dzVents
Topic: AND function kills script
Replies: 9
Views: 1282

Re: AND function kills script

Waaren, Thank you!!
by R0yk3
Monday 15 January 2018 21:20
Forum: dzVents
Topic: AND function kills script
Replies: 9
Views: 1282

Re: AND function kills script

It works perfect!!!! Thank you.
:D :D :D
by R0yk3
Sunday 14 January 2018 23:34
Forum: dzVents
Topic: AND function kills script
Replies: 9
Views: 1282

Re: AND function kills script

Thankyou, I wil try this tonight. Just for me to learn as i think i understand the script. {'at nighttime'} is a device???? and what is the difference between the red parts in the script: I use spoiler so i can use colors else if Telefoon.state == 'On' then domoticz.devices('Tuin').switchOn() elseif ...
by R0yk3
Sunday 14 January 2018 22:58
Forum: dzVents
Topic: AND function kills script
Replies: 9
Views: 1282

Re: AND function kills script

Thank You!! This works for turning the lights on.

But, i also want the lights to turn off if we leave the house.
Now i added this

Code: Select all

else 
	    domoticz.devices('Tuin').switchOff()
But now the light does turn off if only 1 phone leaves the house?
by R0yk3
Sunday 14 January 2018 21:13
Forum: dzVents
Topic: AND function kills script
Replies: 9
Views: 1282

AND function kills script

Hello, this script does not work like i want it to: return { on = { devices = { 'Telefoon_Jeanine', 'Telefoon_Roy', 'ZonOnder' }, }, execute = function(domoticz, device) if ((device.name == 'Telefoon_Jeanine' and device.state == 'On') or (device.name == 'Telefoon_Roy' and device.state == 'On') and ...
by R0yk3
Friday 22 September 2017 12:35
Forum: LUA
Topic: Weather Underground Upload script
Replies: 112
Views: 44540

Re: Weather Underground Upload script

So nobody??
Nothing changed, i am at work and it came back online?
https://www.wunderground.com/personal-w ... IROSMALE19
Not really a steady connection.
by R0yk3
Friday 22 September 2017 9:45
Forum: Other questions and discussions
Topic: Dutch Newspaper: poor security for public camera’s. Specific Domoticz-install also vulnerable!
Replies: 33
Views: 5181

Re: Dutch Newspaper: poor security for public camera’s. Specific Domoticz-install also vulnerable!

Seperate seems better. My VPN runs on my router (Fritzbox) Ah, there's an idea! I have a modem from my supplier that might hack it, and if that doesn't I can always try my own router (Netgear R9000). Thanks for the tip! I hadn't thought of that. :) I let my (ziggo) router put in Bridge modus. So my ...
by R0yk3
Thursday 21 September 2017 10:09
Forum: LUA
Topic: Weather Underground Upload script
Replies: 112
Views: 44540

Re: Weather Underground Upload script

I have a strange error, sometimes the script stops uploading ad i get this error: Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_weatherunderground.lua: .../domoticz/scripts/lua/script_time_weatherunderground.lua:29: attempt to perform arithmetic on local 'mm' (a nil value) If i do ...
by R0yk3
Thursday 24 August 2017 8:53
Forum: dzVents
Topic: My dzVents Bathroom Humidity Control script
Replies: 39
Views: 10896

Re: My dzVents Bathroom Humidity Control script

BakSeeDaa, the thought behind the question was to have less stress on the rpi. Do not run scripts when it is not necessary to run them. Less running scripts, less logging, less possible errors, les cpu stress etc. etc... Like put the scripts asleep until triggered, then run every minute until put to ...
by R0yk3
Wednesday 23 August 2017 14:21
Forum: dzVents
Topic: My dzVents Bathroom Humidity Control script
Replies: 39
Views: 10896

Re: My dzVents Bathroom Humidity Control script

Hi, The script runs every minute, but it does not have to run when you're not at home. I have 2 (dummy) switches who turn on when my wife or me is at home (phone connects to network). So would it be a improvement to only le the script to run when one or both phones are at home, or is that a total ...
by R0yk3
Wednesday 23 August 2017 8:01
Forum: LUA
Topic: Lua script for controlling humidity in the bathroom
Replies: 144
Views: 54622

Re: Lua script for controlling humidity in the bathroom

Thank You, works right out of the box!!!
by R0yk3
Thursday 10 August 2017 7:52
Forum: Blockly
Topic: Blockly script not runing
Replies: 5
Views: 2067

Re: Blockly script not runing

This was it. Thank you guys!!
by R0yk3
Wednesday 09 August 2017 8:43
Forum: Blockly
Topic: Blockly script not runing
Replies: 5
Views: 2067

Re: Blockly script not runing

StanHD, yes the event is active,

I will try it without the blue star.
I had this option because the script was longer with several if events (dimming the light at certain times) but did not work ether so i stripped it down. But i wil try this.
thank you.
by R0yk3
Tuesday 08 August 2017 17:39
Forum: Blockly
Topic: Blockly script not runing
Replies: 5
Views: 2067

Blockly script not runing

Rasp pi 3 Domoticz 3. 8258 I have this (i thougt) very simple script; https://image.prntscr.com/image/8u3pHL4STA2h8EO8XMcLpA.png https://prnt.sc/g5xcuo 3 switches, all the switches work, they go on an of as planned. I use 'zononder' (sundown) as a switch because i want it to respond 30 minutes ...
by R0yk3
Wednesday 02 August 2017 9:49
Forum: LUA
Topic: Weather Underground Upload script
Replies: 112
Views: 44540

Re: Weather Underground Upload script

backing up crontab is easy.
crontab -e
select all copy and paste it into notepad or any text editor, save it localy.
after crash restore scripts
copy paste the textfile back into crontab

even more easy is regulary make a image of your sd card.
:!: :!: but i think this is a bit off topic!! :!: :!:
by R0yk3
Wednesday 02 August 2017 9:43
Forum: General Discussion
Topic: Introduce yourself
Replies: 547
Views: 173577

Re: Introduce yourself

Well it took a while.. :lol:
[Name:] Roy Sieliakus
[Country:]Netherlands
[City:]Oeteldonk
[Occupation:]SHEQ advisor
[Hobbies:]Computers, dogs, hunting, tracking, hiking
[Choice for Domoticz:]cheap, 'easy'
[My role here?]absorbing information :D