Fatek Plc

you qutes are wrong first is up side down

1 Like

That looks important.

Earlier you posted -

This has the wrong kind of fancy double quote marks.
You need the plainer kind.

Switch Lights_GF_bathroom "Bathroom" (GF_Lights) { fatekplc="plc:X1"}

How to put plain quote marks? :slight_smile: Every time i paste or type they changed to this “”

I suppose you might look at whatever text editor you are using.

I mean here on forum, i’m using Chrome when i write they are changed.

See

The most useful icons for this on the message posting box are currently invisible, but will tooltip when hovered.

Yes you right! the problem was the " :smiley:
Finally its work!!
I put that on fatek.item:
Switch Lights_GF_bathroom “Bathroom” (GF_Lights) { fatekplc=“plc:M7”}
And its works great :+1:t3:
Thank you guys!

I know how to use code fences :slight_smile: Ok, sorry my bad, i was confused why quote marks was wrong, they was copied from blockquote not from code fences.

How can I do 1 switch that turn all the lights on/off?
There is way do to it more simple with openHAB then winprolodder?

Yes, you can turn ON/OFF group of lights.
items:

Group:Switch:OR(ON, OFF) GF_Lights   "Lights [%dx lights on]"

sitemap

Switch item=GF_Lights mappings=[OFF="All Off", ON="All On"]

Ty! works great!
Last question how can I make Actions like “Movie Time” all the lights will turns off except the batroom

It’s a lot of approaches, you can detect is TV ON (by binding) then by the rule
turn OFF lights an ON bathroom.
You can make subgroups, virtual switches and combine this in rule. It can be dependent by time of day
You can read a great tutorial by Rich Koshak Time of Day

Ok ty :+1:t3:
If I want to add more Fatek plc to my openHAB how can I do it?(I have 3)

How to connect Fatek PLC’s.
But you need a communication module for each of them. It’s better to use DIO expansion modules like this or this

Sorry for the delay,
I have 4 Fatek plc in my home, 1 for each floor.
Basement Floor- Fatek FBs-40MA
Ground Floor - Fatek FBs-60MA
Second Floor - Fatek FBs-60MA
Garden - Fatek FBs-32MA
Now I just Configuration the Basement Floor
So, how I can add the others plc?

Are these Fatek PLC’s also with FBs-CBE, or without? If yes, just connect them to your local network and use FUN151(CLINK) to communicate, all is here in Chapter 12.1.3.

Yes, they are with FBs-CBE and connect to my local network, I can see them in the Fatek Ethernet Module Configuration tool.
I tried to add items from another plc but its doesnt work…
its not possible to add the other plc in fatek.cfg?

Try adding these to fatekplc.cfg

fatekplc:refresh=100
fatekplc:plc.connectionUri=udp://192.168.5.110?plcId=1
fatekplc:plc2.connectionUri=udp://192.168.5.111?plcId=2
fatekplc:plc3.connectionUri=udp://192.168.5.112?plcId=3
...

Doesnt work…

Come on … how many times have we referred you to openhab.log - does that have anything to say about fatek?

2 Likes