Simply power servo through transistor driven by another gpio pin and switch power off, when servo is not driven to move.
But servo can move under some force then, because it is not held in its position by motor force.
Search found 190 matches
- 28 Feb 2018, 23:22
- Forum: ESP Easy: Software
- Topic: Release/Stop Driving Servo?
- Replies: 20
- Views: 16216
- 26 Feb 2018, 15:17
- Forum: ESP Easy: Hardware
- Topic: Sonoff Basic + wall push button with pilot light
- Replies: 21
- Views: 16912
Re: Sonoff Basic + wall push button with pilot light
I think you cannot use it this simply way = modify LED circuit and connect switch contacts to sonoff Color LEDs need 2.5 - 3.5V and sonoff GPIO is 3.3V I can imagine this circuit: +3.3V ----- R1 ------ R2 -------- LED ---------- GND GPIO connect between R1 and R2. R1 + R2 must be that value, to limi...
- 26 Feb 2018, 14:37
- Forum: ESP Easy: Software
- Topic: rules sending data
- Replies: 14
- Views: 16023
Re: rules sending data
Maybe his Domoticz is password protected.
SendToHTTP cannot handle it, I think.
SendToHTTP cannot handle it, I think.
- 25 Feb 2018, 14:31
- Forum: ESP Easy: Hardware
- Topic: Sonoff Basic + wall push button with pilot light
- Replies: 21
- Views: 16912
Re: Sonoff Basic + wall push button with pilot light
It is LED with circuit to allow 230 V.
Try bypass this circuit or change by normal LED
https://www.shopelektro.cz/vypinace-a-z ... e-led-lamp
Try bypass this circuit or change by normal LED
https://www.shopelektro.cz/vypinace-a-z ... e-led-lamp
- 25 Feb 2018, 13:45
- Forum: ESP Easy: Software
- Topic: rules sending data
- Replies: 14
- Views: 16023
Re: rules sending data
I am not tested it, but I recommend:
Create dummy device in ESPeasy, mark "Send to Controller" with correct IDX.
And by rules, copy received value from serial port to this dummy device.
ESPEasy send mechanism then sends this value to Domoticz.
Create dummy device in ESPeasy, mark "Send to Controller" with correct IDX.
And by rules, copy received value from serial port to this dummy device.
ESPEasy send mechanism then sends this value to Domoticz.
- 23 Feb 2018, 22:44
- Forum: ESP Easy: Hardware
- Topic: Sonoff basic with wall switch
- Replies: 23
- Views: 21532
Re: Sonoff basic with wall switch
Or enable internal pullup on SW01 device tab.
- 19 Feb 2018, 20:04
- Forum: ESP Easy: Hardware
- Topic: Sonoff basic with wall switch
- Replies: 23
- Views: 21532
Re: Sonoff basic with wall switch
You must set correct switch mode in ESPeasy. "Switch Button Type: Normal Switch or Push Button It depends on your mechanical switch type. If you have got push button, select Push Button and then each press of switch changes relay state. If You have got ON/OFF switch, select normal switch and th...
- 19 Feb 2018, 20:01
- Forum: ESP Easy: Hardware
- Topic: Sonoff basic with wall switch
- Replies: 23
- Views: 21532
- 16 Feb 2018, 22:50
- Forum: ESP Easy: Hardware
- Topic: Sonoff basic with wall switch
- Replies: 23
- Views: 21532
Re: Sonoff basic with wall switch
You must write some "Rules" to ESPeasy. Something like this: on lamp_on do gpio,12,1 gpio,13,0 endon on lamp_off do gpio,12,0 gpio,13,1 endon on lamp_change do if [rele#Switch]=1 event,lamp_off SendToHTTP 192.168.1.253,8080,/json.htm?type=command¶m=switchlight&idx=19&switch...
- 12 Feb 2018, 22:45
- Forum: ESP Easy: Software
- Topic: Read switch state from json/domoticz
- Replies: 7
- Views: 8172
Re: Read switch state from json/domoticz
Define user variable in Domoticz and set it to 0. When your ESPEasy wakeups, set this variable to 1 ( Through JSON API call - /json.htm?type=command¶m=updateuservariable&vname=USERVARIABLENAME&vtype=USERVARIABLETYPE &vvalue=USERVARIABLEVALUE ) In Domoticz make script, which when ...
- 12 Feb 2018, 22:20
- Forum: ESP Easy: Projects / Applications
- Topic: Mistake with the rules?
- Replies: 6
- Views: 5284
Re: Mistake with the rules?
And what about "Internal PullUp" ?
Similar device here:
https://www.letscontrolit.com/wiki/inde ... noff_Touch
Similar device here:
https://www.letscontrolit.com/wiki/inde ... noff_Touch
- 29 Jan 2018, 22:51
- Forum: ESP Easy: Projects / Applications
- Topic: Read button state from deep sleep
- Replies: 10
- Views: 10431
Re: Read button state from deep sleep
I believe to datasheet.
Without LDA, USB and some settings ....
https://tinker.yeoman.com.au/2016/05/29 ... revisited/
Without LDA, USB and some settings ....
https://tinker.yeoman.com.au/2016/05/29 ... revisited/
- 29 Jan 2018, 15:21
- Forum: ESP Easy: Projects / Applications
- Topic: Read button state from deep sleep
- Replies: 10
- Views: 10431
Re: Read button state from deep sleep
But 23uA for arduino is more than 20uA with only ESP2866 in deep sleep.
So only benefit is wakeup not cca per one hour but per 4 hours.
- 26 Jan 2018, 21:22
- Forum: ESP Easy: Projects / Applications
- Topic: Read button state from deep sleep
- Replies: 10
- Views: 10431
- 25 Jan 2018, 10:42
- Forum: ESP Easy: Projects / Applications
- Topic: Use Modul to set Voltage to Ports
- Replies: 5
- Views: 4897
Re: Use Modul to set Voltage to Ports
If you have got enough free gpios, you can simply use something like this:
https://makezine.com/2011/02/15/dac/
With your 2 pins you get only 4 levels, with 3 pins 8 etc.
https://makezine.com/2011/02/15/dac/
With your 2 pins you get only 4 levels, with 3 pins 8 etc.
- 25 Jan 2018, 10:31
- Forum: ESP Easy: Projects / Applications
- Topic: long press without knowing the begin state (can be eather 1 or 0)
- Replies: 5
- Views: 4464
Re: long press without knowing the begin state (can be eather 1 or 0)
Only my idea for detection "quick double click". Using dummy variable. On click event add 1 to this variable and set tImer to 1s On timer event check, if variable contains 1 = single click or 2 = double click. Do your needed action and reset variable again to 0. But you must check if it is...
- 25 Jan 2018, 10:11
- Forum: ESP Easy: Projects / Applications
- Topic: Control LED strip by PIR sensor (with timer function?)
- Replies: 4
- Views: 13135
Re: Control LED strip by PIR sensor (with timer function?)
Why using Domoticz fot this task? Simply use rules on your ESPeasy. It works then without Domoticz. If PIR sensor triggers, set gpio pin for your LEDs on and set Timer1 to 120sec. And On Timer1 event set gpio pin for your LEDs off. Or if your PIR and LEDs are on different ESPEasys, send command dire...
- 25 Jan 2018, 09:53
- Forum: ESP Easy: Projects / Applications
- Topic: Read button state from deep sleep
- Replies: 10
- Views: 10431
Re: Read button state from deep sleep
I think that better way then using deepsleep is completely battery off state. When someone press button, it will power up ESP, on "on System#Boot do" hold power through gpio with transistor or relay, send event and then, after some time switch ESP itself off. You can run years with one bat...
- 21 Jan 2018, 15:03
- Forum: ESP Easy: Software
- Topic: Own idx, rules and domoticz
- Replies: 51
- Views: 51936
Re: Own idx, rules and domoticz
And what about to tray do not use "dot" in variable names?
Instead of PMS5003#pm1.0 use PMS5003#pm1_0
I do not see anything else, what can make problems.
But I am not with my ESPeasys to tray now.
Instead of PMS5003#pm1.0 use PMS5003#pm1_0
I do not see anything else, what can make problems.
But I am not with my ESPeasys to tray now.
- 21 Jan 2018, 14:44
- Forum: ESP Easy: Projects / Applications
- Topic: counting mAh
- Replies: 3
- Views: 3702
Re: counting mAh
Maybe I do not understand what you exactly wants. But for my perspective there is no problem. For each battery you need only one variable - energy sum ( and each of 12 tasks can store 4 of this variables ). I think one second interval is too short for ESPeasy. I suggest 10s. With rules measure mA ev...
- 21 Jan 2018, 14:06
- Forum: ESP Easy: General Discussion
- Topic: ESP MEGA - Pulse Counter
- Replies: 14
- Views: 15252
Re: ESP MEGA - Pulse Counter
He has 1600 imp per kwh
1/1600 = 0,000625 It is 0,62 you can see - last number 5 is not visible in formula )
1/1600 = 0,000625 It is 0,62 you can see - last number 5 is not visible in formula )
- 07 Jan 2018, 23:03
- Forum: ESP Easy: Software
- Topic: Esp easy update temperature to domoticz generate a reboot
- Replies: 6
- Views: 5812
Re: Esp easy update temperature to domoticz generate a reboot
I have some nodes with DS18b20 too. They reboots randomly, but I think, that it is my power distribution problem. Now I see, I am not alone. I download dev13_normal into one node and it works more then 3 days without reboot. Others, with dev12, reboots after each couple of hours. It seems, that dev1...
- 10 Dec 2017, 20:31
- Forum: ESP Easy: General Discussion
- Topic: Espeasy watchdog
- Replies: 6
- Views: 10535
Re: Espeasy watchdog
adrianmihalko wants check connection with Domoticz. So he can send commands from Domoticz in certain interval - for example every 1 minute. Instead of command "?cmd=GPIO,14,0 and xy/control?cmd=GPIO,14,1" he will send for example " ?cmd=RELAY_OFF and xy/control?cmd=RELAY_ON" On E...
- 07 Dec 2017, 21:53
- Forum: ESP Easy: General Discussion
- Topic: EspEasy,relay recovery the last state after power failure
- Replies: 5
- Views: 6146
Re: EspEasy,relay recovery the last state after power failure
Or you can periodically send state of relays from Domoticz to ESPeasy with LUA scripts - for every minutes for example. Then max. 1 minute after reboot relays will obtain its correct state. Or when booting ESP, send through rules JSON command to Domoticz ( setting variable or dummy switch "ESP_...
- 05 Dec 2017, 23:44
- Forum: ESP Easy: Projects / Applications
- Topic: Off Topic: is there something like espeasy for arduino with ethernet?
- Replies: 5
- Views: 5071
- 05 Dec 2017, 16:34
- Forum: ESP Easy: Hardware
- Topic: HC-SR04+ and wemos d1 mini pro
- Replies: 45
- Views: 32153
Re: HC-SR04+ and wemos d1 mini pro
Please explain what fried several ESP8266 on trying 5V feed here. Talking to someone who talked to someone is no valid explanation for that. And datasheet is not valid information? But better looking for graphs someone measured? Look again at entire text and graphs: https://ba0sh1.com/blog/2016/08/...
- 05 Dec 2017, 16:26
- Forum: ESP Easy: Projects / Applications
- Topic: water leak sensor
- Replies: 28
- Views: 28974
Re: water leak sensor
He do not use deep sleep because high consumption 20 mikroAmp and wake up interval max 74 minutes. His solution uses timer to wake up possibility every max 7 200 seconds ( not wake up really - switch on ESP and through sw action switch off then ) or through external event. Consumption 1 mikroAmp. Wi...
- 05 Dec 2017, 11:45
- Forum: ESP Easy: Hardware
- Topic: HC-SR04+ and wemos d1 mini pro
- Replies: 45
- Views: 32153
Re: HC-SR04+ and wemos d1 mini pro
https://ba0sh1.com/blog/2016/08/03/is-e ... -tolerant/
Page 17 here
https://cdn-shop.adafruit.com/product-f ... N_v4.3.pdf
And I saw some presentation about ESP2866 and spokesman said he talked with director of Espressif about this.
Page 17 here
https://cdn-shop.adafruit.com/product-f ... N_v4.3.pdf
And I saw some presentation about ESP2866 and spokesman said he talked with director of Espressif about this.
- 05 Dec 2017, 08:49
- Forum: ESP Easy: Hardware
- Topic: HC-SR04+ and wemos d1 mini pro
- Replies: 45
- Views: 32153
Re: HC-SR04+ and wemos d1 mini pro
"Espressif CEO Mr Teo Swee Ann commented that “i can reply officially here: it is 5V tolerant at the IO. while the supply voltage is at 3.3V.” Page 17 of ESP8266 Datasheet it is mentioned “All digital IO pins are protected from over-voltage” ( 6V ) Of course some serial safety resistors are alw...
- 03 Dec 2017, 23:37
- Forum: ESP Easy: Projects / Applications
- Topic: water leak sensor
- Replies: 28
- Views: 28974
Re: water leak sensor
But do not forgot, that if you wake up your sensor only when water leak, you will never know, if your sensor is still alive after some time. Better way is wake up sensor periodically and send some data to controller ( with battery voltage for example ). And if controller do not receive any data for ...
- 03 Dec 2017, 23:03
- Forum: ESP Easy: Software
- Topic: Problems with R2.0-dev12
- Replies: 22
- Views: 13595
Re: Problems with R2.0-dev12
GPIO12 rele1 output - task2 GPIO16 rele2 output - task4 GPIO13 push1 input - task1 button to ground with pull up ( to change state of rele1 ) GPIO14 push2 input - task3 button to ground with pull up ( to change state of rele2 ) Pull up means, that there are internal resistor to +3.3V . So logical 1 ...
- 03 Dec 2017, 21:49
- Forum: ESP Easy: Hardware
- Topic: HC-SR04+ and wemos d1 mini pro
- Replies: 45
- Views: 32153
Re: HC-SR04+ and wemos d1 mini pro
ESP2866 GPIOs are 5V tolerant.
Resistor divider not needed.
Resistor divider not needed.
- 03 Dec 2017, 21:39
- Forum: ESP Easy: Software
- Topic: Problems with R2.0-dev12
- Replies: 22
- Views: 13595
Re: Problems with R2.0-dev12
vader, can you explain why we need this inputswitchstate command please? I see, there are pull up resistors on inputs, so they hold 1( high) state all the time. Except, when switch is pushed. So why set it to 1 by sw command. Thank you very much. PS By the way. Where we can find list and description...
- 21 Nov 2017, 23:44
- Forum: ESP Easy: Hardware
- Topic: Control relay with physical locally button
- Replies: 15
- Views: 12522
Re: Control relay with physical locally button
Put it next line after you change gpio status. But I use different command: SendToHTTP 192.168.1.253,8080,/json.htm?type=command¶m=switchlight&idx=26&switchcmd=On You mus send command for report "off" status too SendToHTTP 192.168.1.253,8080,/json.htm?type=command¶m...
- 19 Nov 2017, 19:18
- Forum: RFLink: Hardware Related discussions
- Topic: RFLink connected to Rasp GPIO instead of USB!!
- Replies: 17
- Views: 21336
Re: RFLink connected to Rasp GPIO instead of USB!!
I think, that autor wants replace hole Arduino Meg, not connect it through serial port on GPIO. If you want connect 433Mhz receiver and transmitter pins directly to Rasp PI gpio pins - yes, it is possible. RfLink sw runs on Rasp pi intead of Arduino then. No Arduino nedded. Github: https://github.co...
- 09 Nov 2017, 11:39
- Forum: ESP Easy: Projects / Applications
- Topic: Thermostat for el. floor heating - ESPeasy + Domoticz
- Replies: 0
- Views: 2685
Thermostat for el. floor heating - ESPeasy + Domoticz
Here is my quick project:
https://www.youtube.com/watch?v=1ef6tRinOQ4
https://www.youtube.com/watch?v=1ef6tRinOQ4
- 03 Nov 2017, 22:36
- Forum: ESP Easy: Projects / Applications
- Topic: water leak sensor
- Replies: 28
- Views: 28974
Re: water leak sensor
Something like this:
https://e2e.ti.com/blogs_/b/powerhouse/ ... te-mosfets
datasheet:
http://www.ti.com/product/TPS22910A
Quiescent Current (Iq) (Typ) (uA):
But it is possible with discrete parts too.
https://e2e.ti.com/blogs_/b/powerhouse/ ... te-mosfets
datasheet:
http://www.ti.com/product/TPS22910A
Quiescent Current (Iq) (Typ) (uA):
But it is possible with discrete parts too.
- 02 Nov 2017, 13:04
- Forum: ESP Easy: General Discussion
- Topic: Sending Email directly with Task
- Replies: 10
- Views: 6813
Re: Sending Email directly with Task
@ toffel969
Very educative...
And by the way - try you find some ESPEasy related links on your google search example?
Lol, there is nothing about ESPEasy !
Maybe search engine is broken, like you wrote ...
Very educative...
And by the way - try you find some ESPEasy related links on your google search example?
Lol, there is nothing about ESPEasy !
Maybe search engine is broken, like you wrote ...
- 02 Nov 2017, 12:20
- Forum: ESP Easy: Projects / Applications
- Topic: water leak sensor
- Replies: 28
- Views: 28974
Re: water leak sensor
I think about water leak sensor too. I want long battery life and let my controller ( Domoticz ) now, that sensor is alive + send me message, if not. Circuit, witch switch on power for ESPEasy when water leak is detected, its not big problem. All other time ESPEasy is switched completely off. But se...
- 12 Oct 2017, 22:24
- Forum: ESP Easy: Software
- Topic: electric pulse count to domoticz
- Replies: 17
- Views: 18533
Re: electric pulse count to domoticz
But calculate the time between the pulses is not actual usage. It is usage between last two pulses only. With heavy load, its close to actual usage, but less power - less actuality of data. Imagine what happens, when power goes to zero. Sensor wait for last pulse, wait, wait, wait .... You never kno...