Grazie Waaren
Grande!
Search found 7 matches
- Tuesday 08 October 2019 17:26
- Forum: dzVents
- Topic: P1 Smart Meter does not update [Solved]
- Replies: 2
- Views: 1283
- Tuesday 08 October 2019 16:21
- Forum: dzVents
- Topic: P1 Smart Meter does not update [Solved]
- Replies: 2
- Views: 1283
P1 Smart Meter does not update [Solved]
My device P1 Smart Meter with idx 73, does not update
Tanks
UpdateDev('Power',0,'12;1;0;0;300;0')
-- Contatore potenza
return {
on = {
timer = { "every 1 minutes"}
},
execute = function(dz,trigger)
local device_power = dz.devices(72).getupvalue
print(dz.devices(72).state ...
Tanks
UpdateDev('Power',0,'12;1;0;0;300;0')
-- Contatore potenza
return {
on = {
timer = { "every 1 minutes"}
},
execute = function(dz,trigger)
local device_power = dz.devices(72).getupvalue
print(dz.devices(72).state ...
- Tuesday 30 July 2019 20:41
- Forum: dzVents
- Topic: Values are not sent to influxdb [Solved]
- Replies: 57
- Views: 13255
Re: Values are not sent to influxdb [Solved]
Grazie, finalmente funziona.
Thanks, it finally works.
Thanks for everything.
Thanks, it finally works.
Thanks for everything.
- Sunday 28 July 2019 23:08
- Forum: dzVents
- Topic: Values are not sent to influxdb [Solved]
- Replies: 57
- Views: 13255
Re: Values are not sent to influxdb [Solved]
Non ci siamo ancora:
lua:20: attempt to concatenate local 'rawData' (a table value)
return {
on = {
devices = {
'PZEM'
}
},
data = { lastExecutionTime = { initial = 0 }},
execute = function(dz, item)
dz.log('Device ' .. item.name .. ' was changed ' .. item.rawData[1], dz.LOG_INFO ...
lua:20: attempt to concatenate local 'rawData' (a table value)
return {
on = {
devices = {
'PZEM'
}
},
data = { lastExecutionTime = { initial = 0 }},
execute = function(dz, item)
dz.log('Device ' .. item.name .. ' was changed ' .. item.rawData[1], dz.LOG_INFO ...
- Saturday 27 July 2019 9:57
- Forum: dzVents
- Topic: Values are not sent to influxdb [Solved]
- Replies: 57
- Views: 13255
Re: Values are not sent to influxdb [Solved]
PZEM_DzVents.lua:14: attempt to index global 'device' (a nil value)
I added line 14
Grazie
return {
on = {
devices = {
'PZEM'
}
},
data = { lastExecutionTime = { initial = 0 }},
execute = function(dz, item)
dz.log('Device ' .. item.name .. ' was changed', dz.LOG_INFO ...
I added line 14
Grazie
return {
on = {
devices = {
'PZEM'
}
},
data = { lastExecutionTime = { initial = 0 }},
execute = function(dz, item)
dz.log('Device ' .. item.name .. ' was changed', dz.LOG_INFO ...
- Friday 26 July 2019 14:30
- Forum: dzVents
- Topic: Values are not sent to influxdb [Solved]
- Replies: 57
- Views: 13255
Re: Values are not sent to influxdb [Solved]
Have patience, I'm rewriting in DzVents, but I didn't understand much ...
return {
on = {
devices = {
'PZEM'
}
},
execute = function(domoticz, device)
local Domoticz_url ='192.168.2.10'
print('1 tensione: '..device.rawData[1])
print('2 corrente: '..device.rawData[2])
print('3 potenza ...
return {
on = {
devices = {
'PZEM'
}
},
execute = function(domoticz, device)
local Domoticz_url ='192.168.2.10'
print('1 tensione: '..device.rawData[1])
print('2 corrente: '..device.rawData[2])
print('3 potenza ...
- Friday 26 July 2019 11:32
- Forum: dzVents
- Topic: Values are not sent to influxdb [Solved]
- Replies: 57
- Views: 13255
Re: Values are not sent to influxdb [Solved]
There seems to be a misunderstanding here. Your curl command pushes the data directly to the influxDB while the example from Maxx forces the update in such a way to domoticz that it will be seen by the domoticz push mechanism. From there on domoticz will handle the transfer to influxdb.
The ...