Search found 9 matches

by ramirez22
Tuesday 24 November 2020 5:59
Forum: Python
Topic: Python plugin: HC868 Kincony Ethernet I/O intreface
Replies: 14
Views: 2799

Re: Python plugin: HC868 Kincony Ethernet I/O intreface

Hello Voyo, Sorry for this late answer, I was really busy last month. I'm please that my job can help you to have functional interface (with a lot of work to adapt it I think :D ) Thanks to performed some test and posted here results. Of course, you can post it in Github and do every thing you want ...
by ramirez22
Wednesday 23 September 2020 14:38
Forum: Python
Topic: Python plugin: HC868 Kincony Ethernet I/O intreface
Replies: 14
Views: 2799

Re: Python plugin: HC868 Kincony Ethernet I/O intreface

merde :twisted: :lol: I'm sorry, but I never translate code because when I post here, I was alone and don't think someone will be interested by it :roll: Next time, I will code directly in English, I promise :lol: Except this kind of error (and it's not a problem with this plugin): Error ...
by ramirez22
Monday 21 September 2020 20:49
Forum: Python
Topic: Python plugin: HC868 Kincony Ethernet I/O intreface
Replies: 14
Views: 2799

Re: Python plugin: HC868 Kincony Ethernet I/O intreface

Hello, This is the script of the latest version. # # Author: Ramirez22 # """ <plugin key="KinCony_KC868" name="KinCony KC868 plugin" author="Ramirez22" version="1.0.0" externallink="https://www.kincony.com/product/relay-controller"> <description> <h2>KinCony KC868</h2><br/> Carte d'entrées/sorties ...
by ramirez22
Thursday 09 April 2020 13:42
Forum: Python
Topic: Python plugin: HC868 Kincony Ethernet I/O intreface
Replies: 14
Views: 2799

Re: Python plugin: HC868 Kincony Ethernet I/O intreface

Hello. I finally change the plugin. I don't use anymore the domoticz.connection function, but return to the socket module of python. All work well (for the outputs of the device) except 2 things : 1 - When I loss communication, the socket answer a timeout problem and domoticz interrupt the plugin ...
by ramirez22
Wednesday 01 April 2020 7:06
Forum: Switches and Scenes
Topic: How stop delayed swtich in scene
Replies: 2
Views: 442

Re: How stop delayed swtich in scene

Hello !
Thanks for answer.
So after learn Python for my plugin, I have to learn Lua for my process :lol:
I will try that, thanks again.
Regard
by ramirez22
Tuesday 31 March 2020 22:17
Forum: Switches and Scenes
Topic: How stop delayed swtich in scene
Replies: 2
Views: 442

How stop delayed swtich in scene

Hello, I have an irrigation system with some areas and a pump. I programed a scene to launch manually the irrigation. I used the on and off delay to chain the areas (in seconds for tests): Switch 1 (area 1) _ ON delay:0 _ OFF delay:6 Switch 2 (area 2) _ ON dealy:5 _ OFF delay:6 Switch 3 (area 3 ...
by ramirez22
Monday 30 March 2020 23:06
Forum: Python
Topic: Python plugin: HC868 Kincony Ethernet I/O intreface
Replies: 14
Views: 2799

KC868 Plugin development

Hello all. I continue to develop my plugin for the KC868 device. I finally can do some functional things: Can pilot output The board check at the first launch the state of the device (if some outputs are ON, set the correct value of Domoticz) Inputs are half functional (device problem : I have ...
by ramirez22
Thursday 26 March 2020 10:57
Forum: Python
Topic: Python plugin: HC868 Kincony Ethernet I/O intreface
Replies: 14
Views: 2799

Re: 'onHeartbeat' failed 'timeout' during timeout socket

Hello,

I find another way to communicate with device, with Domoticz.Connection.
I don't know exactly how use it, but after some test, the timeout problem isn't ... a problem :D
by ramirez22
Thursday 26 March 2020 7:32
Forum: Python
Topic: Python plugin: HC868 Kincony Ethernet I/O intreface
Replies: 14
Views: 2799

Python plugin: HC868 Kincony Ethernet I/O intreface

Hello. I'm new in developing under Domoticz and python language, but it's exciting and I learn many things. I developed a python script for acting on Kincony KC868-H16 ethernet board (16 outputs and 8 inputs). The protocol is TCP and dialog is made by socket. The script work well but it's not enough ...