Feed not showing in io adafruit from Tasmota flashed device

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
Tseard01
 
Posts: 3
Joined: Thu May 06, 2021 2:26 pm

Feed not showing in io adafruit from Tasmota flashed device

Post by Tseard01 »

Hello,

I can't get the data to show up on my feeds page.
The Tasmota flashed device is a ESP8266 board, the connection to io adafruit is established.
Also the device is doing it's mqtt thing as it is shown on the console.
It sends data to io adafruit.
My guess there is something going on with the topic.
The current full topic is:

user/feeds/as3935/ where user is my username.

All mqtt setup:


MQTT Host io.adafruit.com
MQTT Port 1883
MQTT User my user name
MQTT Client cjmcu
MQTT Topic user/feeds/as3935/
MQTT Group Topic 1 tasmotas/cmnd/
MQTT Full Topic user/feeds/as3935/
MQTT Fallback Topic cmnd/cjmcu_fb/
MQTT No Retain Disabled



Hope someone can help

With kind regards T.J.

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Feed not showing in io adafruit from Tasmota flashed dev

Post by brubell »

I have a few ideas, but I do not have a Tasmota to test against:
MQTT Group Topic 1 tasmotas/cmnd/
Drop the group topic. try subscribing to a feed without a group.

What happens when you publish to the topic? Can you visit io.adafruit.com/monitor, turn on your tasmota, and look at the monitor page's output?

User avatar
Tseard01
 
Posts: 3
Joined: Thu May 06, 2021 2:26 pm

Re: Feed not showing in io adafruit from Tasmota flashed dev

Post by Tseard01 »

The tasmota device sends the qmtt messages with capital letters, the Adafruit io platform only accepts lower case letters.
I get these:
bliksemdetector/SENSOR = {"Time":"2021-05-11T15:48:07","AS3935":{"Event":0,"Distance":0,"Energy":0,"Stage":7}}

I cannot change this.
Tried another broker and then it does work....

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Feed not showing in io adafruit from Tasmota flashed dev

Post by brubell »

If you can not modify the expected payload/message format, I don't think Adafruit IO will work for your use-case with the Tasmota.

User avatar
Tseard01
 
Posts: 3
Joined: Thu May 06, 2021 2:26 pm

Re: Feed not showing in io adafruit from Tasmota flashed dev

Post by Tseard01 »

Well, I, have got it running on Adafruit io, at last.
Added the wildcard (#) to the topic.
Now there are several feeds created such as LWT, STATE, INFO1, SENSOR, etc.
When I checked my feeds, I noticed entry points from earlier this month.
Pretty neat, as I can now choose the feed In want!
Next step, get it to show on my weather website,

I'll keep you updated...

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Feed not showing in io adafruit from Tasmota flashed dev

Post by brubell »

Great, thank you for updating me!

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”