Search found 44 matches

by ayhan1
Wed Feb 19, 2025 10:33 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

Actually you don't need to do this. The standard mqtt example given in the flowcode examples can already connect to port 1883 and send data without a username and password. The problem is that I cannot connect to mqtt broker with flowcode by entering username and password using port 8883. NOTE: With...
by ayhan1
Mon Feb 17, 2025 6:25 pm
Forum: Feature Requests
Topic: Will FC support Codey?
Replies: 28
Views: 32022

Re: Will FC support Codey?

The subject caught my attention. I also worked with flowcode to send data to mqtt brokers such as hivemq and emqx. I managed to send data to public servers using port 1883. However, no matter what I did, I could not connect to the encrypted broker using port 8883 with flowcode. You wrote on the foru...
by ayhan1
Mon Feb 17, 2025 5:31 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

On the esp32 - there is a MQTT library. It would be fairly easy to use that - and it supports extra features such as certification, Last Will and Testament messages etc... Martin Is this library you mentioned available in flowcode? NOTE: I found an interesting solution. I printed the code I wanted ...
by ayhan1
Sun Feb 02, 2025 3:41 pm
Forum: Feature Requests
Topic: How can we use the esp now protocol with flowcode?
Replies: 11
Views: 13149

Re: How can we use the esp now protocol with flowcode?

Is there a date for when the espow protocol will be added to flowcode?
by ayhan1
Sun Feb 02, 2025 3:26 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

Hello again. It's me again :) I was able to connect to public (free) hivemq and emqx mqtt brokers with flowcode and I can send data (For example broker.emqx.io port:1883). But I can't connect as private mqtt, password etc. everything is correct (For example my broker address is y131ffc0.ala.eu-centr...
by ayhan1
Mon Jan 20, 2025 10:53 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

So this is my version for ThingSpeak - it would take some work to change to ThingBoard - and I haven't looked yet... I've used NetworkComms to do all the work - to give a different perspective from Iain's version. It writes three data fields to a test ThingSpeak account (.count, count * 2, .count *...
by ayhan1
Sun Jan 19, 2025 3:28 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

Posting should work using the above - 1234567 needs to be replaced by your channel ID number. I think 'pot' and the like only work using a RPi as MQTT Server... I couldn't work out how to read a channel using 'subscribe' - hence my example above. I'll try and post an example this evening showing ea...
by ayhan1
Sun Jan 19, 2025 12:34 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

It would be good for all flowcode users if the Flowcode team created and released a working example for an mqtt broker They have, and there are examples of people using the component in the forums such as https://www.flowcode.co.uk/forums/viewtopic.php?f=3&t=999&p=5495#p5495 In this example...
by ayhan1
Sat Jan 18, 2025 5:17 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

Hi I think flowcode team should make an application that works on this issue. I think the above is a little unfair as the forum has posts on successfully using MQTT. I'm a little confused as initially the conversation is regarding Thingsboard / Hive but changes to ThingSpeak. Numerous posts (some b...
by ayhan1
Fri Jan 17, 2025 11:11 pm
Forum: General
Topic: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?
Replies: 31
Views: 10515

Re: thingsboard, hivemq etc. using ESP32 or ESP8266 MQTT. I failed to send data. What am I doing wrong?

This is my sample - I've left in my ThingSpeak credentials (so you should be able to post and read my test account) You'll need to set the SSID and Password - I just use a hotspot on my phone at 2.4GHz One issue might be stack size... We'll address that if it occurs (and changing topic / json to gl...