Search found 16 matches

by TinusExcentricus
Tuesday 28 March 2023 11:52
Forum: Bash / PowerShell / Batch etc.
Topic: Disable EventSystem via SSH
Replies: 2
Views: 1506

Re: Disable EventSystem via SSH

Renaming the Domoticz/scripts fold should do the trick as domoticz will copy the scripts from database to a script subfolder on startup. No scripts folder will prevent the copy. Thank you! Already tried that. Didn't work in this scenario. In the meantime I have reinstalled on another system, using ...
by TinusExcentricus
Monday 27 March 2023 21:56
Forum: Bash / PowerShell / Batch etc.
Topic: Disable EventSystem via SSH
Replies: 2
Views: 1506

Disable EventSystem via SSH

Is there a way to disable the EventSystem (Lua/Blockly/Scripts) via commandline/SSH? After saving a lua automation script in the web interface (Setup > Events), I cannot access the web interface anymore. I'm guessing something in the last script is causing this. As I understand, these scripts are ...
by TinusExcentricus
Friday 24 March 2023 12:59
Forum: Blockly
Topic: Blockly script doing nothing
Replies: 1
Views: 1516

Re: Blockly script doing nothing

Simple test script to write CO2 value directly to log shows that it's empty.
All other values of the sensor do come throug. See images.
by TinusExcentricus
Friday 24 March 2023 11:27
Forum: Blockly
Topic: Blockly script doing nothing
Replies: 1
Views: 1516

Blockly script doing nothing

Trying to control ventilation via a dimmer (device WTW) based on CO2 values (device MS1 CO2). The blockly script gets triggered every minute according to log, but nothing seems to be executed. Global user variables (WTWspeed & WTWtarget) are not updated, nothing is written to log, devices doesn't ...
by TinusExcentricus
Wednesday 16 November 2016 16:42
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

Indeed, both url's seem to work. Sorry for letting out the & in my url example. This wasn't the problem for the errors in my logs though, the & is there in the script. But not every polling succeeds. 20 minutes ago (16:20) it failed. The script polls every 5 minutes in my case. I'm not sure which ...
by TinusExcentricus
Wednesday 16 November 2016 12:36
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

Looking at the logs it looks like url http://gadgets.buienradar.nl/data/raint ... 12lon=5.19 - even with only 2 decimals - doesn't seem to work at every polling. In other words; it's pretty unstable of late.
by TinusExcentricus
Sunday 13 November 2016 17:27
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

Reducing lat en lon variables to 2 decimals works for me now. Server must have been down earlier or something. So this part of the code does the trick now: -- config --------------------------------------------------------- lat='1.12' -- lat/lon of your location lon='1.12' url='http://gadgets ...
by TinusExcentricus
Sunday 13 November 2016 12:24
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

The buienradar gadgets-url doesn't seem to work anymore.
by TinusExcentricus
Sunday 13 November 2016 12:18
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

Reducing lat/lon coordinates to 2 decimals doesn't work for me.
by TinusExcentricus
Saturday 12 November 2016 18:01
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

Yep, same here. URL with arguments is working in browser, but Domoticz log sais:
Error: EventSystem: ~/domoticz/scripts/lua/script_time_rain.lua:93: attempt to compare number with nil
by TinusExcentricus
Sunday 11 September 2016 9:06
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

Ah, so sorry Jos! Thanks for your swift reply.
I checked the old url from my script by copying into my webbrowser, but didn't notice it was automatically redirected/rewritten there to a new subdomain. Working perfectly again.
by TinusExcentricus
Sunday 11 September 2016 8:26
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

My script doesn't seem to work anymore. I'm not aware of any changes I've made. Things go wrong because variable rain seems to have a value of -nan . Any clues anyone? Cheers, Tinus 2016-09-11 08:20:00.297 LUA: interval_min: 1 2016-09-11 08:20:00.297 LUA: minutes: 5 2016-09-11 08:20:00.297 LUA ...
by TinusExcentricus
Wednesday 07 September 2016 19:55
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Start at boot after upgrade to Ubuntu server 16.04
Replies: 2
Views: 2186

Start at boot after upgrade to Ubuntu server 16.04

After upgrading my Ubuntu Server from 14.04 to 16.04, domoticz does not auto start at boot anymore. The last line of these instructions on https://www.domoticz.com/wiki/Linux do not apply anymore, due to the conversion of systemd to upstart. cd domoticz sudo cp domoticz.sh /etc/init.d sudo chmod +x ...
by TinusExcentricus
Thursday 30 June 2016 11:54
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 81051

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

I've added a little tweak in the last part. Maybe someone can use it. I'm recalculation the rain number to a value in mm per hour for easy setting and comparison. In this script I'm switching off my canopy, only if it's on and if rain expectancy is above the threshold set in the variables minutes ...
by TinusExcentricus
Friday 16 October 2015 19:31
Forum: Rfxcom Transceiver
Topic: There is Somfy in the air!!
Replies: 171
Views: 98693

Re: There is Somfy in the air!!

Solved! I removed every unit from Domoticz and reprogrammed every single one of them while pulling electricity from all other motors. Settings: Rolling shutters (Somfy Telis 4 RTS): ID 01 00 01 - Unit code 1 ID 01 00 02 - Unit code 1 Canopy (Somfy Smoove Origin RTS): ID 02 00 01 - Unit code 2 I do ...
by TinusExcentricus
Friday 16 October 2015 16:24
Forum: Rfxcom Transceiver
Topic: There is Somfy in the air!!
Replies: 171
Views: 98693

Re: There is Somfy in the air!!

I'm running Domoticz v2.3350 on Ubuntu Server and have the RFXCOM-E Transceiver 433.92 Mhz with RFY connected through USB. I succesfully added two Somfy rolling shutters in Domoticz with the small program button on the back of the Somfy Telis 4 RTS : ID 01 00 01 - Unit code 1 ID 01 00 02 - Unit code ...