Search found 27 matches
- Wednesday 01 April 2020 0:44
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
one other question i see that the EnergyImportLow has an higher value than EnergyImportHigh is that normal or do i have somewhere an fault in the lua script? The Low and High are only referring to the tariff. So it depends on how you spread you energy usage over the day. BTW you should look at your ...
- Tuesday 31 March 2020 15:57
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
one other question i see that the EnergyImportLow has an higher value than EnergyImportHigh is that normal or do i have somewhere an fault in the lua script? 2020-03-31 15:55:12.024 Status: LUA: ----- PowerGeneration = 469572 W 2020-03-31 15:55:12.024 Status: LUA: ----- EnergyGeneration = 303294 Wh ...
- Tuesday 31 March 2020 15:43
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
now i got this error on domoticz. 2020-03-31 10:34:00.221 Error: dzVents: Error: (3.0.1) pvOutput: An error occurred when calling event handler script_Time_Upload_to_PVoutput 2020-03-31 10:34:00.221 Error: dzVents: Error: (3.0.1) pvOutput: ...ripts/dzVents/scripts/script_Time_Upload_to_PVoutput.lua ...
- Tuesday 31 March 2020 10:36
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
this is all dzvents log i see. 2020-03-31 09:25:00.552 Status: dzVents: Info: pvOutput: ------ Start external script: script_Time_Upload_to_PVoutput.lua:, trigger: "every 5 minutes" 2020-03-31 09:25:00.564 Status: dzVents: Debug: pvOutput: P1 : 469572;303283;95006;245153;0;216 2020-03-31 09:25:00 ...
- Tuesday 31 March 2020 9:26
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
That could be possible i have also this lua script in de lua folder of my pi. To prevent confusion and potential mixup, it would be best if you deactivate these scripts during the test of this dzVents pvOutput script. That will give you a much cleaner log and simplify collecting the necessary ...
- Monday 30 March 2020 21:27
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
i have now this in my logging Don't know how you activated the script I posted but this log does not contain the lines from that script. It looks like you have some other scripts (Lua and dzVents) active that could be possible i have also this lua script in de lua folder of my pi. -- /home/pi ...
- Monday 30 March 2020 16:07
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
see images is hope this is enough info :) Sorry but I don't see the debug loglines from the dzVents script. The device info is OK. Is there a specific reason why the P1 meter is updated every second ? If not, it's probably best to change rate limit (on the hardware tab) to 10 seconds. The current ...
- Monday 30 March 2020 15:18
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
OK. Can you show the script as you have it now and show the device types and subtypes of the devices you use to get the data from in the script. offcourse here it is. I also asked for the types and subtypes of the devices you use. I need that information to help you !! Added some extra log ...
- Monday 30 March 2020 14:51
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
done that but still the same error. OK. Can you show the script as you have it now and show the device types and subtypes of the devices you use to get the data from in the script. offcourse here it is. --[[ dzVents version of pvOutput script. api-key and id stored in domoticz uservariables type ...
- Monday 30 March 2020 14:07
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
I tried that new script, it seems to be uploading, but i get still the following error :( 2020-03-30 13:40:00.270 Error: dzVents: Error: (3.0.1) pvOutput: An error occurred when calling event handler script_Time_Upload_to_PVoutput 2020-03-30 13:40:00.270 Error: dzVents: Error: (3.0.1) pvOutput ...
- Monday 30 March 2020 13:47
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
I tried that new script, it seems to be uploading, but i get still the following error :( 2020-03-30 13:40:00.270 Error: dzVents: Error: (3.0.1) pvOutput: An error occurred when calling event handler script_Time_Upload_to_PVoutput 2020-03-30 13:40:00.270 Error: dzVents: Error: (3.0.1) pvOutput ...
- Monday 30 March 2020 11:33
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
I think i have finally a working script to upload my data to pvoutput.org i only can't see the energy used and power used on pvoutput Some questions What do you see in the domoticz log What type of device (type / subtype) is 'ConsumptionDevice' You can also find another dzVents pvoutput script here ...
- Monday 30 March 2020 10:19
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
I think i have finally a working script to upload my data to pvoutput.org i only can't see the energy used and power used on pvoutput i have this sctipt in use: any one who knows how to get these 2 data also in pvoutput.org? return { active = true, logging = { --level = domoticz.LOG_DEBUG ...
- Friday 27 March 2020 15:22
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
i am now using the pvout with an dzVents script and looks to work pretty good. but i get one little error 2020-03-27 15:18:22.666 Error: dzVents: Error: (3.0.1) Eigen verbruik: An error occurred when calling event handler script_time_upload_to_PVoutput 2020-03-27 15:18:22.666 Error: dzVents: Error ...
- Thursday 26 March 2020 11:23
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
I have an other script where it is used i think. in my domomticz log i see the same error as at the other script. :( any idea? or is it also an unnecessary part of the script. No it is used in this script. The issue is reported in github but I don't know when / if it can be solved. If you cannot ...
- Thursday 26 March 2020 9:55
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
-- /home/pi/domoticz/scripts/lua/script_device_calculate_consumption.lua ---------------------------------------------------------------------------------------------------------- -- Require parameters ...
- Tuesday 24 March 2020 13:15
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
done that and now the star is at option 3 but in the domoticz log i still see this :( Can you share the script ? and what do you see when you give sudo find / -name socket.* | grep lua -- /home/pi/domoticz/scripts/lua/script_device_calculate_consumption.lua -- This script collects the values below ...
- Tuesday 24 March 2020 12:47
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
There are 3 choices for the alternative lua-interpreter (providing /usr/bin/lua). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/lua5.2 120 auto mode 1 /usr/bin/lua5.1 110 manual mode 2 /usr/bin/lua5.2 120 manual mode 3 /usr/bin/lua5.3 120 ...
- Tuesday 24 March 2020 9:35
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
lua5.3 is already the newest version (5.3.3-1.1). What do you see when you give sudo update-alternatives --config lua-interpreter than i see this: There are 3 choices for the alternative lua-interpreter (providing /usr/bin/lua). Selection Path Priority Status ...
- Monday 23 March 2020 17:13
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3435
Re: Lua version problem domoticz
my domoticz is giving a lua version problem in the logging. it looks like that domoticz want to use version 5.3 while my raspberry pi sees version 5.2 as default or so. Can you try sudo apt-get install lua5.3 liblua5.3 done that and gives thist result Reading package lists... Done Building ...