Hello everyone, I am a student who has just started experimenting with home assistant, I am trying to complete a motion monitoring system that runs on home assistant and is made using pipicow with pir sensors, I have successfully added pipicow to esphome through youtube tutorials, but now I don’t know how to make the python code to run on home assistant, I already have mircopython code written on thonny, is there any way to do this please? Thanks a lot.
The monitoring system includes a function for detecting the human body and sending emails.
If you have it working in esphome, it should be represented in HA.
I can’t read that. Reminder, this is an English language forum.
What exactly are you trying to do?
In a nutshell, I made a motion detector consisting of a pi picow with a pir sensor and ran that code on thonny, but I now have the pi picow connected to the esphome and would like to control this system directly through HA without having to manually run that code in thonny, I’m not sure how to do this and any help is greatly appreciated.
Then you’ll have to expose the pir sensor through esphome. You don’t seem to have done that, but it is hard to tell as I cannot read the language on your screenshot.
How about posting your esphome yaml.
I just connected pi pico w to esphome without adding any project-related code. Please forgive me, this is my first time contacting HA.
You’ll need to add the PIR as a binary sensor, probably via GPIO
See First ESPhome sensor - PIR stuck on for an example.
Thanks for the help, I will try it.