Search found 45 matches

by deve87
Saturday 10 June 2023 11:14
Forum: Zigbee
Topic: Zigate - Aqara Smart Plug power measurement problem
Replies: 15
Views: 2068

Re: Zigate - Aqara Smart Plug power measurement problem

Will do

Thank you
by deve87
Wednesday 07 June 2023 22:19
Forum: Zigbee
Topic: Zigate - Aqara Smart Plug power measurement problem
Replies: 15
Views: 2068

Zigate - Aqara Smart Plug power measurement problem

Hi. Domoticz: 2023.1 (build 15255) Zigate USB firmware: 3.23 Zigate plugin: 4.11.017 After paring, I got 3 devices: - Light/Switch - Power - Power with kWh Power do not update until enabling "pollingLumiPower" in plugin. kWh is OK, but power is one decimal off. Domoticz device: 6573W actual 657,3W
by deve87
Monday 08 July 2019 20:07
Forum: Others
Topic: enOcean - Eltako dimmer problem
Replies: 0
Views: 780

enOcean - Eltako dimmer problem

Raspberry PI - enOcean USB 300
Dimming actuator - Eltako FUD61NPN

After pairing according to:

https://www.domoticz.com/wiki/EnOcean#A ... .2FDimmers

Nothing happens.
When I set dimming actuator in LRN, it reacts to test signal from Domoticz when pairing.

If I pair as switch. It works.
by deve87
Monday 08 July 2019 8:19
Forum: Others
Topic: xComfort MQTT - problems
Replies: 1
Views: 1214

Re: xComfort MQTT - problems

I notised something after I programmed a xComfort switch to ckoz0014 via Eaton MRF. When I started ./xcomfortd -v I get MQTT Connected, Connection Accepted. When I send ex: mosquitto_pub -h localhost -m 'true' -t 'xcomfort/1/set/switch' Switch actuator goes on and verbose shows: setting DP 1 to 1 ...
by deve87
Tuesday 02 July 2019 18:56
Forum: Others
Topic: xComfort MQTT - problems
Replies: 1
Views: 1214

xComfort MQTT - problems

Raspberry PI I'm trying to make this code work https://github.com/karloygard/xcomfortd When I run xcomfortd -v after I make. Program will connect successfully to mosquitto broker. But if I tried to run an On command to one of my switch actuators. Mosquitto will disconnect xcomfortd and I get. "MQTT ...
by deve87
Sunday 09 June 2019 18:42
Forum: LUA
Topic: Execute same switch On / On AFTER xx
Replies: 6
Views: 1115

Re: Execute same switch On / On AFTER xx

I figur it out. I had a second scripts setting the device to Off if it becomes On. If I disabled that, it works.
by deve87
Sunday 09 June 2019 18:10
Forum: LUA
Topic: Execute same switch On / On AFTER xx
Replies: 6
Views: 1115

Re: Execute same switch On / On AFTER xx

Ok. It don't work. Only triggers one line commandArray = {} if uservariables['Multimedia'] == 0 and otherdevices['Se På Data'] == 'On' then commandArray[#commandArray + 1] = {['TV Source'] = 'On AFTER 1 SECONDS' } commandArray[#commandArray + 1] = {['TV Source'] = 'On AFTER 3 SECONDS' } end if ...
by deve87
Sunday 09 June 2019 16:45
Forum: LUA
Topic: Execute same switch On / On AFTER xx
Replies: 6
Views: 1115

Re: Execute same switch On / On AFTER xx

I haven't actually tried with SECONDS behind. Shall trie that and post back
by deve87
Sunday 09 June 2019 16:05
Forum: LUA
Topic: Execute same switch On / On AFTER xx
Replies: 6
Views: 1115

Re: Execute same switch On / On AFTER xx

Yes also tried that. Same result :cry:
by deve87
Sunday 09 June 2019 15:08
Forum: LUA
Topic: Execute same switch On / On AFTER xx
Replies: 6
Views: 1115

Execute same switch On / On AFTER xx

I want to run

Code: Select all

