I am wondering if anyone would be able to share their .Sitemap , .Items and arduino code that they use for controlling basic devices such as turning on a LED or relay. Or a Arduino code which acts as a switch and publishes a message to a state topic.
Also, Information on what settings you altered in the MQTT Bindings section of the Openhab.cfg file.
I am having issues getting a arduino to send commands to openhab, although i can open up a new terminal and receive the commands there.
If you just want switches and not dimming values you can look at mine. I am the farthest thing from a programmer so this is a cobbled together hack job with minimal code that works. Arduino with Ethernet shield controlling any number of pins you could want potentially. If somebody smarter than me wants to tell me how to adjust the config (see commented out parts under void callback, copied from Joerg)