ESP8266 + HC-SR04

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
maluko
Normal user
Posts: 112
Joined: 02 Sep 2015, 00:49

ESP8266 + HC-SR04

#1 Post by maluko » 09 Sep 2015, 15:27

hi

its any change to put the hc-sr04 work with espeasy support?

i put this example to see.

https://github.com/loiphin/ESP8266

thanks

Martinus

Re: ESP8266 + HC-SR04

#2 Post by Martinus » 09 Sep 2015, 16:01

We had support for this device on the Nodo Project and the plugin has already been ported to the new ESP plugin type. But only in theory, because it has never been tested. (too busy with other ESP related stuff :oops: )

So the plugin has been build but needs to be tested. If it's ok, it will be released with the next ESP Easy update.

Martinus

Re: ESP8266 + HC-SR04

#3 Post by Martinus » 09 Sep 2015, 18:45

maluko wrote:its any change to put the hc-sr04 work with espeasy support?
Just hooked up a HC-SR04 sensor and added the plugin to the source folder. It works and Domoticz receives the distance in cm...

What purpose did you have in mind for this device? Create your own wireless car parking distance sensor? :geek:

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: ESP8266 + HC-SR04

#4 Post by chrille » 09 Sep 2015, 20:20

Martinus wrote:What purpose did you have in mind for this device? Create your own wireless car parking distance sensor? :geek:
I have plans with the HC-SR04 as well. The idea is to use it to detect if my garage port is open or not. The sensor will sit on the ceiling and measure distance. The reason I want to use this, instead of the classic reed door sensor, is that I often leave the port 10-20 cm open (for better ventilation). The sensor will be placed in a distance from the wall, so when the port is open more than 20 cm, it will pass the sensor and be considered open.

- Jan
Jan Chrillesen, Denmark

maluko
Normal user
Posts: 112
Joined: 02 Sep 2015, 00:49

Re: ESP8266 + HC-SR04

#5 Post by maluko » 09 Sep 2015, 23:31

I havê plan on security like when distance are minus than 2m will tell me an alarm or notification.

Martinus

Re: ESP8266 + HC-SR04

#6 Post by Martinus » 13 Sep 2015, 18:06

The HC-SR04 is supported in R20 which has just been released on sourceforge.

maluko
Normal user
Posts: 112
Joined: 02 Sep 2015, 00:49

Re: ESP8266 + HC-SR04

#7 Post by maluko » 13 Sep 2015, 22:20

Martinus wrote:The HC-SR04 is supported in R20 which has just been released on sourceforge.
Thanks martinus, i ll test

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests