error publishing from client

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
Trundle01
 
Posts: 3
Joined: Wed Jun 20, 2018 8:31 am

error publishing from client

Post by Trundle01 »

G'day all
I'm new at IOT - and trying to publish to adafruitio mqtt broker from an automation direct click-plus plc.
I've got part of it right but not quite.... I get following error from broker each time i try to publish...

PUBLISH to topic `feeds/DTank` rejected, topic is not a recognized format

ive double checked names etc and can't see an issue there.
Can anyone enlighten me to my error please?

User avatar
Franklin97355
 
Posts: 23903
Joined: Mon Apr 21, 2008 2:33 pm

Re: error publishing from client

Post by Franklin97355 »

Can you post your code (without your keys or network information) so we can see how the publish is formatted?

User avatar
Trundle01
 
Posts: 3
Joined: Wed Jun 20, 2018 8:31 am

Re: error publishing from client

Post by Trundle01 »

The client is a plc with mqtt built in - so message is generated by an inbuilt function triggered from ladder logic.

User avatar
Trundle01
 
Posts: 3
Joined: Wed Jun 20, 2018 8:31 am

Re: error publishing from client

Post by Trundle01 »

Got to the bottom of it... was the nut behind the wheel :) getting addressing and terminology precise was the sticking point....

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”