감성 코딩
감성 코딩
감성 코딩
전체 방문자
오늘
어제
  • 분류 전체보기
    • Android
      • Kotlin
      • Java
    • 왜?
      • CS
    • 어떻게?
      • Front-end
      • JavaScript(ES6+)
      • NodeJs
      • ESP8266 활용 speakThing에 연결해보..
      • Java && Kotlin 문법
      • 기타등등
      • IOT(Arudino && Rasp)

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

공지사항

  • 운영을 해봅시다!

인기 글

태그

  • 아두이노 thingspeak
  • pug
  • thingspeak
  • 라즈베리파이 Mosquitto
  • IOTServer
  • thingspeak 값전송하기
  • 안드로이드 클래스
  • Android Class
  • class
  • 구글 시트 API
  • 구글 시트
  • ArduinoServer
  • esp8266 iot web
  • ESP8266
  • thingspeak 아두이노
  • 아두이노 ESP8266
  • 아두이노 웹 서버
  • 아두이노
  • android array
  • nodejs
  • 프론트엔드 학습
  • express
  • PHP IOT Web
  • 안드로이드 배열
  • 아두이노 와이파이
  • IoT
  • Google Sheet API
  • 아두이노 PHP 웹서버
  • 아두이노 WIFI
  • 클래스

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
감성 코딩

감성 코딩

RPI Mosqquito 설치 (2021.10.19) (외부접속 안될시 필참!)
어떻게?/IOT(Arudino && Rasp)

RPI Mosqquito 설치 (2021.10.19) (외부접속 안될시 필참!)

2021. 10. 9. 16:54

Mosquitto 홈페이지 접속 (최신버젼 설치)

https://mosquitto.org/

 

Eclipse Mosquitto

Version 2.0 has been released! The full details are available on the blog post. Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol ve

mosquitto.org

상단 네비게이션에

이클립스 mosquitto 상단 네비게이션

다운로드 이다...

 

스크롤을 내리다보면

다운로드 페이지

접속해서 순번대로 설치해준다

mosquitto 라즈베리파이 다운로드 페이지

분명 검색하고 찾아보는 초심자 일텐데

그럼 이제 MQTT 브로커를 작동시켜 테스트를 할 것이다.

 

 

 

DIY메카솔루션 오픈랩 에서 

https://blog.naver.com/roboholic84/221232207387

 

ESP8266과 MQTT 통신 사용해보기

안녕하세요 메카솔루션입니다. 오늘은 저번에 포스트했던 MQTT를 사용해서 센서 값을 받아오는 예제를 ...

blog.naver.com

ESP8266은 스킵하고 안드로이드 MQTT Client 어플을 이용해 MQTT를 테스트 해보자

Play스토어 > MQTT Client

만약) 아이피와 포트정보를 똑바로 입력했음에도 불구하고 안된다면 (토픽이  확인까지..)

 

 

sudo cd .
sudo nano /etc/mosquitto/mosquitto.conf




mosquitto.conf
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example

pid_file /run/mosquitto/mosquitto.pid

persistence true
persistence_location /var/lib/mosquitto/

log_dest file /var/log/mosquitto/mosquitto.log

include_dir /etc/mosquitto/conf.d

//추가
bind_address 0.0.0.0 #허락하는 아이피 
allow_anonymous true # 권한부여

그리고 저장후

mosquitto를 재실행 시켜보자

sudo systemctl restart mosquitto
    감성 코딩
    감성 코딩

    티스토리툴바