I’ve spent about 4 hours today trying to set up mqtt on Openhab (and asking google). my Idea is:
- measuring temperature and humidity with a DHT22 on a ESP8266 (works fine)
- transfer the values to mosquitto running on my Pi (works fine)
- make a graph in OpenHAB to show the temp/hum changing over time (I’m stuck)
So OpenHAB (mqtt extension is installed) runs on the same RPi3 where Mosquitto, shouln’t be a Problem, right?
I was trying to follow loosely this tutorial: http://onesmarthome.de/smart-home-openhab-2-mqtt-mosquitto/
The step where is get stuck is at the very beginning: I’m not able to edit the mqtt.cfg. I installed the smart home designer on my Mac which I now think didn’t make sense because I found out it should be on the same system that runs openhab.
When i open Openhab in the browser i cant find any option in any UI to edit the file.
After that i tried to manually edit the file in Raspbian but i cant save because the OS says the file is owned by Openhab.
Too be honest I believe that i’m making some very stupid mistake because editing a file cant be that hard
Is there a possibility to work with the SmartHome Designer though its running on another System?