Page 1 of 1

how to make an ESP easy MQTT Oled Info display???

Posted: 25 Mar 2018, 21:32
by jascdk
Hi. I have thought on making a info display that shows / displays, the current status of my home - by checking what appliances is on and which are off.

I have multiple sonoff switches which have been flashed with tasmota and they are controlled over Apples HomeKit.

I currently have a Nodemcu and a oled I2C 128X64 screen connected to the ESP8266.

I have tried to flash Esp easy on the board and it succeeded. But as I can see, then I can only get mqtt messages like temperatures and so on.

I have setup a raspberry pi with mosquito on as MQTT server.

Any guides and help would be appreciated:)

All the best

Jacob

Re: how to make an ESP easy MQTT Oled Info display???

Posted: 25 Mar 2018, 22:49
by grovkillen
Tasmota is formatting the payload as JSON, MQTT Import only handle single value payload. You'd have to get the in between controller to feed the messages.

Re: how to make an ESP easy MQTT Oled Info display???

Posted: 25 Mar 2018, 23:01
by jascdk
And how do I do that? I am a total newbie on this one:D

Re: how to make an ESP easy MQTT Oled Info display???

Posted: 25 Mar 2018, 23:32
by grovkillen
I'm no Apple Homekit user so sorry, cannot help you there.

Re: how to make an ESP easy MQTT Oled Info display???

Posted: 27 Mar 2018, 22:08
by elmicha
I you have already a Raspberry Pi, you can install Node-RED. Then you can make "a flow" that reads MQTT messages, manipulates them, and sends them out with another topic.

Re: how to make an ESP easy MQTT Oled Info display???

Posted: 27 Mar 2018, 22:21
by jascdk
elmicha wrote: 27 Mar 2018, 22:08 I you have already a Raspberry Pi, you can install Node-RED. Then you can make "a flow" that reads MQTT messages, manipulates them, and sends them out with another topic.
Can I install this Node Red along HAP-NODEJS on my pi, without this is messing things up?

I mean - does Node Red have to take advantage of the whole SD card on the pi, so the PI afterwards reacts like only a Node Red machine?