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?
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.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- Franklin97355
- Posts: 23903
- Joined: Mon Apr 21, 2008 2:33 pm
Re: error publishing from client
Can you post your code (without your keys or network information) so we can see how the publish is formatted?
- Trundle01
- Posts: 3
- Joined: Wed Jun 20, 2018 8:31 am
Re: error publishing from client
The client is a plc with mqtt built in - so message is generated by an inbuilt function triggered from ladder logic.
- Trundle01
- Posts: 3
- Joined: Wed Jun 20, 2018 8:31 am
Re: error publishing from client
Got to the bottom of it... was the nut behind the wheel :) getting addressing and terminology precise was the sticking point....
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.