Connect Siemens Logo with Domoticz

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
JohannesPloeg
Posts: 4
Joined: Monday 18 September 2023 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Connect Siemens Logo with Domoticz

Post 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
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Connect Siemens Logo with Domoticz

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JohannesPloeg
Posts: 4
Joined: Monday 18 September 2023 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Connect Siemens Logo with Domoticz

Post 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).
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Connect Siemens Logo with Domoticz

Post 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.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
JohannesPloeg
Posts: 4
Joined: Monday 18 September 2023 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Connect Siemens Logo with Domoticz

Post 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!
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Connect Siemens Logo with Domoticz

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JohannesPloeg
Posts: 4
Joined: Monday 18 September 2023 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Connect Siemens Logo with Domoticz

Post by JohannesPloeg »

I cannot find the debug level setting in Domoticz.
And yes I using the plugin what you mentioned
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Connect Siemens Logo with Domoticz

Post by waltervl »

In the modbus plugin in field communication you can change the mode you have to +Debug
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests