Search found 825 matches

by jvdz
Thursday 23 November 2017 23:07
Forum: General Discussion
Topic: Lua is not working anymore
Replies: 16
Views: 261

Re: Lua is not working anymore

You can't run the script from the command prompt as the eventsystem tables are missing when not shelled from the eventsystem. Just add some more debug print() statements in the script in an effort to debug the whole script. what does this script return in the logfile?: commandArray = {} --print ("D....
by jvdz
Wednesday 22 November 2017 22:45
Forum: General Discussion
Topic: Lua is not working anymore
Replies: 16
Views: 261

Re: Lua is not working anymore

So i am a bricklayer not a linux expert... ... but it seems you want to learn as you are participating in an English spoken Domoticz opensource community where one is expected to have an DIY approach. I know it is easy for me to state this as I am working all my life in IT, so sorry for that, but w...
by jvdz
Wednesday 22 November 2017 22:30
Forum: General Discussion
Topic: Lua is not working anymore
Replies: 16
Views: 261

Re: Lua is not working anymore

You could have done a simple google search to check that out. ;)
https://www.google.nl/search?q=Linux+nc ... nc+command

Jos
by jvdz
Wednesday 22 November 2017 22:17
Forum: General Discussion
Topic: Lua is not working anymore
Replies: 16
Views: 261

Re: Lua is not working anymore

Ok, so do as emme stated: run the command from the command prompt (shell) on the domoticz server to see what the result is.
by jvdz
Wednesday 22 November 2017 22:05
Forum: General Discussion
Topic: Lua is not working anymore
Replies: 16
Views: 261

Re: Lua is not working anymore

So what is shown in the domoticz log file? it should show at least the text: D.M.: IP Port check
by jvdz
Monday 20 November 2017 22:24
Forum: Bugs and Problems
Topic: Database size trebled
Replies: 4
Views: 158

Re: Database size trebled

Did you check your domoticz.log for SQL errors with the vacuum process:
Error: SQL Query("VACUUM") : database or disk is full
This could also lead to an increasing DB size.

Jos
by jvdz
Sunday 19 November 2017 18:00
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 28
Views: 1343

Re: Presence detection based on IP and Bluetooth

See here in case you have the below ssl warning: http://www.domoticz.com/forum/viewtopic ... 94#p158394
lua: error loading module 'ssl.core' from file '/usr/local/lib/lua/5.2/ssl.so':
libssl.so.1.0.0: cannot open shared object file: No such file or directory
Jos
by jvdz
Sunday 19 November 2017 10:19
Forum: Third party and supplementary tools
Topic: dtgbot - Domoticz TeleGram BOT
Replies: 264
Views: 32214

Re: dtgbot - Domoticz TeleGram BOT

Isn't this the same issue as we've seen with the latest Domoticz Beta version where we had to load this separate ssl version?
viewtopic.php?f=6&t=18932&start=40#p149295

I am not on Stretch so can't test this.

Jos
by jvdz
Sunday 19 November 2017 2:17
Forum: Bugs and Problems
Topic: No security panel
Replies: 3
Views: 143

Re: No security panel

... and did you try the second suggestion?

Jos
by jvdz
Saturday 18 November 2017 17:30
Forum: Bugs and Problems
Topic: No security panel
Replies: 3
Views: 143

Re: No security panel

You don't have a device with Type:Security SubType:"Security Panel" for the Hardware "Domoticz internal" you can enable?
Maybe you need to enable the "accept hardware devices" for a while when you have removed it.

Jos
by jvdz
Saturday 18 November 2017 13:31
Forum: Python
Topic: What is the correct way to update a selector switch
Replies: 3
Views: 149

Re: What is the correct way to update a selector switch

Thank you ! LevelOffHidden and SelectorStyle are new to me, where did you find these parameters ? I normally use developer mode in Chrome and then edit the device, in this case the Selector switch, then set the options as I wish and look at the settings as being send to Domoticz. The below options ...
by jvdz
Saturday 18 November 2017 1:45
Forum: LUA
Topic: Real-time solar data : azimuth, Altitude, Lux sensor...
Replies: 217
Views: 23935

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

I would need to see your exact script to assist.

Jos
by jvdz
Friday 17 November 2017 20:23
Forum: Python
Topic: What is the correct way to update a selector switch
Replies: 3
Views: 149

Re: What is the correct way to update a selector switch

In a plugin I am using for an Itho ventilation system I use a selector switch and use this statement in the plugin to update the selector switch: Devices[1].Update(2,nsvalue) Where nsvalue is the numeric level defined in the switch (0,10,20,30 etc) the device is created with these statements: Select...
by jvdz
Thursday 16 November 2017 23:49
Forum: Bugs and Problems
Topic: Domoticz reboots in 5-minute intervals?
Replies: 34
Views: 873

Re: Domoticz reboots in 5-minute intervals?

manjh wrote:
Thursday 16 November 2017 23:46
Foud the problem.
--
So we now know that a simple typo can cause a lot of pain...
Nice! and Yes ... it's an exact science which simply does what you tell it to do without thinking for you. ;-)

Jos
by jvdz
Thursday 16 November 2017 23:41
Forum: Bugs and Problems
Topic: Domoticz reboots in 5-minute intervals?
Replies: 34
Views: 873

Re: Domoticz reboots in 5-minute intervals?

What happens when you go onto your raspberry with Putty and perform this command from the commandline? :
curl "127.0.0.1:8080/json.htm?type=command&param=getversion"

Jos
by jvdz
Thursday 16 November 2017 23:28
Forum: Bugs and Problems
Topic: Domoticz reboots in 5-minute intervals?
Replies: 34
Views: 873

Re: Domoticz reboots in 5-minute intervals?

That could be the reason when 127.0.0.1 isn't defined in the "Local Networks (no username/password):" settings of Domoticz.

Jos
by jvdz
Thursday 16 November 2017 23:12
Forum: Bugs and Problems
Topic: Domoticz reboots in 5-minute intervals?
Replies: 34
Views: 873

Re: Domoticz reboots in 5-minute intervals?

That indeed shows that action to restart domoticz is performed due to the failing getting that shown url.
You probably have lots of these in that log file?

Jos
by jvdz
Thursday 16 November 2017 22:40
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 262
Views: 33831

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

The content is described in the WiKi: https://www.domoticz.com/wiki/Domoticz_ ... L%27s#Rain

Jos
by jvdz
Thursday 16 November 2017 22:04
Forum: Bugs and Problems
Topic: Domoticz reboots in 5-minute intervals?
Replies: 34
Views: 873

Re: Domoticz reboots in 5-minute intervals?

Did you check /var/log/monit.log that would indeed indicate these reboots?

Jos
by jvdz
Sunday 12 November 2017 15:10
Forum: LUA
Topic: how can I run a command from a variable?
Replies: 12
Views: 302

Re: how can I run a command from a variable?

I've done the same by doing it this way: function ChangeSwitch(DeviceName, Command) local dstatus = otherdevices[DeviceName] local dvalue = otherdevices_svalues[DeviceName] print("!### ChangeSwitch DeviceName:" ..DeviceName .." Command:" .. Command .. " (" .. ScriptName .. ")") print(" Current statu...