MQTT Import with values inside {}

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Quart
Normal user
Posts: 45
Joined: 16 Jul 2019, 10:08
Location: Sweden
Contact:

MQTT Import with values inside {}

#1 Post by Quart » 19 Jul 2019, 11:21

I want to use weather data sent på Weather-Displays application MQTT client to my Mosquitto.
But Weather-Display can only publish messages with the values inside { } and ESP Easy dont like that.
Can I do something in ESPEASY to fix that or can the values get changed with help of mosquitto or NodeRed ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT Import with values inside {}

#2 Post by grovkillen » 19 Jul 2019, 11:38

Currently no. But perhaps you could wish for a "JSON to num" feature? Please open a new feature (issue) on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

chemmex
Normal user
Posts: 92
Joined: 15 Feb 2019, 16:18

Re: MQTT Import with values inside {}

#3 Post by chemmex » 26 Jul 2019, 16:37

I'd use Node-Red to convert JSON data to whatever ESPEasy could accept and pub it back into different topic.

Quart
Normal user
Posts: 45
Joined: 16 Jul 2019, 10:08
Location: Sweden
Contact:

Re: MQTT Import with values inside {}

#4 Post by Quart » 30 Jul 2019, 21:41

Thats smart, will do that to

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests