No video

40- How to Connect a Siemens LOGO to Home Assistant as an MQTT Sensor?

  Рет қаралды 1,191

BlocIoT

BlocIoT

Күн бұрын

In previous videos, we learned how to use the Siemens LOGO mini PLC to publish data to a local MQTT broker. In this video, we'll show you how to integrate a LOGO with Home Assistant, the most popular open-source smart home platform, as an MQTT sensor.
Here's what to expect in this tutorial:
A quick introduction to Home Assistant
An overview of the utilized hardware
Configuration of Home Assistant to integrate the LOGO as an MQTT sensor with two entities
Monitoring LOGO analog inputs on a dashboard in a live demo
An overview of other possibilities with this configuration for your smart home or smart building projects

Пікірлер: 15
@21Aera
@21Aera Ай бұрын
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.
@blociot
@blociot Ай бұрын
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.
@21Aera
@21Aera Ай бұрын
@@blociot Thank you! I'll try that when I have a chance to play with my lab 😁
@Ind4.0
@Ind4.0 Ай бұрын
Seems my sprinkler system needs an upgrade 😅 Cool feature!
@blociot
@blociot Ай бұрын
@@Ind4.0 great application 👌
@arenetasatrec4939
@arenetasatrec4939 25 күн бұрын
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?
@blociot
@blociot 25 күн бұрын
@@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.
@UniqueunlimitedBD
@UniqueunlimitedBD Ай бұрын
The KZbin 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.
@blociot
@blociot 23 күн бұрын
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 👍
@UniqueunlimitedBD
@UniqueunlimitedBD 23 күн бұрын
@@blociot Can I help you?
@DutchMovinghead
@DutchMovinghead 16 күн бұрын
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"
@blociot
@blociot 15 күн бұрын
@@DutchMovinghead thanks for watching. I'll give it a try in coming days and will update you here.
@blociot
@blociot 5 күн бұрын
Just uploaded a video for this topic. kzbin.info/www/bejne/iKrNpaN7hNGHfrMsi=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
@DutchMovinghead
@DutchMovinghead 4 күн бұрын
@@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.
@blociot
@blociot 4 күн бұрын
@@DutchMovinghead sounds great. Thanks for the update. Glad it's working.
449 OpenMQTTGateway Connects Many Things to Your Home Automation
11:56
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 44 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 141 МЛН
How I Did The SELF BENDING Spoon 😱🥄 #shorts
00:19
Wian
Рет қаралды 36 МЛН
How to configure S7-1200/S7-1500 as an MQTT Client with TIA Portal
21:21
AutomationStation
Рет қаралды 49 М.
MQTT 101: Integrate your DIY Devices into Home Assistant
28:06
ResinChem Tech
Рет қаралды 71 М.
LOGO! Analog basics 1 | Siemens PLC programming
12:21
Quick PLC
Рет қаралды 2,1 М.
Connecting Victron to Home Assistant using MQTT
17:38
Melon Monkey Garage
Рет қаралды 14 М.
MQTT and Home Assistant: An Abridged Version
10:55
ResinChem Tech
Рет қаралды 3 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 427 М.
MQTT and Home Assistant
11:38
Home Automation Guy
Рет қаралды 110 М.