Search found 12 matches

by jandoedel99
Sunday 21 January 2018 23:46
Forum: dzVents
Topic: Lua to dzVents
Replies: 2
Views: 541

Re: Lua to dzVents

oke thanks
by jandoedel99
Sunday 21 January 2018 22:47
Forum: dzVents
Topic: Lua to dzVents
Replies: 2
Views: 541

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, livepower) local ...
by jandoedel99
Tuesday 09 January 2018 14:55
Forum: LUA
Topic: Lua script is stop working
Replies: 4
Views: 1423

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.
by jandoedel99
Tuesday 09 January 2018 9:06
Forum: LUA
Topic: Lua script is stop working
Replies: 4
Views: 1423

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.
by jandoedel99
Monday 08 January 2018 22:36
Forum: LUA
Topic: Lua script is stop working
Replies: 4
Views: 1423

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 'deltat ...
by jandoedel99
Wednesday 27 December 2017 20:29
Forum: LUA
Topic: split string power
Replies: 5
Views: 1500

Re: split string power

Thanks this works.
by jandoedel99
Wednesday 27 December 2017 20:18
Forum: ESP8266
Topic: Sending powerreading to ESP
Replies: 3
Views: 1551

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,1,1 ...
by jandoedel99
Wednesday 27 December 2017 20:09
Forum: LUA
Topic: split string power
Replies: 5
Views: 1500

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
by jandoedel99
Tuesday 26 December 2017 20:01
Forum: ESP8266
Topic: Sending powerreading to ESP
Replies: 3
Views: 1551

Re: Sending powerreading to ESP

Thanks i have read that. But now how to do?
by jandoedel99
Tuesday 26 December 2017 0:54
Forum: ESP8266
Topic: Sending powerreading to ESP
Replies: 3
Views: 1551

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 ?
by jandoedel99
Tuesday 18 April 2017 23:05
Forum: Others
Topic: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Replies: 325
Views: 107327

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 first 2 ...
by jandoedel99
Tuesday 18 April 2017 22:04
Forum: Others
Topic: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Replies: 325
Views: 107327

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 first 2 ...