it works
thanks Jos
greetings from eindhoven
Search found 14 matches
- Sunday 09 February 2020 23:31
- Forum: dzVents
- Topic: os.execute mqtt commands [Solved]
- Replies: 2
- Views: 1018
- Sunday 09 February 2020 22:31
- Forum: dzVents
- Topic: os.execute mqtt commands [Solved]
- Replies: 2
- Views: 1018
os.execute mqtt commands [Solved]
I want send commands to my mqtt server with dzvents
I think i have an error with quotes
execute = function(domoticz, device)
domoticz.log(device.state)
if (device.state =='On') then
os.execute('mosquitto_pub -h 127.0.0.1 -t milight/0x40/cct/0 -u mqtt -P mqtt -m {"status":"on ...
I think i have an error with quotes
execute = function(domoticz, device)
domoticz.log(device.state)
if (device.state =='On') then
os.execute('mosquitto_pub -h 127.0.0.1 -t milight/0x40/cct/0 -u mqtt -P mqtt -m {"status":"on ...
- Wednesday 29 January 2020 1:23
- Forum: dzVents
- Topic: beginner question
- Replies: 4
- Views: 437
beginner question
I started with dzvents since 2 days.
I want to switch a device with 'between 00:47 and 00:48',
this is of course an example
return {
on = {
timer = {
'between 00:47 and 00:48' ,
},
},
execute = function(domoticz, timer)
domoticz.devices('Printer voorkamer') .switchOn()
end
}
the ...
I want to switch a device with 'between 00:47 and 00:48',
this is of course an example
return {
on = {
timer = {
'between 00:47 and 00:48' ,
},
},
execute = function(domoticz, timer)
domoticz.devices('Printer voorkamer') .switchOn()
end
}
the ...
- Monday 06 January 2020 23:41
- Forum: Dashticz
- Topic: Dashticz - General Discussions
- Replies: 3672
- Views: 612873
Re: place on multiple screens stationclock
I cannot put a stationclock on more than 1 screen
on the first screens the clock is shown but on the next screens i cannot see the stationclock
If i take a normal clock it see the clock on every screen
exactly the same problem with graphs on multiple screens
i have updated to beta 3.30
the ...
- Sunday 05 January 2020 2:28
- Forum: Dashticz
- Topic: Dashticz - General Discussions
- Replies: 3672
- Views: 612873
Re: Dashticz - General Discussions
dashticz v3.1.2 master
domoticz 4.11590
I have install dasticz install few days ago with installer
V3
domoticz 4.11590
I have install dasticz install few days ago with installer
V3
- Saturday 04 January 2020 15:55
- Forum: Dashticz
- Topic: Dashticz - General Discussions
- Replies: 3672
- Views: 612873
place on multiple screens stationclock
I cannot put a stationclock on more than 1 screen
on the first screens the clock is shown but on the next screens i cannot see the stationclock
If i take a normal clock it see the clock on every screen
exactly the same problem with graphs on multiple screens
i have updated to beta 3.30
the ...
on the first screens the clock is shown but on the next screens i cannot see the stationclock
If i take a normal clock it see the clock on every screen
exactly the same problem with graphs on multiple screens
i have updated to beta 3.30
the ...
- Sunday 24 November 2019 23:54
- Forum: Python
- Topic: New plugin : ESP8266 Milight Hub
- Replies: 49
- Views: 13212
Re: New plugin : ESP8266 Milight Hub
I have installed the plugin by github
I restart domoticz but I cannot see the plugin in domoticz
what do I Wrong ?
I restart domoticz but I cannot see the plugin in domoticz
what do I Wrong ?
- Sunday 29 October 2017 16:41
- Forum: LUA
- Topic: I will send text from domoticz to a lcd2004 on an espeasy board
- Replies: 3
- Views: 2500
I will send text from domoticz to a lcd2004 on an espeasy board
I will send text from domoticz to a lcd2004 on an espeasy board
commandArray = {}
commandArray['OpenURL'] = '192.168.0.144/control?cmd=lcd,3,1,ditiseentest'
print ('test ')
return commandArray
it works but in the logfile i see
2017-10-28 19:03:30.280 Error: Error opening url: 192.168.0.144 ...
commandArray = {}
commandArray['OpenURL'] = '192.168.0.144/control?cmd=lcd,3,1,ditiseentest'
print ('test ')
return commandArray
it works but in the logfile i see
2017-10-28 19:03:30.280 Error: Error opening url: 192.168.0.144 ...
- Monday 16 October 2017 2:15
- Forum: Utility
- Topic: Strange Data P1 Readings.
- Replies: 32
- Views: 11622
Re: Strange Data P1 Readings.
did you try ?
baudrate 115200
data bits 8
no parity
stopbits 1
baudrate 115200
data bits 8
no parity
stopbits 1
- Sunday 03 September 2017 1:13
- Forum: LUA
- Topic: show variable on lcd display
- Replies: 2
- Views: 1378
Re: show variable on lcd display
thanks it works now
function Ismaandnaam()
local monthNow = tonumber(os.date("%m"))
local maandnaam
if (monthNow == 1) then maandnaam = "jan"
elseif (monthNow == 2) then maandnaam = "febr"
elseif (monthNow == 3) then maandnaam = "maart"
elseif (monthNow == 4) then maandnaam = "apr"
elseif ...
function Ismaandnaam()
local monthNow = tonumber(os.date("%m"))
local maandnaam
if (monthNow == 1) then maandnaam = "jan"
elseif (monthNow == 2) then maandnaam = "febr"
elseif (monthNow == 3) then maandnaam = "maart"
elseif (monthNow == 4) then maandnaam = "apr"
elseif ...
- Saturday 02 September 2017 22:32
- Forum: LUA
- Topic: show variable on lcd display
- Replies: 2
- Views: 1378
show variable on lcd display
I want to show variable on lcd display
it doesn't work
I think this is a syntax problem
I have look on several forum but i can't find a solution.
who can help me ?
IP_WOONKAMER = "http://192.168.0.144/control?cmd="
function Isdagnaam()
local dayNow = tonumber(os.date("%w"))
local dagnaam
if ...
it doesn't work
I think this is a syntax problem
I have look on several forum but i can't find a solution.
who can help me ?
IP_WOONKAMER = "http://192.168.0.144/control?cmd="
function Isdagnaam()
local dayNow = tonumber(os.date("%w"))
local dagnaam
if ...
- Sunday 25 June 2017 0:17
- Forum: LUA
- Topic: error Log after show text Oled display
- Replies: 3
- Views: 1121
Re: error Log after show text Oled display
When I put the URl into my browser the text goes on display and No error into the log
When into the lua script I see an errot in my log
2017-06-25 00:15:12.905 (GPIO poorten) Lighting 1 (Trap Groen)
2017-06-25 00:15:13.299 Error: Error opening url: http://192.168.0.146/control?cmd=oled,1,1,%20 ...
When into the lua script I see an errot in my log
2017-06-25 00:15:12.905 (GPIO poorten) Lighting 1 (Trap Groen)
2017-06-25 00:15:13.299 Error: Error opening url: http://192.168.0.146/control?cmd=oled,1,1,%20 ...
- Friday 23 June 2017 1:10
- Forum: LUA
- Topic: error Log after show text Oled display
- Replies: 3
- Views: 1121
error Log after show text Oled display
I have make a lua script
commandArray = {}
if (devicechanged['Trap Groen'] == 'On') then
commandArray['SendNotification']='Trapverlichting#Trap verlichtig Groen aan '
commandArray['OpenURL']='http://192.168.0.146/control?cmd=oled,3,1,Trap%20groen%20aan%20'
end
if (devicechanged['Trap Groen ...
commandArray = {}
if (devicechanged['Trap Groen'] == 'On') then
commandArray['SendNotification']='Trapverlichting#Trap verlichtig Groen aan '
commandArray['OpenURL']='http://192.168.0.146/control?cmd=oled,3,1,Trap%20groen%20aan%20'
end
if (devicechanged['Trap Groen ...
- Monday 29 May 2017 16:00
- Forum: LUA
- Topic: display / use useraccount
- Replies: 0
- Views: 569
display / use useraccount
I want show and use the users (useraccount name) in a LUA script
2017-05-29 15:59:02.936 2017-05-29 15:59:02.936 User: ad initiated a switch command (10/Trap Blauw/On)
2017-05-29 15:59:02.937 (GPIO poorten) Lighting 1 (Trap Blauw)
in this log User Ad
has anyone an example
thanks in advance ...
2017-05-29 15:59:02.936 2017-05-29 15:59:02.936 User: ad initiated a switch command (10/Trap Blauw/On)
2017-05-29 15:59:02.937 (GPIO poorten) Lighting 1 (Trap Blauw)
in this log User Ad
has anyone an example
thanks in advance ...