crelding
Posts: 4
Joined: Fri Jan 01, 2016 11:12 am

OpenHab, MQTT and esp8266 help

Mon Oct 03, 2016 8:19 am

Hi all, first project and quite new to all this, so all help appreciated.

I wanted to create a simple remote switch for a light in OpenHab, which will communicate through MQTT to an esp8266 which is running arduino on.

However, I can't find any info online about how to se these up for a on/off switch.

I can get the esp8266 to connect to my network, and have the openhab demo all working, but I don't know how to get the things to speak to each other. I'm new to openhab, so not sure what needs to be in the 'items' or 'rules' page. The openhab sitemap is just a switch.

Also, not sure what is needed in the ardiuno scetch to receive commands from openhab.

If anyone can offer any adivce, or knows of a guide for this I would be really greatful.

crelding
Posts: 4
Joined: Fri Jan 01, 2016 11:12 am

Re: OpenHab, MQTT and esp8266 help

Wed Oct 05, 2016 7:24 am

bump, please :)

tpylkko
Posts: 409
Joined: Tue Oct 14, 2014 5:21 pm

Re: OpenHab, MQTT and esp8266 help

Wed Oct 05, 2016 8:38 am

Uhm.. This is rpi forums. You are not, it seems, using an rpi. And, in addition, you are using esp2866. There is dedicated esp2866 forum. Maybe there would be more people with the know-how to help you there.

Return to “Automation, sensing and robotics”