To implement the stop, I would add another NI which is connected to B072 and B031 this to bypass your timers as their is no senser in your logo. All you have to do afterwards is copy paste the same script as you have done.
To implement the timer there are two ways in my opinion
hard code the time in an automation
use a date time to be able to change it on the fly
thank you for all your patient with me. This is all still so new to me.
I don´t understand how to get the Stop to work. I looked at the Logo Setup and couldnt figure it out. So i will skip that to another time.
I have one problem with the Cover Template so far. One Symbol (up or down) is always disabled. If the Shutter is only 50% closed, i cannot choose to go up or down, because one is disabled. Can i change the setting so the symbols don´t disable?
The Automation didn´t work. I have the Time card on my Dashboard with timeset and put the lower shutter into the automation. But nothing happens :slight_smile
The stop part is easy just do like on the drawing, with this new NI you will have to make a new switch in HA (SwitchStop_Kitchen with your logic) and try it out.
I changed my above post to correct the automation, now it should work as is.
For the shutter part having both arrows up and down you need to have a value, using position_template ( Template Cover - Home Assistant ). Not having any sensors on your logo this can be a little more complicated. You should maybe look into the stopwatch function in the logosoftware.
First of all, thank you for the great posts. @tyr0n have you already found a solution regarding the position? I would be interested in this. Thanks very much.
I would also like to thank you for all the great posts. I’m new to HA and learning a lot here.
I have a few Logo 8 controlling my lights and inputs are mostly wired to push buttons in rooms. A lot of the solutions on this thread use a switch to send commands to a Logo from HA. The Button integration was introduced in HA 2021.12. Could that be used instead of the switch?
Huge thanks for this great and inspiring post! I am trying to get modbus communication with my Logo! plc, but for some reason when I try to get my configuration file ready, the modbus integration stop working. I also have a SolarEdge modbus integration that is working fine unless adding a new modbus client.
Here is my configuration file: can some one advise on what I am missing?
Good morning, I’m new to the subject of home assistant. I have a logo8! working for three years to turn on the different groups of garden lights (11 groups) with different scenes as needed. I want to use home assistant as a “SCADA” system.
In my attempts to integrate LOGO, I have activated the modbus server in logo, opening the port in the router, fixed the IP of both home assistant and LOGO, ect…
I have copied, adapted and reset 1000 times, but I cannot find the instances of the state of the plc outputs to use them in HA.
I am new with HA, and excuse me with the translation of this text.
Home assistant does not find the logo automatically.
There are 2 ways to communicate with the logo in HA, manually create switches via configuration.yaml and via Node Red.
I use modbus settings in configuration.yaml and soms minor changes in de logo program (adding network inputs).
Look at the post of Scanafos Luca in april 2020. This explaines a lot on how to configurate your configuration.yaml and useing the correct modbus addres.
I have done the things that scanafos lucas has put, and I still cannot access the status of the logo outputs from home assistant. Could it be that the version of logosoft that I have is 8.1?
I have defined server modbus in logosoft, I have enabled coils Q1 and Q2 within modbus communications but I cannot access them from ha. there is no mention of them.
I first checked my modbus settings through an external program such as (Modbus Master Simulator - free software utility for testing Modbus slave devices). You can use this to read out your modbus. If you find that it works and you can read the data from your Logo then you are already halfway there.
The next step is to get it running on HA. Try to check if your modbus is working with the external program.