Search found 12 matches
- Wednesday 25 March 2020 16:05
- Forum: dzVents
- Topic: Update of Lua to version 5.3 in domoticz V4.11439. with potential effects on Lua and dzVents scripts
- Replies: 20
- Views: 3755
Re: Update of Lua to version 5.3 in domoticz V4.11439. with potential effects on Lua and dzVents scripts
I am using lua script now and want to use this script in dzVents. Never did that. I have solar power in a device coming in how can I change the script so that this also uploaded? And were exactly do I have to store the api and password? When not yet familiar with dzVents please start with reading ...
- Wednesday 25 March 2020 13:12
- Forum: dzVents
- Topic: Update of Lua to version 5.3 in domoticz V4.11439. with potential effects on Lua and dzVents scripts
- Replies: 20
- Views: 3755
Re: Update of Lua to version 5.3 in domoticz V4.11439. with potential effects on Lua and dzVents scripts
Is a http request to upload my P1-meter output to pvoutput.org I only need b as a return value, which should be "OK 200: Added Status" from pvoutput.org Maybe this example can already put you on the right track. I use this script to send my energy data to pvoutput every 5 minutes. I stored my user ...
- Wednesday 25 March 2020 11:54
- Forum: dzVents
- Topic: Update of Lua to version 5.3 in domoticz V4.11439. with potential effects on Lua and dzVents scripts
- Replies: 20
- Views: 3755
- Wednesday 25 March 2020 11:45
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3747
Re: Lua version problem domoticz
I skipped the ---local http = require("socket.http") line and I thought it was working now. I did not get the error of the socket But I have this error now: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_upload_to_PVoutput.lua: .../domoticz/scripts/lua/script_time_upload_to_PVoutput.lua ...
- Wednesday 25 March 2020 11:40
- Forum: LUA
- Topic: Lua script for uploading energy values to PVoutput
- Replies: 129
- Views: 40313
Re: Lua script for uploading energy values to PVoutput
Hi, I upgraded my rpi with domomoticz to buster (new version debian) and new version of domoticz. Now this does not work anymore: local http = require("socket.http") I am using the pvoutput upload script which was functioning great but now I have errors that it cannot find the socket a.s.o. Can ...
- Wednesday 25 March 2020 9:12
- Forum: LUA
- Topic: lua socket require socket.http and socket.core problem and solution
- Replies: 7
- Views: 9829
Re: lua socket require socket.http and socket.core problem and solution
I have the same problem after updating to buster. How can I use your solution?
- Tuesday 24 March 2020 19:06
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3747
Re: Lua version problem domoticz
I skipped the ---local http = require("socket.http") line and I thought it was working now. I did not get the error of the socket But I have this error now: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_upload_to_PVoutput.lua: .../domoticz/scripts/lua/script_time_upload_to_PVoutput.lua ...
- Tuesday 24 March 2020 18:41
- Forum: LUA
- Topic: Lua version problem domoticz
- Replies: 42
- Views: 3747
Re: Lua version problem domoticz
I have the same problem and error messages after upgrading to the new version.
I have:
-- Require parameters
----------------------------------------------------------------------------------------------------------
local http = require("socket.http")
I have:
-- Require parameters
----------------------------------------------------------------------------------------------------------
local http = require("socket.http")
- Thursday 26 October 2017 18:10
- Forum: Python
- Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
- Replies: 231
- Views: 89187
- Friday 20 October 2017 8:38
- Forum: Python
- Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
- Replies: 231
- Views: 89187
Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Oké. Thx! How do the scripts know which version to use?
- Thursday 19 October 2017 19:45
- Forum: Python
- Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
- Replies: 231
- Views: 89187
Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Installed the scripts, but got errors on both files. I use solarmanportal stationid.py gives this error: File "/home/pi/domoticz/scripts/stationid.py", line 4, in <module> from urllib.request import urlopen ImportError: No module named request Solarman.py gives: File "/home/pi/domoticz/scripts ...
- Thursday 19 October 2017 14:29
- Forum: Python
- Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
- Replies: 231
- Views: 89187
Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Installed the scripts, but got errors on both files. I use solarmanportal stationid.py gives this error: File "/home/pi/domoticz/scripts/stationid.py", line 4, in <module> from urllib.request import urlopen ImportError: No module named request Solarman.py gives: File "/home/pi/domoticz/scripts ...