Search found 12 matches
- Sunday 21 January 2018 23:46
- Forum: dzVents
- Topic: Lua to dzVents
- Replies: 2
- Views: 560
Re: Lua to dzVents
oke thanks
- Sunday 21 January 2018 22:47
- Forum: dzVents
- Topic: Lua to dzVents
- Replies: 2
- Views: 560
Lua to dzVents
I have for some days trying to convert my Lua script to a dzVents script which I use sent my live power to a ESP with a LCD.
Have been trying to run the script every 5 seconds.
return {
active = true,
on = {
timer = {'every 5 seconds'},
devices = {'Power'},
},
execute = function(dz ...
Have been trying to run the script every 5 seconds.
return {
active = true,
on = {
timer = {'every 5 seconds'},
devices = {'Power'},
},
execute = function(dz ...
- Tuesday 09 January 2018 14:55
- Forum: LUA
- Topic: Lua script is stop working
- Replies: 4
- Views: 1455
Re: Lua script is stop working
Thanks again
This is great.
I try to now convert a other script to dvVent.
When i have problems i write.
This is great.
I try to now convert a other script to dvVent.
When i have problems i write.
- Tuesday 09 January 2018 9:06
- Forum: LUA
- Topic: Lua script is stop working
- Replies: 4
- Views: 1455
Re: Lua script is stop working
Thanks it is working.
But there is in the log:
2018-01-09 08:54:02.282 Error: dzVents: Error: ...oticz/scripts/dzVents/../../dzVents/runtime/Domoticz.lua:243: attempt to perform arithmetic on local 'x' (a table value)
I have to read me in dzVents.
But there is in the log:
2018-01-09 08:54:02.282 Error: dzVents: Error: ...oticz/scripts/dzVents/../../dzVents/runtime/Domoticz.lua:243: attempt to perform arithmetic on local 'x' (a table value)
I have to read me in dzVents.
- Monday 08 January 2018 22:36
- Forum: LUA
- Topic: Lua script is stop working
- Replies: 4
- Views: 1455
Lua script is stop working
Ihave a script ,inside Domoticz, that is ,after update Linux and update domoticz to last beta, not working anymore.
[/--script_device_deltaT.lua
--This script subtracts two sensors (aanvoer_dv and retour_dv) from eachother and puts the calculated value in a new sensor (to be configured with ...
[/--script_device_deltaT.lua
--This script subtracts two sensors (aanvoer_dv and retour_dv) from eachother and puts the calculated value in a new sensor (to be configured with ...
- Wednesday 27 December 2017 20:29
- Forum: LUA
- Topic: split string power
- Replies: 5
- Views: 1597
Re: split string power
Thanks this works.
- Wednesday 27 December 2017 20:18
- Forum: ESP8266
- Topic: Sending powerreading to ESP
- Replies: 3
- Views: 1587
Re: Sending powerreading to ESP
I have now:
[--
commandArray = {}
DomDevice = 'Power';
IP = '192.168.0.53';
-- if devicechanged[DomDevice] then
DomValue = otherdevices_svalues[DomDevice];
print(DomValue)
-- print(string.sub(DomValue, string.find(DomValue, ;)))
-- end
runcommand = "curl http://" .. IP .. "/control?cmd=LCD ...
[--
commandArray = {}
DomDevice = 'Power';
IP = '192.168.0.53';
-- if devicechanged[DomDevice] then
DomValue = otherdevices_svalues[DomDevice];
print(DomValue)
-- print(string.sub(DomValue, string.find(DomValue, ;)))
-- end
runcommand = "curl http://" .. IP .. "/control?cmd=LCD ...
- Wednesday 27 December 2017 20:09
- Forum: LUA
- Topic: split string power
- Replies: 5
- Views: 1597
split string power
I have a string with hold the data of my smartmeter. I need the 5e element. How do i separete that element.
1508914;1483046;446236;1202730;3018;0
Thanks
1508914;1483046;446236;1202730;3018;0
Thanks
- Tuesday 26 December 2017 20:01
- Forum: ESP8266
- Topic: Sending powerreading to ESP
- Replies: 3
- Views: 1587
Re: Sending powerreading to ESP
Thanks i have read that. But now how to do?
- Tuesday 26 December 2017 0:54
- Forum: ESP8266
- Topic: Sending powerreading to ESP
- Replies: 3
- Views: 1587
Sending powerreading to ESP
I want the power reading in my raspberry sent to a ESP8266 with a display2004 to display my powerconsumption.
Is this possible ?
Is this possible ?
- Tuesday 18 April 2017 23:05
- Forum: Others
- Topic: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
- Replies: 325
- Views: 109740
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
On RPI 2 with Wheezy i have a problem in the wiki
Python-to-bluetooth
Next, Install Python3 and the required Python3 libraries that let Python script talk to Bluetooth.
sudo aptitude install python3
sudo aptitude install python3-pip
sudo pip3 install pygatt
sudo pip3 install requests
the ...
Python-to-bluetooth
Next, Install Python3 and the required Python3 libraries that let Python script talk to Bluetooth.
sudo aptitude install python3
sudo aptitude install python3-pip
sudo pip3 install pygatt
sudo pip3 install requests
the ...
- Tuesday 18 April 2017 22:04
- Forum: Others
- Topic: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
- Replies: 325
- Views: 109740
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
On RPI 2 with Wheezy i have a problem in the wiki
Python-to-bluetooth
Next, Install Python3 and the required Python3 libraries that let Python script talk to Bluetooth.
sudo aptitude install python3
sudo aptitude install python3-pip
sudo pip3 install pygatt
sudo pip3 install requests
the ...
Python-to-bluetooth
Next, Install Python3 and the required Python3 libraries that let Python script talk to Bluetooth.
sudo aptitude install python3
sudo aptitude install python3-pip
sudo pip3 install pygatt
sudo pip3 install requests
the ...