Search found 8 matches

by Antikillerbm
Tuesday 30 July 2019 10:55
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 398
Views: 126522

Re: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP

You are right. It is my mistake, i will come back to modbus later and try again
Actually modbus TCP works normally, I got the problem only with serial modbus
Now I have other serius problem with domoticz and I cant to try sorry
by Antikillerbm
Sunday 28 July 2019 21:04
Forum: Switches and Scenes
Topic: Yeelight - control from LUA
Replies: 6
Views: 1613

Re: Yeelight - control from LUA

I have same problem I used lua one year but one week ago something happen and all my yeelight devices are not react to commands from lua events anymore First I tried to interact with API trough node red - it works like before. Second - I have downgraded my domoticz to release version - but still ...
by Antikillerbm
Thursday 25 July 2019 22:40
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 398
Views: 126522

Re: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP

I tried example script as well #!/usr/bin/env python from pymodbus.client.sync import ModbusSerialClient client = ModbusSerialClient(method="rtu", port="/dev/ttyUSB0", stopbits=1, bytesize=8, parity="N", baudrate=9600, timeout=1, retries=2) data = client.read_input_registers(0, 4, unit=12) # FUNCTIE ...
by Antikillerbm
Thursday 25 July 2019 7:44
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 398
Views: 126522

Re: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP

Every functions gives same error
I even tried to use discrete output slave, but error still the same

Have nothing here
by Antikillerbm
Wednesday 24 July 2019 19:04
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 398
Views: 126522

Re: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP

Hi Im trying modbus first time. I use domoticz v4.11024@Python 3.5.3 I just upload an example to my arduino and try to read something trough modbus RTU #include <ModbusRtu.h> // assign the Arduino pin that must be connected to RE-DE RS485 transceiver #define TXEN 2 // data array for modbus network ...
by Antikillerbm
Wednesday 26 December 2018 20:42
Forum: dzVents
Topic: Hold button detection script
Replies: 2
Views: 970

Re: Hold button detection script

Earlier, I did without this script but now Im realy need it. Finally I tested it, but it worsk too slowly When I pushing the button fast several times (with 200-500ms pause) script can get summary time of several clicks and decides that is one long click. Also im tried to delete logging but it ...
by Antikillerbm
Saturday 01 September 2018 21:07
Forum: dzVents
Topic: Hold button detection script
Replies: 2
Views: 970

Hold button detection script

Hi everyone I have aqara switch button (wireless) that can transmit only single presses. If I hold it pressed - the switch in domoticz also still turned on But i need to detect this long presses for several seconds and, as bonus, detect also short presses if the button is released shortly. I have ...
by Antikillerbm
Monday 02 April 2018 7:42
Forum: Zigbee
Topic: Xiaomi gateway connection lost
Replies: 0
Views: 917

Xiaomi gateway connection lost

Some times after several hours without any activities domoticz loosing connection to wall switches. It just actually not working. If I switched on-off gateway light, wall switches start working again.

Domoticz beta, Debian.