I really need to buy new Logo's, I still have the 8.0 version from 8 years ago and they do not support MQTT or modbus tcp to communicate with the outside world (already asked people from Siemens on their forum) :) Lately started with Home Assistant/Zigbee/ESPHome and if I can add my Logo's to Home Assistant then I can control/automate almost everything from a central point. Thanks for the video's they are very informative.
Great content ! Thank you. It would be great to see also how to read a state from HA into the LOGO. For instance if a light is connected to the LOGO and we want to turn it on/off from HA.
Thank your for your feedback. Great question. To control a light switch from HA, you need to define a SWITCH instead of SENSOR on the yaml file. you can find the details here: www.home-assistant.io/integrations/switch.mqtt/ The only catch is the json payload format that needs to be defined under the SWITCH. Here is an example that you can use: { "state": { "reported": { "VM4": { "desc": "V-word-4-1", "value": [ 13 ] } } } } This payload write the value of 13 to VM4 which is defined in LOGO MQTT transfer area.
Nice. Did you managed to send signals from homeassistant or any type of platforms in to LOGO to act as inputs to do some actions with LOGO program such a trigger outputs or programme logics? If yes, in which video?
@@arenetasatrec4939 thanks for watching. I don't have a video for it but you're not the only person who asked for this feature so I will do a quick test and will record a short video for it in coming days.
The UA-cam channel video's SEO rating is poor of Due to this your subscribers and views are not increasing, and the titles, descriptions, and keywords SEO should be done correctly only then you will get good results. the same problem in Video every.
Thank you for the heads up. I just share videos to share knowledge. I'm not a professional content creator and don't know much about SEO on YT. But I should start working on it 👍
Nice vid! Also busy with Logo 8.4. Looking forward to the MQTT switch. Still trying here. In MQTT explorer i see the value is send, but the M1 stays 0. switch: # Siemens LOGO 8.4 network switches unique_id: xyz name: "xyz" state_topic: "LOGO_Pub" # Topic to read the current state value_template: '{{ value_json.state.reported.M1.value[0] }}' command_topic: "LOGO_Sub" # Topic to publish commands payload_on: '{"state": {"reported": {"V0": {"desc":"V-bit-0.0-1","value":[1]}}}}' payload_off: '{"state": {"reported": {"V0": {"desc":"V-bit-0.0-1,"value":[0]}}}}' state_on: "1" state_off: "0"
Just uploaded a video for this topic. ua-cam.com/video/RyjtpEOlTHQ/v-deo.htmlsi=FWPwwP7kPWoIseSl You may watch minute 10 to see the YAML file. I didn't include a state_topic for the MQTT switch. But it's the same idea. Hope this helps
@@blociot Heey! Thanks for the vid, tried the same. Good to mention that JSON hack, works indeed great! After a few tries i got it working as expected.
I really need to buy new Logo's, I still have the 8.0 version from 8 years ago and they do not support MQTT or modbus tcp to communicate with the outside world (already asked people from Siemens on their forum) :)
Lately started with Home Assistant/Zigbee/ESPHome and if I can add my Logo's to Home Assistant then I can control/automate almost everything from a central point.
Thanks for the video's they are very informative.
Thanks for your feedback and time to watch this video. All be best with your cool projects. LOGO is a very interesting piece :)
Seems my sprinkler system needs an upgrade 😅 Cool feature!
@@Ind4.0 great application 👌
Great content ! Thank you. It would be great to see also how to read a state from HA into the LOGO. For instance if a light is connected to the LOGO and we want to turn it on/off from HA.
Thank your for your feedback. Great question. To control a light switch from HA, you need to define a SWITCH instead of SENSOR on the yaml file. you can find the details here:
www.home-assistant.io/integrations/switch.mqtt/
The only catch is the json payload format that needs to be defined under the SWITCH. Here is an example that you can use:
{
"state": {
"reported": {
"VM4": {
"desc": "V-word-4-1",
"value": [
13
]
}
}
}
}
This payload write the value of 13 to VM4 which is defined in LOGO MQTT transfer area.
@@blociot Thank you! I'll try that when I have a chance to play with my lab 😁
Nice. Did you managed to send signals from homeassistant or any type of platforms in to LOGO to act as inputs to do some actions with LOGO program such a trigger outputs or programme logics? If yes, in which video?
@@arenetasatrec4939 thanks for watching. I don't have a video for it but you're not the only person who asked for this feature so I will do a quick test and will record a short video for it in coming days.
The UA-cam channel video's SEO rating is poor of Due to this your subscribers and views are not increasing, and the titles, descriptions, and keywords SEO should be done correctly only then you will get good results. the same problem in Video every.
Thank you for the heads up. I just share videos to share knowledge. I'm not a professional content creator and don't know much about SEO on YT. But I should start working on it 👍
@@blociot Can I help you?
Nice vid! Also busy with Logo 8.4. Looking forward to the MQTT switch. Still trying here. In MQTT explorer i see the value is send, but the M1 stays 0.
switch:
# Siemens LOGO 8.4 network switches
unique_id: xyz
name: "xyz"
state_topic: "LOGO_Pub" # Topic to read the current state
value_template: '{{ value_json.state.reported.M1.value[0] }}'
command_topic: "LOGO_Sub" # Topic to publish commands
payload_on: '{"state": {"reported": {"V0": {"desc":"V-bit-0.0-1","value":[1]}}}}'
payload_off: '{"state": {"reported": {"V0": {"desc":"V-bit-0.0-1,"value":[0]}}}}'
state_on: "1"
state_off: "0"
@@DutchMovinghead thanks for watching. I'll give it a try in coming days and will update you here.
Just uploaded a video for this topic. ua-cam.com/video/RyjtpEOlTHQ/v-deo.htmlsi=FWPwwP7kPWoIseSl
You may watch minute 10 to see the YAML file. I didn't include a state_topic for the MQTT switch. But it's the same idea. Hope this helps
@@blociot Heey! Thanks for the vid, tried the same. Good to mention that JSON hack, works indeed great! After a few tries i got it working as expected.
@@DutchMovinghead sounds great. Thanks for the update. Glad it's working.