How to enable logging

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

How to enable logging

Post by DomoticaRob »

I use Domoticz V3.8153 and can make dzVents scripts. Unfortunately I have no logging. The dzVents Wiki says that I can enable logging in the settings:

Tutorial_dzVents_Settings.png
Tutorial_dzVents_Settings.png (55.57 KiB) Viewed 3335 times

In my settings there is not such an option.

Overige_instellingen.png
Overige_instellingen.png (76.37 KiB) Viewed 3335 times

In the normal lua I could use print().

How can I get it?
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: How to enable logging

Post by dannybloe »

There should be more on the settings page than I see in your screenshot. There should be dzVents settings at the bottom. I suggest to upgrade your Domoticz, preferably to the latest beta version.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: How to enable logging

Post by DomoticaRob »

Hello Danny,

No, this is all there is.

I did an ./updatebeta:
updatebeta.png
updatebeta.png (16.91 KiB) Viewed 3307 times
As you can see, it ends with an error and Domoticz doesn't work any more.

So after that I did an ./updaterelease:
updaterelease.png
updaterelease.png (14.02 KiB) Viewed 3307 times
As you can see, it ends fine and Domoticz works again, but still without dzVents in the settings. In the Domoticz lua-editor I can make dzVents scripts, but still without logging.
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: How to enable logging

Post by DewGew »

Maybe you already fixed it but you have to clear cache after upgrade also.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: How to enable logging

Post by DomoticaRob »

For me, the logging is not yet fixed. In my case was clearing the cache not the solution. As you can see I can't install the Beta version. For now I have dzVents in the Release version without 'logging'. I use the 'print' statement to log. For now that is ok and I'll wait till the next Release version.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest