I am very new to openhab2. I want to control relay board connected to nodemcu using openhab. I tried many tutorials but none of them are working for me. I have openhabian installed in raspberry zero. Nodemcu and raspberry is connected in same network. Detailed step by step procedure is appreciable.
Does openHAB run?
yes its running smoothly
What have you done up to now?
All software part is set now… can i check working of button without hardware??
You can use a MQTT-Tool to set the MQTT-value
or RestUI or rules to set the item.state
this is where i m confused. what rules to set ??
when System started then yourItem.postUpdate(your-state) end
unable to start mosquitto
[20:13:11] openhabian@openHABianPi:~$ sudo mosquitto
[20:23:23] openhabian@openHABianPi:~$ sudo /etc/init.d/mosquitto start
[ ok ] Starting mosquitto (via systemctl): mosquitto.service.