Need help with ESP8266 Node in MQTT Network
-
Hi guys,
I would like to add an ESP8266 WIFI Node to my existing NRF24 MQTT Network. I´ve set up a Mosquitto broker on my LAN connected Raspberry pi with openhab2 running on it acting as the controller.
Unfortunately I have no idea where to start to include the new WIFI node to talk to my controller. Does someone know a tutorial could give me some code examples of where to start?Thanks in advance!
-
@siod
ESPEasy Settings for Sonoff Devices in an Openhab2 installation – 18:12
— Blair ThompsonSonoff configured as 2-way switch – 04:19
— Pete Stothers
-
well, this looks quiet interesting, but I think I´m quicker if I just use my actual Arduino IDE setup and some lines of code to achieve my goal because I feel more comfortable wit this IDE...
But I will have a look at ESPEasy anyway, thanks for that!!
edit: Do I have to upload the ESP8266 Gateway Code to every ESP8266 Node?
What I actually want to achieve is to build a IR Sender which sends IR commands to my TV or other IR devices that where sent by openhab.
-
@siod
Maybe your task is done by somebody:
IR_MQTT_OPENHABOr with ESPeasy look at this post:
link textAnd this thread:
link text
-
edit: Do I have to upload the ESP8266 Gateway Code to every ESP8266 Node?
Yes, you do have to. Just use seperate MQTT topics for every node/gateway.
I suppose you're looking for the MySensors / MQTT integration in general?
-
Is the ESP8266 flashed and working? Are you able to see the MQTT messages on the broker?
(https://www.mysensors.org/build/mqtt_gateway) -
You may connect the Mosquitto with OpenHAB via the (generic) MQTT binding (search the forum about how this could be achieved) or via the MySensors binding for OpenHAB2.
-
-
Hi guys,
thanks to both of you! Thanks @TimO for the general information and thanks to @kimot for finding the exact solution for what I was looking for. Awesome!!
I will give it a try as soon as possible...
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
MQTT-Help me understand about the MQTT Gateway.
Development • 27 days ago • dpcons 16 days ago -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23