Subscribe
Notify of
guest
34 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
garret
garret
4 years ago

Ciao gran progetto, lo sto usando tantissimo; complimenti ancora.
Avrei bisogno di una spiegazione sintetica di queste funzioni:
Triger delay time
Active time
Time extend on trigger
Pull-up resistor

ti ringrazio per la risposta.

jeylites
jeylites
4 years ago

Apple Just released a new open source of Home kit, cross compatibility with Google and Alexa

https://github.com/apple/HomeKitADK

jeylites
jeylites
4 years ago

Hi, nice project! I thought I would give it a try on a Wemos d1 mini. I think i burn it right but can’t seem to get it working.

I’m using esptool.py to burn the image, below is the syntax I used.

esptool.py –port /dev/cu.usbserial-1420 write_flash 0x1000 /Applications/Python\ 3.8/main.bin

jeylites
jeylites
Reply to  admin
4 years ago

Just to make sure I understood
1) Flash RTOS boot file on 0x1000
2) Flash RTOS config file on 0x1000

3) Flash with Main Bin? 0x2000

It seems like some files are EXE, I’m using an Apple Mac

jeylites
jeylites
Reply to  admin
4 years ago

I gave it a shot but they these messages on serial terminal

pio device monitor –port /dev/cu.usbserial-1420 –baud 115200
Highgreat:Atom Tasmota-7.1.2 jeyk$ pio device monitor –port /dev/cu.usbserial-1420 –baud 115200
— Miniterm on /dev/cu.usbserial-1420 115200,8,N,1 —
— Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H —
bmp280_init

bmp280_init2

Sensor not foundSensor initialization failed
bmp280_init

bmp280_init2

————————————-
esptool.py –port /dev/cu.usbserial-1420 write_flash -fs 4MB -fm dout 0x0000

/Users/jeyk/Downloads/rboot.bin
esptool.py –port /dev/cu.usbserial-1420 write_flash -fs 4MB -fm dout 0x1000

/Users/jeyk/Downloads/blank_config.bin
esptool.py –port /dev/cu.usbserial-1420 write_flash -fs 4MB -fm dout 0x2000
/Users/jeyk/Downloads/main.bin

jeylites
jeylites
Reply to  admin
4 years ago

What GPIO I should use, You suggested above to use 12, 13, 15. I wire the motion sensor to it, no pull resistor but I still get the no sensor error. Also, there is no wifi AP.
I see that You post terminal output from Indor Sensor on Alarm post comments.

To use motion sensors You need to flash ESP with my other project called SecurityFirmware look for v2.1

jeylites
jeylites
Reply to  admin
4 years ago

I’m using Wemos D1mini with HC-SR501 IR motion sensor. I put a 250ohm resistor in series with the D1 input pin and motion sensor

jeylites
jeylites
Reply to  admin
4 years ago

Yes it connected to VIN, the motion works because I connect an LED to the output signal. And I know the D1 is working because I tried with Tasmota and it works on the same outputs 12, 13, 15.

jeylites
jeylites
Reply to  admin
4 years ago

Alarm V2.1 works, the files from the Kit folder is broken I think. That’s what I had previously.

Now I’m trying to figure out how to pair with Homekit. Every time when I try to run homekit I lose access to webserver. and the 1p address is not responsive. The GUI is super cool and easy.

jeylites
jeylites
Reply to  admin
4 years ago

Main.bin file in this folder “Dziky flash KIT” might be broken.

Is there an 8 digi code to pair the sensor because I can’t seem to get the sensor to show up on HK & EVE app?

I do see the D1 flashing every two seconds…

jeylites
jeylites
Reply to  admin
4 years ago

Tried 111 11 111, still, nothing shows up, even after a power cycle. I don’t know if it’s just my phone since I updated it to the latest iOS.

jeylites
jeylites
Reply to  admin
4 years ago

yeah, just did a power cycle on everything -phone, D1, and router still nothing shows up on the App with the 111 11 111 code. Maybe it’s the latest IOS version issue

jeylites
jeylites
Reply to  admin
4 years ago

https://pastebin.com/M8zd9Wrd

See the link above

jeylites
jeylites
Reply to  admin
4 years ago

https://pastebin.com/VQ9MkQqp

Above is what I used.

Wyss
Wyss
5 years ago

I love it!!! Thanks

okanduzyel
Okan
5 years ago

Hi,

Could you add output pin for real siren and it’s time out please?

When alarm trigged, that pin will be high for seconds which user had defined.

okanduzyel
okanduzyel
Reply to  admin
5 years ago

Thank you for your interest!

okanduzyel
okanduzyel
Reply to  Okan
5 years ago

Addition: Can you add a button input for it like sonoff toggle. (For example, GPIO0 is good choice for it) For example, If that input short pressed, alarm will change the states off-home*, outside*, night* (* choose three of one). If long pressed, it resets wifi configuration and DHCP router can be opening for managing of ports or settings of alarm. Briefly I say that, we could also open or close our alarm with physical button and users shouldn’t need to program esp again when modem’s wifi name or password has changed or user wants to add more sensors after… Read more »

34
0
Would love your thoughts, please comment.x
()
x