I have the openHAB image installed.
Not entirely sure how I did it but I have some smb permissions setup to allow me to access the files on the RPi3.
I have Eclipse smart home designer installed and I can view and edit the various files.
Again not entirely sure how I got to this step or what files I modified to give me these permission and where I found them. Linux is a bit tricky compared to Windows because the home directory is not at the root (C:) directory like Windows, as since âlsâ doesnât show what is actually there when logged in as ârootâ I am kind of guessing what the file structure of Linux even looks like. So part of my problem is not really knowing from a file structure point of view where the files I modified even live.
I think the /etc folder is right off what would be C:\ in Windows but everything else is a bit of a mystery.
I also have MQTT.fx installed which seems to be handy in checking messages being sent to and from the MQTT broker, and that seems to be working fine.
I have also written / modified some C# code I found to send messages to the MQTT broker.
I have managed to get the android phone app working and a half working layout of the house configured (sort of) and I can see the same thing when I use ClassicUI. Although itâs far from complete.
I am a visual person so a picture showing the relationship between all the elements in openHAB would really help a lot.
I am struggling a bit with understanding the syntax of some of the things I need to do in then openHAB configuration files.
For example I have this in home.items
Switch Patio_Lights âLightsâ (gPatio) {mqtt=">[myMQTT:FirstFloor/Patio/light:command:ON:1],>[myMQTT:FirstFloor/Patio/light:command:OFF:0]"}
I think this is ok for sending a message from openHAB to MQTT, but donât yet know how to get a message from MQTT to update the switch in openHAB. I know I need to use the < for input but donât know if I need some kind of rule (which I donât know about yet).
In home.sitemap I have this
Group item= gPatio label= âBack Patioâ icon= âterraceâ {
Switch item= Patio_Lights
I have configurations setup in both mqtt.cfg and mqtt-eventbus.cfg but strongly suspect I donât need both since I am getting messages being generated by both of them.
Thatâs the bulk of where I am up to. I donât have any âThingsâ yet (donât even know what a Thing is) and donât have any rules yet either.
As I say I got here mostly by fumbling around in the dark and going around in circles.