commandArray['Door bell'] = 'On AFTER 5'
commandArray['Door bell'] = 'On AFTER 7'
If I try

Code: Select all

commandArray[1]={['Door bell'] = 'On AFTER 5'}
commandArray[2]={['Door bell'] = 'On AFTER 7'}
It only execute the first [1] line

How can I do this?
by deve87
Tuesday 23 April 2019 20:46
Forum: Bash / PowerShell / Batch etc.
Topic: Data output from telnet/nc into Domoticz
Replies: 5
Views: 1786

Re: Data output from telnet/nc into Domoticz

Thank you :) Will try
by deve87
Tuesday 23 April 2019 9:15
Forum: Bash / PowerShell / Batch etc.
Topic: Data output from telnet/nc into Domoticz
Replies: 5
Views: 1786

Re: Data output from telnet/nc into Domoticz

Thanks :D It works.

If I do multiple changes from amp, I get many lines in one json.
How can I make it send one line at a time?

Possible to make it stay connected and send when amp sends without it disconnected every 5 sec?
by deve87
Monday 22 April 2019 21:49
Forum: LUA
Topic: Read / Write HEX (RS232 TCP-server)
Replies: 5
Views: 2555

Re: Read / Write HEX (RS232 TCP-server)

Thanks for replying.

I don't have enough skills to make a python plugin :|

I was hoping someone knew a simple way to get this telnet session in Domoticz (text device)
by deve87
Monday 22 April 2019 21:40
Forum: LUA
Topic: Capture Shell Command Output in Lua script
Replies: 9
Views: 8820

Re: Capture Shell Command Output in Lua script

I actually have the same question as you. I'm not any good in scripting. And was hoping someone know how to help with your/my question. I got a script with io.popen work, but after like 2min. Domoticz lags bad and got error in log that 'Script has been running for more than 10sec' I want to get a ...
by deve87
Tuesday 16 April 2019 21:58
Forum: Python
Topic: Python Plugin: Domoticz-Google-Plugin
Replies: 132
Views: 33610

Re: Python Plugin: Domoticz-Google-Plugin

I can't get my notifications working. The Home mini activates when notifications is send, adjusting volume and plays a short announce melody, that's all. No text. I use commandArray['Google - Spiller'] = "SendNotification God morgen" After 60 sec. I got Error: (Google høytaler) Notification sent to ...
by deve87
Tuesday 02 April 2019 20:17
Forum: LUA
Topic: Virtual Thermostat
Replies: 1
Views: 752

Re: Virtual Thermostat

Found the problem. When I use otherdevices. I cant use . (dot) So when I changed otherdevices['Varmeovn WC 1.etg'] to otherdevices['Varmeovn WC 1etg'] Script executes Setpoint = tonumber(otherdevices_svalues ['WC 1etg']) -- Dummy Setpoint device Temp = tonumber(otherdevices_svalues ['WC 1.etg ...
by deve87
Tuesday 02 April 2019 19:21
Forum: LUA
Topic: Virtual Thermostat
Replies: 1
Views: 752

Virtual Thermostat

Trying to make this work. When I have otherdevices['Varmeovn WC 1.etg'] == 'On' / 'Off'. Script won't execute. Setpoint = tonumber(otherdevices_svalues ['WC 1.etg']) Temp = tonumber(otherdevices_svalues ['WC 1 etg']) Hysteresis = 0.5 commandArray = {} if (devicechanged['WC 1.etg'] or devicechanged ...
by deve87
Monday 25 March 2019 22:42
Forum: Bash / PowerShell / Batch etc.
Topic: Error running script. returned: 32512
Replies: 3
Views: 5415

Re: Error running script. returned: 32512

Found the problem

Forgot / after #! in #!/bin/bash
by deve87
Monday 25 March 2019 22:26
Forum: Bash / PowerShell / Batch etc.
Topic: Error running script. returned: 32512
Replies: 3
Views: 5415

Re: Error running script. returned: 32512

Thanks for replying. I already tried the solutions for 32512 from forum.
Saving script with vi don't make any difference and permission is correct.