Search found 64 matches
- 27 Nov 2017, 22:13
- Forum: ESP Easy: General Discussion
- Topic: Increase number of devices
- Replies: 18
- Views: 16279
Re: Increase number of devices
Just as long as you use it as an output. Use a 16port MCP21017 as an input and you will see... I use the expander for both input and output and works as expected, the only limitation is that you have to waste a Task for each input. Anyway I never use built in GPIO for direct input or output as per ...
- 27 Nov 2017, 18:47
- Forum: ESP Easy: General Discussion
- Topic: Increase number of devices
- Replies: 18
- Views: 16279
Re: Increase number of devices
Why someone will waste a Task/Device for a system variable, can't be changed remotely anyway and you can publish from rules. In any case use a $1IO Expansion Board I2C or $1.4 IO Expansion Board I2C that will save you IO on the main board. You can trigger multiple/different GPIO using a single mqtt ...
- 27 Nov 2017, 13:44
- Forum: ESP Easy: Hardware
- Topic: Weird problem with Relay on ESP !!
- Replies: 7
- Views: 6098
Re: Weird problem with Relay on ESP !!
Please take a look at the following thread: Don't use GPIO 9 or 10
Are you using Logic Level Converter(shifter) between relay board and ESP8266?
Regards,
Are you using Logic Level Converter(shifter) between relay board and ESP8266?
Regards,
- 25 Nov 2017, 18:39
- Forum: ESP Easy: Hardware
- Topic: Weird problem with Relay on ESP !!
- Replies: 7
- Views: 6098
Re: Weird problem with Relay on ESP !!
Can you post a picture of your relay board.
Did you pull up or down on GPIO.
Regards,
Did you pull up or down on GPIO.
Regards,
- 24 Nov 2017, 05:51
- Forum: ESP Easy: Software
- Topic: Automated reboot after 1 week (or one month)
- Replies: 2
- Views: 2830
Re: Automated reboot after 1 week (or one month)
Weekly reboot Monday at 2am
Do you have a specific reason to need a reboot?
Regards,
PS. Please take a look at Tutorials for alternate options.
Code: Select all
on Clock#Time=Mon,2:00 do
reboot
endon
Regards,
PS. Please take a look at Tutorials for alternate options.
- 20 Nov 2017, 15:20
- Forum: ESP Easy: Software
- Topic: IF statement on %eventvalue%
- Replies: 16
- Views: 13008
Re: IF statement on %eventvalue%
I use this rule set to pass GPIO # as event argument.
Regards,
Code: Select all
on sniff#a do
event event1=%eventvalue%
endon
on event1 do
pcfpulse %eventvalue%,0,200
endon
- 01 Nov 2017, 23:15
- Forum: ESP Easy: General Discussion
- Topic: 1 <> 1.00 (v2.0.0-dev10)
- Replies: 2
- Views: 2374
1 <> 1.00 (v2.0.0-dev10)
If I test If [dev#port1]=1 "do something" EndIf fail since the dev#port1(Switch input - PCF8574) return 1.00 and there are no way to set the decimal count on config page, see attached image. Use to work on previous versions (AFAIK) dev_port1.png Is this normal behavior for 2.0 version? Reg...
- 23 Oct 2017, 23:16
- Forum: ESP Easy: Software
- Topic: IF statement on %eventvalue%
- Replies: 16
- Views: 13008
Re: IF statement on %eventvalue%
Code: Select all
on testevent do
TaskValueSet 5,4,%eventvalue%
endon
Code: Select all
http://x.x.x.x/control?cmd=event,testevent=3
- 17 Oct 2017, 14:52
- Forum: ESP Easy: General Discussion
- Topic: WPA2 weakness discovered (KRACK)
- Replies: 5
- Views: 5553
- 20 Jun 2017, 12:43
- Forum: ESP Easy: General Discussion
- Topic: Connect ESP to hidden SSID: bug description and workaround
- Replies: 3
- Views: 7749
Re: Connect ESP to hidden SSID: bug description and workaround
I connect only to hidden SSID using both 120 and 2.0.0-dev10-normal
Regards,
Regards,
- 13 Jun 2017, 12:46
- Forum: ESP Easy: Projects / Applications
- Topic: Dew Point with rules
- Replies: 9
- Views: 10856
Re: Dew Point with rules
Base on http://inspectapedia.com/Energy/Dew_Point_Calculation.php Lawrence is saying that for moist air, the dewpoint temperature td will decrease about 1°C for every 5% decrease in RH (starting at td = t, where t = the dry bulb temperature when RH = 100%) From here is just try a schetch to compensa...
- 23 May 2017, 13:40
- Forum: ESP Easy: Software
- Topic: Rules for an autonomous switch for a relay
- Replies: 1
- Views: 2334
Re: Rules for an autonomous switch for a relay
You have to declare a device to be able to read the state, or use a dummy to hold the state. Something like: on pushbutton#g0=1 do if [dummy#d1]=1 // Check dummy value gpio,13,0 gpio,12,0 TaskValueSet 1,1,0 // Set dummy value else gpio,13,1 gpio,12,1 TaskValueSet 1,1,1 // Set dummy value endif endon...
- 23 May 2017, 12:56
- Forum: ESP Easy: Software
- Topic: parse data from simple page [feature request]
- Replies: 5
- Views: 4600
Re: parse data from simple page [feature request]
From *nix use wget and awk to parse the json. wget -qO- http://<device_ip>/json | awk '!/TaskName/ && /: /{x=gsub("[\",]","",$0);gsub(": ","=",$0);print}' If you want to use the variable in your script just use declare. declare $(wget -qO- http://...
- 11 May 2017, 01:25
- Forum: ESP Easy: General Discussion
- Topic: Control of the relay when clicking the button (without network)
- Replies: 11
- Views: 12315
Re: Control of the relay when clicking the button (without network)
Hi Only related , I set this configuration to be able to cycle the relay on System#Boot do / Set boot options gpio,12,1 endon on pushbutton#Switch=0 do / On push button call event/function cycle event cycle endon On Clock#Time=MonTueFri,03:53 do / cron like job event cycle endon on cycle do / set gp...