That’s the strange thing I get no error feedback at all.
Both the intertechno.binding and the fs20.binding shows in debug log “started” and run…
but if I use my sitemap switch nothing happens…
I’ve the feeling I’ve maybe to much modified all as it seems…
By the way I noticed in other posts your activity in this topic (fs20+fhem).
Did you get your setup run now…if yes how is your config and example item + sitemap look like?
I’m also not shure about “root” access how did you exactly activate it?
Do you mean by starting openhab from sudo su root?
I’m not using FS 20.
My setup is OPENHAB 2 in a manual installation using the online nigthlybuilds.
I have just the Intertechno binding installed in order to switch some intertechno like switches.
My OpenHAB starts as a service, in the definition of that service you can specify the user ( see the openhab docs).
finally even “I” get the FS20 and CUL fully running.
Thankfully to the very nice preparation of a specific image created for the raspi discussed here:
I´m sure this was one of key cause to exclude anykind of install issues.
Further I have realized that my so far done configs I´ve created always into ONE file opehab.cfg.
This is simply wrong for OH2. In OH2 there is in the runtime an “services” folder which contains all specific .cfg files.
This is the right place to adjust your …/ttyACM0 ect. cul device.
The same thing have to be done as well for the FS20 binding.
Each time this is done into an EXTRA cfg file and not anymore to ONE openhab.cfg like in the past.
Afterwords I would say that´s much more convenient and logical, but took me really a while to find out.
However, if in the Paper UI the binding get installed you can notice for the culintertechno taht a .cfg file is done,
for the FS20 you need to do an own :-/ little bit unlogical that once you get a config file and other time you have to create an own one.
So for all folks out there coming from FHEM as me, simply follow this experience and I hope you can get it faster run than me after long nightmares
I’m glad you got it running. Can you tell me/us under which user you are runing openhab?
If you are using a service, the user is set in the file:" /lib/systemd/system/openhab2.service"
I changed the user starting Openhab2 to root in order to make it work (otherwise I get the Error “Can’t open CUL”). Change file “usr/lib/systemd/system/openhab2.service” to read:
....
User=root
Group=root
....
If anybody else got it working with the user openhab, I’d be happy to learn how!
My config is almost identical to detailed description from the post before.
The real improvement/ countermeasure to get the cul and fs20 run, until today I believe the installation method helped me out.
The mentioned project with given and predifined image as install package for complete openhab2 ensured the necassery “good” start.
I recomend to you to use maybe a 2nd sd memory to simply try a parallel installation based on the img from above activity, with that it should work by adding the above .cfg immediately!
I’ve achieved so far the following: In OpenHab2 I can turn on or off an ITDM-250 (Intertechno) with the following configuration:
“Switch LichtA “licht” {culintertechno=“type=raw;address=01010010101011101000000110;commandOn=010011;commandOff=000011”}”
After flashing the CUL with the alternative Firmware (a-CULfw) (https://forum.fhem.de/index.php?topic=35064.0) I can now even dim the ITDM-250. Do you have any idea how to configure this in an OpenHab binding?
With the “sudo sh sendtoCUL.sh is01010010101011101000000110000011” commands I can do from the command line the following:
turn ON "is01010010101011101000000110010011"
turn OFF "is01010010101011101000000110000011"
Dim min ""is010100101010111010000001100D00110000"
Dim max "“is010100101010111010000001100D00111111”