Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Temperature and Humidity microcontroller ESP32 on Python (Wokwi Simulation + Hivemq Broker Client)

NotificationsYou must be signed in to change notification settings

potentialhades/ESP32_Simulation_Sensor_DHT22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature (°C) and Humidity (%) microcontroller ESP32 on Python (Wokwi Simulation + Hivemq Broker Client)

Run the simulation on Wokwi and see the messages on Hivemq Broker (publish each 15 seconds)

Project on Wokwi (Micropython on ESP32):https://wokwi.com/projects/328777740948865619

Broker -> option 1: Hivemq Broker Client:http://www.hivemq.com/demos/websocket-client/

Broker -> option 2: Install the app MQTT DASH on Google Play Store

Language: Portuguese

- Option 1: Hivemq Broker website config

Connection

  • Host -> mqtt-dashboard.com
  • Port -> 8884
  • KeepAlive -> 60
  • Click on 'Connect'

Subscriptions - Add new Topic

  • Topic: sala306/temp - or - sala306/umidade - or - sala306/#
  • QoS: 0
  • Click on 'Subscribe'

Run the simulation on Wokwi and see the ESP32 temperature (°C) and humidity (%)'s publish on 'Messages'

- Option 2: App MQTT Dash on Smartphone

Config Broker

  • Click on button '+' (upper right corner of the screen)
  • Name the broker
  • Address: broker.hivemq.com
  • Port: 1883
  • Click on diskette button (upper right corner of the screen) to save

Subscribe Temperature

  • Click on Broker
  • Click on button '+' (upper right corner of the screen)
  • Choose type: 'Text'
  • Name: Temperature
  • Topic: sala306/temp
  • Postfix: °C
  • Click on diskette button (upper right corner of the screen) to save

Subscribe Humidity

  • Click on Broker
  • Click on button '+' (upper right corner of the screen)
  • Choose type: 'Text'
  • Name: Humidity
  • Topic: sala306/umidade
  • Postfix: %
  • Click on diskette button (upper right corner of the screen) to save

Run the simulation on Wokwi and see the ESP32 temperature (°C) and humidity (%)'s publish on the cards created


[8]ページ先頭

©2009-2025 Movatter.jp