einfachIT / scratch3-messaging-extension

Apache License 2.0
1 stars 0 forks source link

Develop the MQTT broker/server #11

Open IsrarullahZaheer opened 6 months ago

IsrarullahZaheer commented 6 months ago
IsrarullahZaheer commented 6 months ago

Hallo Mr. @Bassinator, I have a question, We have some MQTT Broker/server for example

  1. Mosquitto
  2. Eclipse Projects
  3. HiveMQ
  4. EMQX

    Do you want to develop a MQTT broker/server like above Or want to make a connection with one of the above MQTT broker/server to receive/send messages?

Bassinator commented 6 months ago

mosquito. We already have good experience with it.

IsrarullahZaheer commented 6 months ago

this task is done with #16

Bassinator commented 4 months ago

This is not done. You still use a public online server. Everybody can send and receive messages here. The broker needs to run on the localhost and only accept connections from localhost. That was agreed on. See pasted picture.

image
IsrarullahZaheer commented 4 months ago

Hallo Mr. @Bassinator, we need to install local broker server separately in our system to access only in localhost instead of online public broker. the local broker server should run in background while running scratch 3 with mqtt in localhost.

Bassinator commented 4 months ago

This is the question, Yes. You just need to and install the Broker Packages from Mosquito. Eventuell in Firewall you e.g UFW https://www.privacy-handbuch.de/handbuch_92.htm and Konfiguration According to Only allow Access from localhost. What is you Fine the Better way to Ristic the Access u r Welcome.

IsrarullahZaheer commented 4 months ago

ok sir, I will enable the firewall and also I can restrict outside connection in broker itself.

Bassinator commented 4 months ago

If you can restrict it on the broker itself, no firewall needed

IsrarullahZaheer commented 4 months ago

Dear Mr. @Bassinator, Please restart epic Raspberry pi system, the screen freezed again I can't do anything.

IsrarullahZaheer commented 4 months ago

Dear Mr. @Bassinator I successfully configured the local Mosquito Broker server and tested in codespace, its working. once I have access to raspberry pi system I will configure there as well.

Bassinator commented 3 months ago

@IsrarullahZaheer Login should work again

IsrarullahZaheer commented 3 months ago

@Bassinator, yes it's working I will test it and let you know about it. Thanks

IsrarullahZaheer commented 3 months ago

Dear Mr. @Bassinator, I configured Mosquitto broker server on Rasbpi and allow access from localhost,

I want to test it from other device, but there is again a login problem to the raspberry pi system, its loading and I can't login into the system. Please restart Raspberry PI system again, actually the storage of epic ( raspberry pi ) is full.

Image

Image

IsrarullahZaheer commented 3 months ago

Dear Mr. @Bassinator, I need access to rasbpi system currently its not working, Maybe If you restart it, It will work. thanks

IsrarullahZaheer commented 3 months ago

Dear Mr. @Bassinator I have implemented the local mosquittto broker server, I also added the firewall (UFW) the instruction is added in the documentation.