element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Extreme Environments
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Extreme Environments
  • More
  • Cancel
Experimenting with Extreme Environments
Blog Extreme Environment Home Assistance Sensors #6 Final Blog Home Assistant on the Go in Mobile
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experimenting with Extreme Environments to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fyaocn
  • Date Created: 21 Jun 2024 3:14 AM Date Created
  • Views 412 views
  • Likes 8 likes
  • Comments 0 comments
  • winners
Related
Recommended

Extreme Environment Home Assistance Sensors #6 Final Blog Home Assistant on the Go in Mobile

fyaocn
fyaocn
21 Jun 2024

image

#6 Final Blog: Home Assistant on the Go in Mobile

For Extreme Environment Home Assistance Sensors

1 Brief

Home Assistant Operation System can utilize many plugins and hardware to integrated in one smart control system. This can be arranged at home and outdoor in hash environment. 

image

In this challenge, Raspberry Pi CM4 with rich peripherals to extend,  I have prepare PCIex1 Slot NVME board but the HAOS is not supported for this version. And the Camera AI is tested in Blog 5 but not included in final bolg.

This final blog include what can be shown at this moment, there are still more can be done with extensive choice. Which is can be access from mobile with Home Assistant Application download from Google APP market.

image

There are many applicable plugins for Home Assistant, I have a long screenshot from mobile, I rotate it 90 degree since it is not easy for desktop, it can be download and rotate to right angle.

image

2 Run Mobile APP

After the HAOS installed on Raspberry Pi CM4, start the mobile APP.

image

Wait until HAOS is well installed with log output,

image 

Now, it complete and ready to use.

image

 

3 Create Use and First Configuration

Create user

image 

Make configuration, select location setting,

imageimageimageimage

find Smart Devices can be included in HAOS,

image

4 Add Smart Sensors in ESPHome

Connect the network where Home assistant OS is running, connect the CM4 with the name below or change to other name, then waiting for splash screen 

imageimage

The Raspberry CM4 embedded with battery sensor, which can be added in control console,

imageimage

Go to add-on  to browse,

imageimage

then add ESPhome add-on 

imageimageimage

image

If customize service in new board, MQTT broker can be used and added as plugin

imageimage

5 Add Sensor in Console

Add Smart Sensor in espHome

image

Install hardware with New Device

image

choose the type of hardware

image

finish with new device added, more can be added if repeating again,

image

edit the yaml file

image

with define how the sensor behavior

esphome:
  name: xiao-esp32c3
  platformio_options:
   board_build.flash_mode: dio

esp32:
  board: seeed_xiao_esp32c3
  variant: esp32c3
  framework:
    type: arduino
    platform_version: 5.4.0

logger:
hardware_uart: UART0

api:

ota:

wifi:
  ssid: "UMASS fried chicken"
  password: "Zacharyloveschicken"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Xiao-Esp32C3 Fallback Hotspot"
    password: "MoLTqZUvHwWI"

captive_portal:

i2c:
  sda: GPIO6
  scl: GPIO7
  scan: True
  id: bus_0x38

sensor:
  - platform: aht10
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 60s

  - platform: adc
    pin: GPIO2
    name: "Light Sensor"
    update_interval: 6s   

build and install the firmware in xiao-esp32c3

image

Then the hardware can be discovered automatically

image

Add the light sensor with voltage,

image

Now the light sensor can be read from Home view of home assistant APP

image

6 Summary

This is rough summary of how the Home assistant is built with step by step guild, more smart sensor can be added as well.

image

 Reference

[1] Extreme Environment Home Assistance Sensors #5 Implement AI vision with Luckfox Pico Pro Board - element14 Community

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube