Page 1 of 1

Connect Siemens Logo with Domoticz

Posted: Monday 18 September 2023 15:58
by JohannesPloeg
Hi,

I am a new Domoticz user and I am using Siemens Logo8 for my home automation.
Now I will read and write I/O between Domoticz and Siemens Logo8.
What I have done:

- prepare modbus "client" connection in LogoSoft including Domoticz IP
- Installing Domoticz on my Raspberry Pi 4
- installing Domoticz modbus plugin
- I have added the hardware in Domoticz

For example:
How can I send a switch pulse from Domoticz to Logo8?
How can I read a status of a Logo digital output in Domoticz?

Johannes

Re: Connect Siemens Logo with Domoticz

Posted: Monday 18 September 2023 16:47
by waltervl
I am not a modbus expert but do you have no Domoticz devices being created by the modbus plugin? Because those seem to be the devices to control your Logo. Look in menu setup devices. If the device has a green arrow in the last columns then it is not activated and you should activate it first.

A domoticz a switch will show the status but if the plugin acts correctly (I am not using this plugin) it should also be possible to click on the switch button an toggle the state (on/off) and send the command to the Logo.

A pulse I am not sure what you mean with that but domoticz has a push on devices that will only send an On command. I do not know if that is being supported by the plugin.

Re: Connect Siemens Logo with Domoticz

Posted: Monday 18 September 2023 17:42
by JohannesPloeg
Hi
All my devices are now connected to the Logo, so and I will also read some data from Logo to Domoticz and operate switch actions in Logo.
I have no devices in Domoticz yet.
So I need to set the correct modbus settings.
In Logo I am using only "pulse switches" they produce a short pulse (a second to "on" status).

Re: Connect Siemens Logo with Domoticz

Posted: Monday 18 September 2023 19:52
by kiddigital
How do you connect your logo8 to your Pi? Are you using ModBus over TCP/IP?

Try running domoticz with debugflags to see more info.

Re: Connect Siemens Logo with Domoticz

Posted: Friday 22 September 2023 18:09
by JohannesPloeg
Yes I use modbus over TCP/IP
How can I run debugflags?

Were can I write the modbus adress?
I there some one who has an example for me?

Thanks!

Re: Connect Siemens Logo with Domoticz

Posted: Saturday 23 September 2023 0:18
by waltervl
In the plugin configuration (menu Setup - Hardware) normally you can set the debug level of the python plugin.

Are you using this plugin or another? https://github.com/DomoticX/domoticz-modbus

Re: Connect Siemens Logo with Domoticz

Posted: Sunday 24 September 2023 13:19
by JohannesPloeg
I cannot find the debug level setting in Domoticz.
And yes I using the plugin what you mentioned

Re: Connect Siemens Logo with Domoticz

Posted: Sunday 24 September 2023 14:46
by waltervl
In the modbus plugin in field communication you can change the mode you have to +Debug